From 90f20351ac51c8561b04f7823629ffb5406332e3 Mon Sep 17 00:00:00 2001 From: The_miro Date: Thu, 12 Jun 2025 23:32:47 +0200 Subject: [PATCH] added help and power menu --- desktopenvs/hyprland/hypr-usr/binds.conf | 2 ++ desktopenvs/hyprland/scripts/helpmenu.sh | 0 desktopenvs/hyprland/scripts/pwr-dmenu.sh | 3 +++ 3 files changed, 5 insertions(+) mode change 100644 => 100755 desktopenvs/hyprland/scripts/helpmenu.sh create mode 100755 desktopenvs/hyprland/scripts/pwr-dmenu.sh diff --git a/desktopenvs/hyprland/hypr-usr/binds.conf b/desktopenvs/hyprland/hypr-usr/binds.conf index 0c07021..800e729 100644 --- a/desktopenvs/hyprland/hypr-usr/binds.conf +++ b/desktopenvs/hyprland/hypr-usr/binds.conf @@ -44,6 +44,8 @@ bind = $mainMod, C, pseudo, # dwindle bind = $mainMod, B, togglesplit, # dwindle bind = $mainMod SHIFT, O, exec, hyprctl dispatch exit 1 bind = $mainMod, O, exec, hyprlock +#power-dmenu +bind = $mainMod ALT, O, exec, /home/themiro/Dotfiles/desktopenvs/hyprland/scripts/pwr-dmenu.sh #bind = $mainMod, A, exec, killall waybar ; waybar bind = $mainMod CTRL, B, exec, eww reload bind = $mainMod, N, exec, nextcloud diff --git a/desktopenvs/hyprland/scripts/helpmenu.sh b/desktopenvs/hyprland/scripts/helpmenu.sh old mode 100644 new mode 100755 diff --git a/desktopenvs/hyprland/scripts/pwr-dmenu.sh b/desktopenvs/hyprland/scripts/pwr-dmenu.sh new file mode 100755 index 0000000..72ada51 --- /dev/null +++ b/desktopenvs/hyprland/scripts/pwr-dmenu.sh @@ -0,0 +1,3 @@ +#!/bin/zsh +echo "poweroff\nreboot\nhyprctl dispatch exit\nhyprlock\nhyprctl reload" | wofi --show=dmenu | zsh +