502 current 2024-04-28 21:34:01 24.05.20240428.30ddacc 6.8.6-zen1 *
This commit is contained in:
parent
48e6592600
commit
bfbb2316b3
9 changed files with 201 additions and 12 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue