502 current 2024-04-28 21:34:01 24.05.20240428.30ddacc 6.8.6-zen1 *

This commit is contained in:
zackartz 2024-04-28 21:34:12 -04:00
parent 48e6592600
commit bfbb2316b3
No known key found for this signature in database
GPG key ID: 5B53E53A9A514DBA
9 changed files with 201 additions and 12 deletions

View file

@ -19,6 +19,7 @@ in {
../rice/kitty.nix
# ../rice/waybar
# ../rice/dunst.nix
../rice/anyrun
../rice/rio.nix
../rice/wofi.nix
../shell
@ -101,6 +102,17 @@ in {
git push origin main
popd
'')
(pkgs.writeShellScriptBin "powermenu" ''
chosen=$(printf " Power Off\n Restart\n Suspend\n Lock\n󰍃 Log Out" | anyrun --plugins libstdin.so --show-results-immediately true)
case "$chosen" in
" Power Off") systemctl poweroff;;
" Restart") systemctl reboot;;
" Lock") swaylock;;
"󰍃 Log Out") hyprctl dispatch exit;;
*) exit 1 ;;
esac
'')
];
home.sessionVariables = {