From 2d75b3ea4dc6d58b476e9ca435639cf5a6dacd60 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 7 Mar 2026 11:18:18 -0600 Subject: feat(hyprland): add monocle layout support, fix scrolling keybindings Add monocle to layout cycle and waybar indicator. Fix scrolling layout move (swapwindow) and resize (resizeactive). Add layout-resize script. --- dotfiles/hyprland/.local/bin/waybar-layout | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dotfiles/hyprland/.local/bin/waybar-layout') diff --git a/dotfiles/hyprland/.local/bin/waybar-layout b/dotfiles/hyprland/.local/bin/waybar-layout index 1750eff..083e9ef 100755 --- a/dotfiles/hyprland/.local/bin/waybar-layout +++ b/dotfiles/hyprland/.local/bin/waybar-layout @@ -1,7 +1,7 @@ #!/bin/sh # Hyprland layout indicator for waybar # Shows current layout with nerd font icons -# Layouts: master -> scrolling -> floating +# Layouts: master -> scrolling -> monocle -> floating # Check if hyprctl is reachable if ! hyprctl version >/dev/null 2>&1; then @@ -22,6 +22,9 @@ if [ "$LAYOUT" = "master" ] && echo "$WSRULES" | grep -q "allfloat"; then elif [ "$LAYOUT" = "scrolling" ]; then ICON="󰯍" TOOLTIP="Scrolling" +elif [ "$LAYOUT" = "monocle" ]; then + ICON="󰊓" + TOOLTIP="Monocle" elif [ "$LAYOUT" = "master" ]; then ICON="󰕰" TOOLTIP="Master" -- cgit v1.2.3