mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
add alocker to dwm setup
This commit is contained in:
parent
20533c7a78
commit
5eba8b1cb2
2 changed files with 39 additions and 29 deletions
|
|
@ -10,7 +10,7 @@ _:
|
|||
|
||||
systemd.services = {
|
||||
miniflux = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
|
||||
description = "Miniflux service";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
|
|
|||
|
|
@ -78,9 +78,16 @@
|
|||
numlockx
|
||||
picom
|
||||
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
|
||||
playerctl play-pause
|
||||
XF86AudioPause
|
||||
|
|
@ -107,8 +114,11 @@
|
|||
maim -s | xclip -selection clipboard -t image/png
|
||||
super + ctrl + r
|
||||
pkill -usr1 -x sxhkd
|
||||
super + ctrl + l
|
||||
sleep 1 && xset dpms force off && alock
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
#_file
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue