Added and tested script to prepare henrovnix_ok for publishing

This commit is contained in:
2026-02-27 23:05:46 +01:00
parent 8b19518697
commit 33618c1b07
8908 changed files with 3277 additions and 5430 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