From d6839bac02605744c3fe242c391adeca624811da Mon Sep 17 00:00:00 2001 From: The_miro Date: Tue, 21 Oct 2025 19:23:09 +0200 Subject: [PATCH] pwr-dmenu now reads from frequentcommands.list --- .../hyprland/scripts/frequentcommands.list | 16 ++++++++++++++++ desktopenvs/hyprland/scripts/pwr-dmenu.sh | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 desktopenvs/hyprland/scripts/frequentcommands.list diff --git a/desktopenvs/hyprland/scripts/frequentcommands.list b/desktopenvs/hyprland/scripts/frequentcommands.list new file mode 100644 index 0000000..20548d7 --- /dev/null +++ b/desktopenvs/hyprland/scripts/frequentcommands.list @@ -0,0 +1,16 @@ +poweroff +hyprctl kill +reboot +systemctl soft-reboot +systemctl suspend-then-hibernate +systemctl hibernate +systemctl sleep +systemctl restart fprintd.service +systemctl hybrid-sleep +hyprctl dispatch exit +hyprlock +hyprctl reload +kitty ~/Dotfiles/desktopenvs/hyprland/scripts/helpmenu.sh +kitty nvim ~/.config/binds.conf +~/Dotfiles/desktopenvs/hyprland/scripts/caffeine.sh + diff --git a/desktopenvs/hyprland/scripts/pwr-dmenu.sh b/desktopenvs/hyprland/scripts/pwr-dmenu.sh index 3a1ad00..70b8153 100755 --- a/desktopenvs/hyprland/scripts/pwr-dmenu.sh +++ b/desktopenvs/hyprland/scripts/pwr-dmenu.sh @@ -1,3 +1,3 @@ #!/bin/zsh -echo "poweroff\nhyprctl kill\nreboot\nsystemctl soft-reboot\nsystemctl suspend-then-hibernate\nsystemctl hibernate\nsystemctl sleep\nsystemctl restart fprintd.service\nsystemctl hybrid-sleep\nhyprctl dispatch exit\nhyprlock\nhyprctl reload\nkitty ~/Dotfiles/desktopenvs/hyprland/scripts/helpmenu.sh\nkitty nvim ~/.config/binds.conf\n" | wofi --show=dmenu | zsh +cat ~/Dotfiles/desktopenvs/hyprland/scripts/frequentcommands.list | wofi --show=dmenu | zsh