taffybar: tune strixi-minaj density

This commit is contained in:
2026-05-02 00:20:21 -07:00
parent 0e5d635132
commit d12cbe0b79
4 changed files with 56 additions and 12 deletions

View File

@@ -2,5 +2,40 @@
/* Host-specific density tweaks for strixi-minaj. */ /* Host-specific density tweaks for strixi-minaj. */
.taffy-box { .taffy-box {
font-size: 10pt; font-size: 9.5pt;
border-radius: 8px;
}
.outer-pad,
.workspaces .outer-pad {
border-radius: 8px;
margin: 2px 3px;
}
.inner-pad,
.workspaces .inner-pad {
border-radius: 7px;
padding-top: 1px;
padding-bottom: 1px;
}
.workspaces .contents {
border-radius: 7px;
padding: 0px 3px;
}
.workspaces .overlay-box .workspace-label {
padding: 1px 4px 4px 10px;
}
.visible .contents,
.workspaces .window-icon-container.active {
padding-top: 1px;
padding-bottom: 1px;
}
.auto-size-image,
.sni-tray {
padding-top: 0px;
padding-bottom: 0px;
} }

View File

@@ -271,9 +271,11 @@ cssFilesByHostname =
compactBarHosts :: [String] compactBarHosts :: [String]
compactBarHosts = compactBarHosts =
[ "ryzen-shine", ["ryzen-shine"]
"strixi-minaj"
] smallBarHosts :: [String]
smallBarHosts =
["strixi-minaj"]
laptopHosts :: [String] laptopHosts :: [String]
laptopHosts = laptopHosts =
@@ -703,9 +705,16 @@ mkSimpleTaffyConfig hostName backend cssFiles =
barLevels = Nothing, barLevels = Nothing,
barPosition = Top, barPosition = Top,
widgetSpacing = 0, widgetSpacing = 0,
barPadding = if hostName `elem` compactBarHosts then 2 else 4, barPadding =
if hostName `elem` smallBarHosts
then 1
else if hostName `elem` compactBarHosts
then 2
else 4,
barHeight = barHeight =
if hostName `elem` compactBarHosts if hostName `elem` smallBarHosts
then ScreenRatio $ 1 / 48
else if hostName `elem` compactBarHosts
then ScreenRatio $ 1 / 40 then ScreenRatio $ 1 / 40
else ScreenRatio $ 1 / 33, else ScreenRatio $ 1 / 33,
cssPaths = cssFiles cssPaths = cssFiles

10
nixos/flake.lock generated
View File

@@ -163,11 +163,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1777698481, "lastModified": 1777706382,
"narHash": "sha256-BRAtEB984qJPvV2jVfIuFyt04TP4GAE1liyhzQPnwbc=", "narHash": "sha256-D+UnmYnQsBRTqWVYkGiD+LI+El668U1iaItdLYCLbx4=",
"owner": "colonelpanic8", "owner": "colonelpanic8",
"repo": "codex-desktop-linux", "repo": "codex-desktop-linux",
"rev": "d5a2964047294f747bda2bd008768b26f26cb94e", "rev": "5332a4eadda144df3c4e943eb8b3eff718103e84",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1934,8 +1934,8 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1777690539, "lastModified": 1777701980,
"narHash": "sha256-t9UmAhdHyhFV+k42zZ3mhEdtNMVx5ErhmNo1HSvutaw=", "narHash": "sha256-MgFDeLMLqF0hz+zFy8jBV0+ZLH42ZVn6YufsZba6Gm0=",
"path": "/home/imalison/dotfiles/dotfiles/config/taffybar/taffybar", "path": "/home/imalison/dotfiles/dotfiles/config/taffybar/taffybar",
"type": "path" "type": "path"
}, },