Files
Dotfiles/roles/hypr/files/scripts/close_apps.sh
2024-04-02 00:59:42 +02:00

6 lines
162 B
Bash
Executable File

#!/bin/bash
HYPRCMDS=$(hyprctl -j clients | jq -j '.[] | "dispatch closewindow address:\(.address); "')
hyprctl --batch "$HYPRCMDS" >> /tmp/hypr/cexit.log 2>&1