taffybar: propagate config and flake updates

This commit is contained in:
2026-04-10 13:40:30 -07:00
committed by Kat Huang
parent 45582c6411
commit 4befbc42df
6 changed files with 15 additions and 21 deletions

View File

@@ -154,11 +154,11 @@
"xmonad-contrib": "xmonad-contrib" "xmonad-contrib": "xmonad-contrib"
}, },
"locked": { "locked": {
"lastModified": 1774329399, "lastModified": 1775849309,
"narHash": "sha256-oh+CrJ00DZUNo85jGmMEX1iSnUVOFlu1JgmehiiaaU8=", "narHash": "sha256-P6hUt9pjNkTl5iXSrjlQnrghSqYBKPlUr2xIn2OTcXY=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "829857162b8913edd1c457b357c50c92077560de", "rev": "07442aaeae81ee5537d58b22ded3bea799af39ec",
"revCount": 2269, "revCount": 2279,
"type": "git", "type": "git",
"url": "file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar" "url": "file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar"
}, },

View File

@@ -53,8 +53,3 @@
padding: 0px 3px; padding: 0px 3px;
margin-left: 2px; margin-left: 2px;
} }
/* Debug probe: verify host CSS can target the visible CPU pill directly. */
.outer-pad.cpu {
background-color: rgba(255, 0, 0, 1.0);
}

View File

@@ -1,11 +1,9 @@
/* Widget/layout styling for taffybar. /* Widget/layout styling for taffybar.
* *
* Colors live in `theme.css` (loaded via `palette.css`). * Colors live in `theme.css`, and the end-widget palette lives in
* IMPORTANT: use `@import url("...")` — bare `import` is silently ignored * `end-widget-colors.css`. Both are loaded explicitly from `cssPaths` so they
* by GTK's CSS parser. * hot-reload reliably and do not depend on GTK's `@import` handling.
*/ */
@import url("theme.css");
@import url("end-widget-colors.css");
/* Base typography + foreground color for the bar itself. /* Base typography + foreground color for the bar itself.
* *

View File

@@ -246,13 +246,13 @@ workspaceWindowIconGetter =
-- ** Host Overrides -- ** Host Overrides
defaultCssFiles :: [FilePath] defaultCssFiles :: [FilePath]
defaultCssFiles = ["palette.css", "taffybar.css"] defaultCssFiles = ["theme.css", "end-widget-colors.css", "taffybar.css"]
cssFilesByHostname :: [(String, [FilePath])] cssFilesByHostname :: [(String, [FilePath])]
cssFilesByHostname = cssFilesByHostname =
[ ("imalison-home", ["palette.css", "taffybar.css"]), [ ("imalison-home", ["theme.css", "end-widget-colors.css", "taffybar.css"]),
("ryzen-shine", ["palette.css", "taffybar.css", "ryzen-shine.css"]), ("ryzen-shine", ["theme.css", "end-widget-colors.css", "taffybar.css", "ryzen-shine.css"]),
("stevie-nixos", ["palette.css", "taffybar.css"]) ("stevie-nixos", ["theme.css", "end-widget-colors.css", "taffybar.css"])
] ]
laptopHosts :: [String] laptopHosts :: [String]

6
nixos/flake.lock generated
View File

@@ -1766,11 +1766,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1774898891, "lastModified": 1775849309,
"narHash": "sha256-tcF4Ue3rOokU6emEqFaedjfRjYLfRzVZ2cm5VBXUrX0=", "narHash": "sha256-P6hUt9pjNkTl5iXSrjlQnrghSqYBKPlUr2xIn2OTcXY=",
"owner": "taffybar", "owner": "taffybar",
"repo": "taffybar", "repo": "taffybar",
"rev": "989725362fc6a04fbbee8ff0de5f68fa2ee0636f", "rev": "07442aaeae81ee5537d58b22ded3bea799af39ec",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -58,6 +58,7 @@ makeEnable config "myModules.taffybar" false {
enable = true; enable = true;
package = inputs.imalison-taffybar.defaultPackage.${pkgs.stdenv.hostPlatform.system}; package = inputs.imalison-taffybar.defaultPackage.${pkgs.stdenv.hostPlatform.system};
}; };
xdg.configFile."systemd/user/taffybar.service".force = true;
systemd.user.services.taffybar.Service = { systemd.user.services.taffybar.Service = {
ExecCondition = "${skipTaffybarInKde}"; ExecCondition = "${skipTaffybarInKde}";
# Temporary startup debugging: keep a plain-text log outside journald so # Temporary startup debugging: keep a plain-text log outside journald so