aboutsummaryrefslogtreecommitdiff
path: root/env/.config/hypr
diff options
context:
space:
mode:
Diffstat (limited to 'env/.config/hypr')
-rwxr-xr-xenv/.config/hypr/cycle-layout.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/env/.config/hypr/cycle-layout.sh b/env/.config/hypr/cycle-layout.sh
index 8b7314f..8799c5a 100755
--- a/env/.config/hypr/cycle-layout.sh
+++ b/env/.config/hypr/cycle-layout.sh
@@ -1,4 +1,6 @@
-if [ -z $(hyprctl getoption general:layout | grep master ) ]; then
+#!/bin/bash
+
+if [ -z "$(hyprctl getoption general:layout | grep master )" ]; then
hyprctl keyword general:layout master
else
hyprctl keyword general:layout dwindle