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)
|
||||
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
|
||||
|
Reference in New Issue
Block a user