mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 11:13:54 -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
|
$fileManager = thunar
|
||||||
$menu = fuzzel
|
$menu = fuzzel
|
||||||
$browser = firefox
|
$browser = firefox
|
||||||
|
$bar = waybar
|
||||||
|
|
||||||
# Some default env vars.
|
# Some default env vars.
|
||||||
env = XCURSOR_SIZE,24
|
env = XCURSOR_SIZE,24
|
||||||
|
@ -100,8 +101,8 @@ decoration {
|
||||||
|
|
||||||
dim_special = 0.5
|
dim_special = 0.5
|
||||||
|
|
||||||
layerrule = blur, waybar
|
layerrule = blur, $bar
|
||||||
layerrule = ignorezero, waybar
|
layerrule = ignorezero, $bar
|
||||||
|
|
||||||
layerrule = blur, launcher
|
layerrule = blur, launcher
|
||||||
|
|
||||||
|
@ -253,4 +254,4 @@ bind = , xf86launch2, exec, playerctl play-pause
|
||||||
bind = , PRINT, exec, hyprshot -m output -o ~/Pictures/Screenshots
|
bind = , PRINT, exec, hyprshot -m output -o ~/Pictures/Screenshots
|
||||||
|
|
||||||
# Show/hide waybar.
|
# Show/hide waybar.
|
||||||
bind = $mainMod, F11, exec, pkill -SIGUSR1 waybar
|
bind = $mainMod, F11, exec, pkill -SIGUSR1 $bar
|
Loading…
Reference in a new issue