Tune ryzen-shine taffybar density

This commit is contained in:
2026-04-10 12:28:46 -07:00
parent bbf1a99589
commit d29b03c475
3 changed files with 67 additions and 4 deletions

View File

@@ -251,7 +251,7 @@ defaultCssFiles = ["palette.css", "taffybar.css"]
cssFilesByHostname :: [(String, [FilePath])]
cssFilesByHostname =
[ ("imalison-home", ["palette.css", "taffybar.css"]),
("ryzen-shine", ["palette.css", "taffybar.css"]),
("ryzen-shine", ["palette.css", "taffybar.css", "ryzen-shine.css"]),
("stevie-nixos", ["palette.css", "taffybar.css"])
]
@@ -608,8 +608,11 @@ mkSimpleTaffyConfig hostName backend cssFiles =
barLevels = Nothing,
barPosition = Top,
widgetSpacing = 0,
barPadding = 4,
barHeight = ScreenRatio $ 1 / 33,
barPadding = if hostName == "ryzen-shine" then 2 else 4,
barHeight =
if hostName == "ryzen-shine"
then ScreenRatio $ 1 / 40
else ScreenRatio $ 1 / 33,
cssPaths = cssFiles
}