Added script for toggling hyprscrolling vs dwindle
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cur="$(hyprctl getoption general:layout | awk '/str:/ {print $2; exit}')"
|
||||
if [[ "$cur" == "scrolling" ]]; then
|
||||
hyprctl keyword general:layout dwindle
|
||||
else
|
||||
hyprctl keyword general:layout scrolling
|
||||
fi
|
||||
Reference in New Issue
Block a user