aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.local/bin/cycle-layout
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-06 10:14:33 -0600
committerCraig Jennings <c@cjennings.net>2026-02-06 10:14:33 -0600
commitffa2a7b46e8fea13c3cd4ad4f11b60d7ca99e1d8 (patch)
treeacd92fa3d8525012c45b319051910f27becff9f8 /dotfiles/hyprland/.local/bin/cycle-layout
parentbfd25b28b62fad9faa5e09a9f81e84d0d8097dbd (diff)
downloadarchsetup-ffa2a7b46e8fea13c3cd4ad4f11b60d7ca99e1d8.tar.gz
archsetup-ffa2a7b46e8fea13c3cd4ad4f11b60d7ca99e1d8.zip
feat(hyprland): waybar scratchpad toggles, remove hy3, fix cursor warp
Waybar modules now toggle pyprland scratchpads on click: sysmonitor group opens btop, netspeed opens nmtui, pulseaudio opens pulsemixer. Consolidated pyprland config to canonical ~/.config/pypr/config.toml. Removed hy3 plugin from all configs and scripts (disabled since crash). Added $mod+N for network scratchpad. Set cursor:no_warps to prevent cursor jumping to window center on focus change.
Diffstat (limited to 'dotfiles/hyprland/.local/bin/cycle-layout')
-rwxr-xr-xdotfiles/hyprland/.local/bin/cycle-layout7
1 files changed, 1 insertions, 6 deletions
diff --git a/dotfiles/hyprland/.local/bin/cycle-layout b/dotfiles/hyprland/.local/bin/cycle-layout
index ebfd2e0..a632142 100755
--- a/dotfiles/hyprland/.local/bin/cycle-layout
+++ b/dotfiles/hyprland/.local/bin/cycle-layout
@@ -1,6 +1,6 @@
#!/bin/sh
# Cycle through Hyprland layouts
-# Cycle: master -> hy3 (tab/monocle) -> scrolling -> floating -> master
+# Cycle: master -> scrolling -> floating -> master
LAYOUT=$(hyprctl getoption general:layout -j | jq -r '.str')
FLOATING=$(hyprctl activewindow -j 2>/dev/null | jq -r '.floating // false')
@@ -8,11 +8,6 @@ FLOATING=$(hyprctl activewindow -j 2>/dev/null | jq -r '.floating // false')
# Check if we're in "all floating" mode by checking layout
case "$LAYOUT" in
master)
- hyprctl keyword general:layout hy3
- # Create tab group for monocle behavior
- hyprctl dispatch hy3:changegroup tab
- ;;
- hy3)
hyprctl keyword general:layout scrolling
;;
scrolling)