mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 05:53:56 -05:00
hyprland: abstract waybar to $bar variable
This commit is contained in:
parent
b9c4ec511d
commit
9cf572a663
|
@ -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
|
Loading…
Reference in a new issue