hyprland: abstract waybar to $bar variable

This commit is contained in:
Aly Raffauf 2024-03-28 22:43:06 -04:00
parent b9c4ec511d
commit 9cf572a663

View file

@ -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
bind = $mainMod, F11, exec, pkill -SIGUSR1 $bar