add alocker to dwm setup

This commit is contained in:
Gerg-L 2024-02-28 21:20:12 -05:00
parent 20533c7a78
commit 5eba8b1cb2
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
2 changed files with 39 additions and 29 deletions

View file

@ -10,7 +10,7 @@ _:
systemd.services = { systemd.services = {
miniflux = { miniflux = {
enable = false; enable = true;
description = "Miniflux service"; description = "Miniflux service";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];

View file

@ -78,9 +78,16 @@
numlockx numlockx
picom picom
sxhkd sxhkd
alock
; ;
}; };
etc."sxhkd/sxhkdrc".text = '' etc = {
"xdg/Xresources".text = ''
ALock*input.frame*input: #74b2ff
ALock*input.frame*check: #36c692
ALock*Input.frame*width: 2
'';
"sxhkd/sxhkdrc".text = ''
XF86AudioPlay XF86AudioPlay
playerctl play-pause playerctl play-pause
XF86AudioPause XF86AudioPause
@ -107,8 +114,11 @@
maim -s | xclip -selection clipboard -t image/png maim -s | xclip -selection clipboard -t image/png
super + ctrl + r super + ctrl + r
pkill -usr1 -x sxhkd pkill -usr1 -x sxhkd
super + ctrl + l
sleep 1 && xset dpms force off && alock
''; '';
}; };
}; };
};
#_file #_file
} }