Vendor the command set the menu and shell depend on

This commit is contained in:
2026-09-19 23:57:12 -04:00
parent 9501f2bb4d
commit c5434026a8
179 changed files with 12414 additions and 54 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
# blob:summary=Toggle tiled fullscreen for the focused Hyprland window
set -euo pipefail
active=$(hyprctl activewindow -j)
fullscreen_client=$(jq -r '.fullscreenClient // 0' <<<"$active")
if [[ $fullscreen_client == "2" ]]; then
hyprctl dispatch 'hl.dsp.window.fullscreen_state({ internal = 0, client = 0 })' >/dev/null 2>&1 || \
hyprctl dispatch fullscreenstate 0 0 >/dev/null
else
hyprctl dispatch 'hl.dsp.window.fullscreen_state({ internal = 0, client = 2 })' >/dev/null 2>&1 || \
hyprctl dispatch fullscreenstate 0 2 >/dev/null
fi