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:
parent
4b8edf6b32
commit
db9b7f9695
@ -1 +1 @@
|
||||
Subproject commit b60fad590c638009a6ac89989b4f45882e35135d
|
||||
Subproject commit 624a879ef29b3cb5042a0af9d06a10e37b2b4d19
|
@ -43,7 +43,7 @@ main() {
|
||||
;;
|
||||
--logout)
|
||||
notify-send "Session Control" "Logging Out of dwm"
|
||||
xdotool key Super+Shift_L+q
|
||||
dwm-msg run_command quit 0
|
||||
;;
|
||||
--lock)
|
||||
notify-send "Session Control" "Locking Session"
|
||||
@ -67,7 +67,7 @@ main() {
|
||||
;;
|
||||
--restart)
|
||||
notify-send "Session Control" "Restarting dwm"
|
||||
xdotool key Super+Control_L+Shift_L+q
|
||||
dwm-msg run_command quit 1
|
||||
;;
|
||||
--rofi)
|
||||
rofi_menu
|
||||
|
@ -8928,7 +8928,7 @@ main() {
|
||||
;;
|
||||
--logout)
|
||||
notify-send "Session Control" "Logging Out of dwm"
|
||||
xdotool key Super+Shift_L+q
|
||||
dwm-msg run_command quit 0
|
||||
;;
|
||||
--lock)
|
||||
notify-send "Session Control" "Locking Session"
|
||||
@ -8952,7 +8952,7 @@ main() {
|
||||
;;
|
||||
--restart)
|
||||
notify-send "Session Control" "Restarting dwm"
|
||||
xdotool key Super+Control_L+Shift_L+q
|
||||
dwm-msg run_command quit 1
|
||||
;;
|
||||
--rofi)
|
||||
rofi_menu
|
||||
|
Loading…
x
Reference in New Issue
Block a user