From 9cf572a663d08b2e970bd645a1c1531988018de0 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 28 Mar 2024 22:43:06 -0400 Subject: [PATCH] hyprland: abstract waybar to $bar variable --- homeManagerModules/desktopEnv/hypr/hyprland.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/homeManagerModules/desktopEnv/hypr/hyprland.conf b/homeManagerModules/desktopEnv/hypr/hyprland.conf index 2f0758f4..266e12f7 100644 --- a/homeManagerModules/desktopEnv/hypr/hyprland.conf +++ b/homeManagerModules/desktopEnv/hypr/hyprland.conf @@ -45,6 +45,7 @@ $terminal = alacritty $fileManager = thunar $menu = fuzzel $browser = firefox +$bar = waybar # Some default env vars. env = XCURSOR_SIZE,24 @@ -100,8 +101,8 @@ decoration { dim_special = 0.5 - layerrule = blur, waybar - layerrule = ignorezero, waybar + layerrule = blur, $bar + layerrule = ignorezero, $bar layerrule = blur, launcher @@ -253,4 +254,4 @@ bind = , xf86launch2, exec, playerctl play-pause bind = , PRINT, exec, hyprshot -m output -o ~/Pictures/Screenshots # Show/hide waybar. -bind = $mainMod, F11, exec, pkill -SIGUSR1 waybar \ No newline at end of file +bind = $mainMod, F11, exec, pkill -SIGUSR1 $bar \ No newline at end of file