This commit is contained in:
Dmitri 2026-03-10 09:02:49 +01:00
parent 44ef50f605
commit e5f49e1065
Signed by: kanopo
GPG Key ID: 759ADD40E3132AC7
2 changed files with 9 additions and 8 deletions

View File

@ -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
#################
@ -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

View File

@ -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