summaryrefslogtreecommitdiff
path: root/arch/hyprland/.config
diff options
context:
space:
mode:
Diffstat (limited to 'arch/hyprland/.config')
-rw-r--r--arch/hyprland/.config/hypr/hyprland.conf1
-rw-r--r--arch/hyprland/.config/hypr/windowrules.conf22
2 files changed, 23 insertions, 0 deletions
diff --git a/arch/hyprland/.config/hypr/hyprland.conf b/arch/hyprland/.config/hypr/hyprland.conf
index 65c7338..33ba711 100644
--- a/arch/hyprland/.config/hypr/hyprland.conf
+++ b/arch/hyprland/.config/hypr/hyprland.conf
@@ -84,3 +84,4 @@ exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = eww daemon && eww open bar
exec-once = bash -c 'sleep 0.5; [ -f ~/.cache/wallust/last-wallpaper ] && ~/.local/bin/set-wallpaper "$(cat ~/.cache/wallust/last-wallpaper)"'
exec-once = spicetify watch -s
+exec-once = wl-paste --watch cliphist
diff --git a/arch/hyprland/.config/hypr/windowrules.conf b/arch/hyprland/.config/hypr/windowrules.conf
index 6778846..dc04c62 100644
--- a/arch/hyprland/.config/hypr/windowrules.conf
+++ b/arch/hyprland/.config/hypr/windowrules.conf
@@ -60,3 +60,25 @@ windowrule {
match:fullscreen = true
idle_inhibit = fullscreen
}
+
+# ── Smart gaps ───────────────────────────────────────────────────────────────
+workspace = w[tv1]s[false], gapsout:0, gapsin:0
+workspace = f[1]s[false], gapsout:0, gapsin:0
+
+windowrule {
+ name = no-gaps-single
+ match:float = false
+ match:workspace = w[tv1]s[false]
+ border_size = 0
+ rounding = 0
+ no_shadow = false
+}
+
+windowrule {
+ name = no-gaps-fullscreen
+ match:float = false
+ match:workspace = f[1]s[false]
+ border_size = 0
+ rounding = 0
+ no_shadow = false
+}