Improved lock module
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
configuration {
|
||||
font: "Inter Regular 10";
|
||||
font: "Inter Regular 25";
|
||||
show-icons: true;
|
||||
icon-theme: "Papirus";
|
||||
drun-display-format: "{name}";
|
||||
@ -31,8 +31,8 @@ window {
|
||||
anchor: southwest;
|
||||
x-offset: 4px;
|
||||
y-offset: -50px;
|
||||
height: 500px;
|
||||
width: 400px;
|
||||
height: 800px;
|
||||
width: 800px;
|
||||
orientation: vertical;
|
||||
border-radius: 5px;
|
||||
}
|
||||
@ -44,7 +44,7 @@ prompt {
|
||||
button {
|
||||
action: "ok";
|
||||
str: " ";
|
||||
font: "FantasqueSansMono Nerd Font 11";
|
||||
font: "FantasqueSansMono Nerd Font 25";
|
||||
expand: false;
|
||||
text-color: @foreground;
|
||||
background-color: @transparent;
|
||||
@ -53,7 +53,7 @@ button {
|
||||
}
|
||||
|
||||
entry {
|
||||
font: "Inter Regular 11";
|
||||
font: "Inter Regular 25";
|
||||
background-color: @transparent;
|
||||
text-color: @foreground;
|
||||
expand: true;
|
||||
|
BIN
modules/lock/arch.png
Normal file
BIN
modules/lock/arch.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 58 KiB |
3
modules/lock/dm-tool.bash
Executable file
3
modules/lock/dm-tool.bash
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
dm-tool lock
|
@ -1,9 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
icon=$1
|
||||
icon="./arch.png"
|
||||
tmpbg="/tmp/lockscreen.png"
|
||||
tmpic="/tmp/lockscreenicon.png"
|
||||
#(( $# )) && { icon=$1; }
|
||||
|
||||
scrot --overwrite "$tmpbg"
|
||||
convert "$icon" -scale 25% "$tmpic"
|
@ -1,11 +1,11 @@
|
||||
local script = conf_dir .. "modules/i3lock/lock.fish"
|
||||
script = script .. " "
|
||||
|
||||
return {
|
||||
keybinds = gears.table.join(
|
||||
awful.key( {"Mod4"}, "l",
|
||||
function ()
|
||||
awful.spawn(script .. beautiful.icons.lockicon, false)
|
||||
awful.spawn(
|
||||
conf_dir .. "modules/lock/" .. config.lock.type .. ".bash",
|
||||
false
|
||||
)
|
||||
end,
|
||||
|
||||
{
|
Reference in New Issue
Block a user