zenix: add hypridle and hyprlock, and format
This commit is contained in:
parent
c4abd3ddf0
commit
ce02fb7bee
11 changed files with 86 additions and 17 deletions
|
|
@ -12,7 +12,6 @@
|
|||
grim = "${pkgs.grim}/bin/grim";
|
||||
slurp = "${pkgs.slurp}/bin/slurp";
|
||||
amixer = "${pkgs.alsa-utils}/bin/amixer";
|
||||
swaybg = "${pkgs.swaybg}/bin/swaybg";
|
||||
chafa = "${pkgs.chafa}/bin/chafa";
|
||||
exiftool = "${pkgs.exiftool}/bin/exiftool";
|
||||
wc = "${pkgs.coreutils}/bin/wc";
|
||||
|
|
@ -25,6 +24,7 @@
|
|||
gawk = "${pkgs.gawk}/bin/awk";
|
||||
hyprpicker = "${pkgs.hyprpicker}/bin/hyprpicker";
|
||||
sed = "${pkgs.gnused}/bin/sed";
|
||||
lock = "${pkgs.hyprlock}/bin/hyprlock";
|
||||
};
|
||||
in {
|
||||
programs.scripts = [
|
||||
|
|
@ -279,7 +279,7 @@ in {
|
|||
sleep
|
||||
hibernate" | ${my-deps.menu})
|
||||
case $res in
|
||||
lock) swaylock;;
|
||||
lock) ${my-deps.lock};;
|
||||
sleep) systemctl suspend;;
|
||||
hibernate) systemctl hibernate;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue