dwm-msg for session control
- Update dwm-flexipatch submodule - Replace xdotool commands with dwm-msg commands for controlling dwm quit and restart
This commit is contained in:
Submodule .config/dwm-flexipatch updated: b60fad590c...624a879ef2
@@ -43,7 +43,7 @@ main() {
|
|||||||
;;
|
;;
|
||||||
--logout)
|
--logout)
|
||||||
notify-send "Session Control" "Logging Out of dwm"
|
notify-send "Session Control" "Logging Out of dwm"
|
||||||
xdotool key Super+Shift_L+q
|
dwm-msg run_command quit 0
|
||||||
;;
|
;;
|
||||||
--lock)
|
--lock)
|
||||||
notify-send "Session Control" "Locking Session"
|
notify-send "Session Control" "Locking Session"
|
||||||
@@ -67,7 +67,7 @@ main() {
|
|||||||
;;
|
;;
|
||||||
--restart)
|
--restart)
|
||||||
notify-send "Session Control" "Restarting dwm"
|
notify-send "Session Control" "Restarting dwm"
|
||||||
xdotool key Super+Control_L+Shift_L+q
|
dwm-msg run_command quit 1
|
||||||
;;
|
;;
|
||||||
--rofi)
|
--rofi)
|
||||||
rofi_menu
|
rofi_menu
|
||||||
|
@@ -8928,7 +8928,7 @@ main() {
|
|||||||
;;
|
;;
|
||||||
--logout)
|
--logout)
|
||||||
notify-send "Session Control" "Logging Out of dwm"
|
notify-send "Session Control" "Logging Out of dwm"
|
||||||
xdotool key Super+Shift_L+q
|
dwm-msg run_command quit 0
|
||||||
;;
|
;;
|
||||||
--lock)
|
--lock)
|
||||||
notify-send "Session Control" "Locking Session"
|
notify-send "Session Control" "Locking Session"
|
||||||
@@ -8952,7 +8952,7 @@ main() {
|
|||||||
;;
|
;;
|
||||||
--restart)
|
--restart)
|
||||||
notify-send "Session Control" "Restarting dwm"
|
notify-send "Session Control" "Restarting dwm"
|
||||||
xdotool key Super+Control_L+Shift_L+q
|
dwm-msg run_command quit 1
|
||||||
;;
|
;;
|
||||||
--rofi)
|
--rofi)
|
||||||
rofi_menu
|
rofi_menu
|
||||||
|
Reference in New Issue
Block a user