mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53: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 = {
|
systemd.services = {
|
||||||
miniflux = {
|
miniflux = {
|
||||||
enable = false;
|
enable = true;
|
||||||
|
|
||||||
description = "Miniflux service";
|
description = "Miniflux service";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue