From e5f49e1065b560f70d5a9f5b5e6406e572d510be Mon Sep 17 00:00:00 2001 From: Dmitri Date: Tue, 10 Mar 2026 09:02:49 +0100 Subject: [PATCH] init --- hypr/hyprland.conf | 5 +++-- hypr/powermenu.sh | 12 ++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index c47aa3e..c363fad 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -41,7 +41,7 @@ monitor=,preferred,auto,auto # Set programs that you use $terminal = foot $fileManager = nautilus -$menu = hyprlauncher +$menu = wofi -S drun -p Search -I -b -i ################# @@ -242,7 +242,7 @@ device { $mainMod = SUPER # Sets "Windows" key as main modifier # Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more -bind = $mainMod, Return, exec, $terminal +bind = $mainMod, Return, exec, $terminal bind = $mainMod SHIFT, Q, killactive, # bind = $mainMod, M, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit # bind = $mainMod, E, exec, $fileManager @@ -436,6 +436,7 @@ exec-once = hyprsunset exec-once = systemctl --user start hyprpolkitagent exec-once = waybar exec-once = nm-applet --indicator +exec-once = blueman-applet exec-once = --no-startup-id easyeffects --gapplication-service exec-once = nextcloud --background exec-once = keepassxc diff --git a/hypr/powermenu.sh b/hypr/powermenu.sh index 0c9a5d8..29a6e8e 100755 --- a/hypr/powermenu.sh +++ b/hypr/powermenu.sh @@ -1,18 +1,18 @@ #!/bin/sh -choice=$(echo -e "Lock\nLogout\nReboot\nShutdown" | hyprlauncher -m) -case "$choice" in - Lock) +choice=$(echo -e "Lock\nLogout\nReboot\nShutdown" | wofi --dmenu --hide-search --lines 4 --hide-scroll --width 100) +case "$(echo "$choice" | tr '[:upper:]' '[:lower:]')" in + lock) hyprlock ;; - Logout) + logout) # hyprctl dispatch exit command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit ;; - Reboot) + reboot) systemctl reboot ;; - Shutdown) + shutdown) systemctl poweroff ;; esac