moved hypr scripts

This commit is contained in:
2026-10-02 02:06:46 +02:00
parent 37fb63549e
commit f338147907
22 changed files with 610 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# toggles focus between floating and tiled windows.
# get floating state of active window
floating=$(hyprctl activewindow -j | jq ".floating")
if [ "$floating" = "true" ]; then
# focus tiled
hyprctl dispatch "hl.dsp.window.cycle_next({ tiled = true })"
else
# focus floating
hyprctl dispatch "hl.dsp.window.cycle_next({ floating = true })"
fi