1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-08-02 04:57:45 +00:00

Actually restart waybar on config reload and load

This commit is contained in:
RGBCube 2023-12-02 23:11:26 +03:00
parent c65d83196f
commit df66feda17
No known key found for this signature in database
2 changed files with 6 additions and 8 deletions

View file

@ -25,7 +25,7 @@
exec-once = wl-paste --type text --watch cliphist store exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store exec-once = wl-paste --type image --watch cliphist store
exec = pkill --signal SIGUSR2 waybar exec = pkill waybar; waybar
'' ''
+ +
'' ''

View file

@ -2,8 +2,6 @@
homeConfiguration "nixos" { homeConfiguration "nixos" {
programs.waybar = with upkgs.theme.withHashtag; enabled { programs.waybar = with upkgs.theme.withHashtag; enabled {
systemd = enabled {};
settings = [{ settings = [{
layer = "top"; layer = "top";
height = 2 * corner-radius; height = 2 * corner-radius;
@ -138,23 +136,23 @@ homeConfiguration "nixos" {
color: ${base05}; color: ${base05};
} }
#workspaces button:nth-child(1) { #workspaces button:nth-child(1) button.has-window {
color: ${base08}; color: ${base08};
} }
#workspaces button:nth-child(2) { #workspaces button:nth-child(2) button.has-window {
color: ${base09}; color: ${base09};
} }
#workspaces button:nth-child(3) { #workspaces button:nth-child(3) button.has-window {
color: ${base0A}; color: ${base0A};
} }
#workspaces button:nth-child(4) { #workspaces button:nth-child(4) button.has-window {
color: ${base0B}; color: ${base0B};
} }
#workspaces button:nth-child(5) { #workspaces button:nth-child(5) button.has-window {
color: ${base0C}; color: ${base0C};
} }