Merge Arch config as main #1

Closed
baobeld wants to merge 228 commits from arch(btw) into master
Showing only changes of commit bb41d9ca40 - Show all commits

View file

@ -18,13 +18,13 @@ uptime="$(uptime -p | sed -e 's/up //g')"
host=$(hostname)
# Options
shutdown=' Shutdown'
reboot=' Reboot'
lock=' Lock'
suspend=' Suspend'
logout=' Logout'
yes=' Yes'
no=' No'
shutdown=' Shutdown'
reboot='󰜉 Reboot'
lock=' Lock'
suspend='󰤄 Suspend'
logout='󰍃 Logout'
yes=' Yes'
no=' No'
# Rofi CMD
rofi_cmd() {
@ -70,17 +70,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
elif [[ "$DESKTOP_SESSION" == 'hyprland' ]]; then
hyprctl dispatch exit
fi
hyprctl dispatch exit
fi
else
exit 0