This commit is contained in:
Hadi
2024-08-29 14:29:05 +02:00
parent 90e8d5577e
commit 55a5c52c51
21 changed files with 139 additions and 1178 deletions

View File

@@ -0,0 +1,24 @@
{ pkgs, ... }:
let
menu = pkgs.writeShellScriptBin "menu" ''
if pgrep wofi; then
pkill wofi
else
wofi --show drun
fi
'';
powermenu = pkgs.writeShellScriptBin "powermenu" ''
if pgrep wlogout; then
pkill wlogout
else
${pkgs.wlogout}/bin/wlogout
fi
'';
lock = pkgs.writeShellScriptBin "lock" ''
${pkgs.hyprlock}/bin/hyprlock
'';
in { home.packages = [ menu powermenu lock ]; }