diff options
Diffstat (limited to 'wallust')
| -rw-r--r-- | wallust/templates/niri | 5 | ||||
| -rw-r--r-- | wallust/templates/waybar | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/wallust/templates/niri b/wallust/templates/niri index bc540d8..76d045a 100644 --- a/wallust/templates/niri +++ b/wallust/templates/niri @@ -115,7 +115,10 @@ window-rule { match app-id="SFML" } -switch-events {} +switch-events { + lid-close { spawn "niri" "msg" "action" "power-off-monitors"; } + lid-open { spawn "niri" "msg" "action" "power-on-monitors"; } +} binds { Mod+Backslash { show-hotkey-overlay; } diff --git a/wallust/templates/waybar b/wallust/templates/waybar index 9061ce5..b5ac739 100644 --- a/wallust/templates/waybar +++ b/wallust/templates/waybar @@ -12,8 +12,7 @@ window#waybar { } #clock,#network,#bluetooth,#backlight,#pulseaudio, -#battery,#disk,#temperature,#memory,#cpu, -#tray { +#battery,#disk,#temperature,#memory,#cpu { padding-left: 3px; padding-right: 3px; border-color: {{color8}}; @@ -57,9 +56,6 @@ window#waybar { #cpu { background: {{color2}}; } -#tray { - background: {{color0}}; -} tooltip { background: {{color0}}; |
