zenix: add hypridle and hyprlock, and format

This commit is contained in:
tristan 2024-07-30 02:23:39 +01:00
parent c4abd3ddf0
commit ce02fb7bee
11 changed files with 86 additions and 17 deletions

View file

@ -33,6 +33,7 @@
# other
nheko
cinny-desktop
brave
vieb
bitwarden

View file

@ -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

View file

@ -34,8 +34,8 @@ in {
];
home.sessionVariables = {
CYPRESS_INSTALL_BINARY=0;
CYPRESS_RUN_BINARY="${pkgs.cypress}/bin/Cypress";
CYPRESS_INSTALL_BINARY = 0;
CYPRESS_RUN_BINARY = "${pkgs.cypress}/bin/Cypress";
};
gtk.gtk3.bookmarks = [