From 0f36b0198006d9deddf88c7627ecbe4a7c9ba57a Mon Sep 17 00:00:00 2001 From: Mutzi Date: Tue, 31 Jan 2023 16:30:39 +0100 Subject: [PATCH] Made Launcher-Launcher single column --- awesome/rofi/launcher_launcher.sh | 3 ++- awesome/rofi/powermenu.sh | 10 +--------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/awesome/rofi/launcher_launcher.sh b/awesome/rofi/launcher_launcher.sh index 5875ef7..30a0666 100755 --- a/awesome/rofi/launcher_launcher.sh +++ b/awesome/rofi/launcher_launcher.sh @@ -11,7 +11,8 @@ rofi_cmd() { rofi -dmenu \ -window-title "Launcher" \ -i \ - -theme $HOME/.config/awesome/rofi/launcher_launcher.rasi + -theme $HOME/.config/awesome/rofi/launcher_launcher.rasi \ + -theme-str 'listview {columns: 1;}' } # Pass variables to rofi dmenu diff --git a/awesome/rofi/powermenu.sh b/awesome/rofi/powermenu.sh index 4ba27e3..ed34cb9 100755 --- a/awesome/rofi/powermenu.sh +++ b/awesome/rofi/powermenu.sh @@ -66,15 +66,7 @@ run_cmd() { amixer set Master mute systemctl suspend elif [[ $1 == '--logout' ]]; then - if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then - i3-msg exit - elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then - qdbus org.kde.ksmserver /KSMServer logout 0 0 0 - fi + awesome-client 'awesome.quit()' fi else exit 0