This commit is contained in:
Hadi
2024-10-07 10:13:21 +02:00
parent 905cc9a885
commit ab65fe342b
75 changed files with 132 additions and 436 deletions

View File

@@ -27,9 +27,9 @@ let
# bash
''
if [ -f /tmp/hyprfocus ]; then
hyprfocus-kill
hyprfocus-off
else
hyprfocus
hyprfocus-on
fi
'';
in { home.packages = [ hyprfocus-on hyprfocus-off hyprfocus-toggle ]; }

View File

@@ -10,11 +10,7 @@ let
'';
powermenu = pkgs.writeShellScriptBin "powermenu" ''
if pgrep wlogout; then
pkill wlogout
else
${pkgs.wlogout}/bin/wlogout
fi
hyprpanel -t powerdropdownmenu
'';
lock = pkgs.writeShellScriptBin "lock" ''