Migrated to ansible
This commit is contained in:
6
roles/hypr/files/scripts/logout.sh
Executable file
6
roles/hypr/files/scripts/logout.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
HYPRCMDS=$(hyprctl -j clients | jq -j '.[] | "dispatch closewindow address:\(.address); "')
|
||||
|
||||
hyprctl --batch "$HYPRCMDS" >> /tmp/hypr/cexit.log 2>&1
|
||||
hyprctl dispatch exit >> /tmp/hypr/cexit.log 2>&1
|
||||
Reference in New Issue
Block a user