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"
},
"locked": {
"lastModified": 1774329399,
"narHash": "sha256-oh+CrJ00DZUNo85jGmMEX1iSnUVOFlu1JgmehiiaaU8=",
"lastModified": 1775849309,
"narHash": "sha256-P6hUt9pjNkTl5iXSrjlQnrghSqYBKPlUr2xIn2OTcXY=",
"ref": "refs/heads/master",
"rev": "829857162b8913edd1c457b357c50c92077560de",
"revCount": 2269,
"rev": "07442aaeae81ee5537d58b22ded3bea799af39ec",
"revCount": 2279,
"type": "git",
"url": "file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar"
},

View File

@@ -53,8 +53,3 @@
padding: 0px 3px;
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.
*
* Colors live in `theme.css` (loaded via `palette.css`).
* IMPORTANT: use `@import url("...")` — bare `import` is silently ignored
* by GTK's CSS parser.
* Colors live in `theme.css`, and the end-widget palette lives in
* `end-widget-colors.css`. Both are loaded explicitly from `cssPaths` so they
* 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.
*

View File

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

6
nixos/flake.lock generated
View File

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

View File

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