7 Commits

Author SHA1 Message Date
megvadulthangya 931411661d Merge 8a35286e19 into 093c1a79f5 2025-09-27 21:19:15 +00:00
megvadulthangya 8a35286e19 add AwesomeWM logout support
The powermenu script did not handle AwesomeWM sessions for the logout option.  
This commit adds proper support by calling `awesome-client "awesome.quit()"`  
when the `$DESKTOP_SESSION` is set to `awesome`.
2025-09-27 23:05:41 +02:00
megvadulthangya 0751015425 add AwesomeWM logout support
The powermenu script did not handle AwesomeWM sessions for the logout option.  
This commit adds proper support by calling `awesome-client "awesome.quit()"`  
when the `$DESKTOP_SESSION` is set to `awesome`.
2025-09-27 23:04:53 +02:00
megvadulthangya a24dbdfc11 add AwesomeWM logout support
The powermenu script did not handle AwesomeWM sessions for the logout option.  
This commit adds proper support by calling `awesome-client "awesome.quit()"`  
when the `$DESKTOP_SESSION` is set to `awesome`.
2025-09-27 23:04:07 +02:00
megvadulthangya 92373551b2 add AwesomeWM logout support
The powermenu script did not handle AwesomeWM sessions for the logout option.  
This commit adds proper support by calling `awesome-client "awesome.quit()"`  
when the `$DESKTOP_SESSION` is set to `awesome`.
2025-09-27 23:03:15 +02:00
megvadulthangya b3387b5ed4 add AwesomeWM logout support
The powermenu script did not handle AwesomeWM sessions for the logout option.  
This commit adds proper support by calling `awesome-client "awesome.quit()"`  
when the `$DESKTOP_SESSION` is set to `awesome`.
2025-09-27 23:02:22 +02:00
megvadulthangya f53633bd08 add AwesomeWM logout support
The powermenu script did not handle AwesomeWM sessions for the logout option.  
This commit adds proper support by calling `awesome-client "awesome.quit()"`  
when the `$DESKTOP_SESSION` is set to `awesome`.
2025-09-27 23:01:30 +02:00
6 changed files with 12 additions and 0 deletions
+2
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" == 'awesome' ]]; then
awesome-client "awesome.quit()"
fi fi
fi fi
else else
+2
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" == 'awesome' ]]; then
awesome-client "awesome.quit()"
fi fi
fi fi
else else
+2
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" == 'awesome' ]]; then
awesome-client "awesome.quit()"
fi fi
fi fi
else else
+2
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" == 'awesome' ]]; then
awesome-client "awesome.quit()"
fi fi
fi fi
else else
+2
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" == 'awesome' ]]; then
awesome-client "awesome.quit()"
fi fi
fi fi
else else
+2
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" == 'awesome' ]]; then
awesome-client "awesome.quit()"
fi fi
fi fi
else else