Merge be8793e497299fd3e0a615d54d06712dcbf62153 into 9b30e722ea8069c9a07cfc7554f0a016d5ca0421

This commit is contained in:
Uriel 2023-06-02 20:57:00 +02:00 committed by GitHub
commit 58f0c01031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 17 additions and 5 deletions

View File

@ -15,4 +15,4 @@
/* Import color-scheme from `colors` directory */ /* Import color-scheme from `colors` directory */
@import "~/.config/rofi/colors/onedark.rasi" @import "~/.config/rofi/colors/catppuccin.rasi"

View File

@ -1,4 +1,4 @@
## Current Theme ## Current Theme
type="$HOME/.config/rofi/applets/type-1" type="$HOME/.config/rofi/applets/type-3"
style='style-1.rasi' style='style-2.rasi'

View File

@ -11,7 +11,7 @@
## style-6 style-7 style-8 style-9 style-10 ## style-6 style-7 style-8 style-9 style-10
dir="$HOME/.config/rofi/launchers/type-7" dir="$HOME/.config/rofi/launchers/type-7"
theme='style-1' theme='style-2'
## Run ## Run
rofi \ rofi \

View File

@ -78,6 +78,8 @@ run_cmd() {
i3-msg exit i3-msg exit
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
qdbus org.kde.ksmserver /KSMServer logout 0 0 0 qdbus org.kde.ksmserver /KSMServer logout 0 0 0
elif [[ "$DESKTOP_SESSION" == 'qtile' ]]; then
qtile cmd-obj -o cmd -f shutdown
fi fi
fi fi
else else

View File

@ -79,6 +79,8 @@ run_cmd() {
i3-msg exit i3-msg exit
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
qdbus org.kde.ksmserver /KSMServer logout 0 0 0 qdbus org.kde.ksmserver /KSMServer logout 0 0 0
elif [[ "$DESKTOP_SESSION" == 'qtile' ]]; then
qtile cmd-obj -o cmd -f shutdown
fi fi
fi fi
else else

View File

@ -11,7 +11,7 @@
# Current Theme # Current Theme
dir="$HOME/.config/rofi/powermenu/type-3" dir="$HOME/.config/rofi/powermenu/type-3"
theme='style-1' theme='style-5'
# CMDs # CMDs
uptime="`uptime -p | sed -e 's/up //g'`" uptime="`uptime -p | sed -e 's/up //g'`"
@ -73,6 +73,8 @@ run_cmd() {
i3-msg exit i3-msg exit
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
qdbus org.kde.ksmserver /KSMServer logout 0 0 0 qdbus org.kde.ksmserver /KSMServer logout 0 0 0
elif [[ "$DESKTOP_SESSION" == 'qtile' ]]; then
qtile cmd-obj -o cmd -f shutdown
fi fi
fi fi
else else

View File

@ -73,6 +73,8 @@ run_cmd() {
i3-msg exit i3-msg exit
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
qdbus org.kde.ksmserver /KSMServer logout 0 0 0 qdbus org.kde.ksmserver /KSMServer logout 0 0 0
elif [[ "$DESKTOP_SESSION" == 'qtile' ]]; then
qtile cmd-obj -o cmd -f shutdown
fi fi
fi fi
else else

View File

@ -82,6 +82,8 @@ run_cmd() {
i3-msg exit i3-msg exit
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
qdbus org.kde.ksmserver /KSMServer logout 0 0 0 qdbus org.kde.ksmserver /KSMServer logout 0 0 0
elif [[ "$DESKTOP_SESSION" == 'qtile' ]]; then
qtile cmd-obj -o cmd -f shutdown
fi fi
fi fi
else else

View File

@ -82,6 +82,8 @@ run_cmd() {
i3-msg exit i3-msg exit
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
qdbus org.kde.ksmserver /KSMServer logout 0 0 0 qdbus org.kde.ksmserver /KSMServer logout 0 0 0
elif [[ "$DESKTOP_SESSION" == 'qtile' ]]; then
qtile cmd-obj -o cmd -f shutdown
fi fi
fi fi
else else