add descriptions to keybinds and exclude special windows from close-all-windows keybind
This commit is contained in:
9
dot_local/bin/executable_close-non-special-windows
Normal file
9
dot_local/bin/executable_close-non-special-windows
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Close all open windows that aren't in special:* workspaces
|
||||
hyprctl clients -j |
|
||||
jq -r '.[] | select(.workspace.name | startswith("special:") | not) | .address' |
|
||||
xargs -I{} hyprctl dispatch closewindow address:{}
|
||||
|
||||
# Move to first workspace
|
||||
hyprctl dispatch workspace 1
|
Reference in New Issue
Block a user