Made Launcher-Launcher single column

This commit is contained in:
Mutzi 2023-01-31 16:30:39 +01:00
parent 21695af39b
commit 0f36b01980
2 changed files with 3 additions and 10 deletions

View File

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

View File

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