This commit is contained in:
commit
95a533c876
451 changed files with 18255 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
(pkgs.writeShellScriptBin "powermenu-bemenu" ''
|
||||
case $(echo -e "shutdown\nreboot\nlock\nkill" | bemenu -p "") in
|
||||
shutdown) systemctl poweroff ;;
|
||||
reboot) systemctl reboot ;;
|
||||
lock) "${config.programs.hyprlock.package}/bin/hyprlock" ;;
|
||||
kill) hyprctl dispatch exit ;;
|
||||
esac
|
||||
'')
|
||||
Loading…
Add table
Add a link
Reference in a new issue