diff --git a/bin/omarchy-cmd-close-all-windows b/bin/omarchy-cmd-close-all-windows new file mode 100755 index 00000000..e53fec6a --- /dev/null +++ b/bin/omarchy-cmd-close-all-windows @@ -0,0 +1,9 @@ +#!/bin/bash + +# Close all open windows +hyprctl clients -j | \ + jq -r ".[].address" | \ + xargs -I{} hyprctl dispatch closewindow address:{} + +# Move to first workspace +hyprctl dispatch workspace 1 diff --git a/default/hypr/bindings/tiling.conf b/default/hypr/bindings/tiling.conf index 6d41a0ea..8379ad74 100644 --- a/default/hypr/bindings/tiling.conf +++ b/default/hypr/bindings/tiling.conf @@ -1,5 +1,6 @@ -# Close window +# Close windows bindd = SUPER, W, Close active window, killactive, +bindd = CTRL ALT, DELETE, Close all Windows, exec, omarchy-cmd-close-all-windows # Control tiling bindd = SUPER, J, Toggle split, togglesplit, # dwindle