In between commit, started on reworking README.org, stopped at line 1245

This commit is contained in:
2026-03-01 22:35:22 +01:00
parent 080828620b
commit 1fc17fe2cd
77 changed files with 4204 additions and 22 deletions
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
cur="$(hyprctl getoption general:layout 2>/dev/null | awk '/str:/ {print $2; exit}')"
if [[ "$cur" == "scrolling" ]]; then
new="dwindle"
else
new="scrolling"
fi
hyprctl keyword general:layout "$new" >/dev/null
msg="Hyprland layout: $new"
echo "$msg"
# Show a notification if possible
if command -v notify-send >/dev/null 2>&1; then
notify-send -a Hyprland "Layout switched" "$msg"
fi