diff --git a/dotfiles/config/taffybar/strixi-minaj.css b/dotfiles/config/taffybar/strixi-minaj.css index 0832fe33..53dd8d56 100644 --- a/dotfiles/config/taffybar/strixi-minaj.css +++ b/dotfiles/config/taffybar/strixi-minaj.css @@ -2,5 +2,40 @@ /* Host-specific density tweaks for strixi-minaj. */ .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; } diff --git a/dotfiles/config/taffybar/taffybar b/dotfiles/config/taffybar/taffybar index 697ce422..bcb2e5cf 160000 --- a/dotfiles/config/taffybar/taffybar +++ b/dotfiles/config/taffybar/taffybar @@ -1 +1 @@ -Subproject commit 697ce4220b76152b8a03a7078d736efb1a798197 +Subproject commit bcb2e5cfafbe2160522dc713e67a16856198b9c9 diff --git a/dotfiles/config/taffybar/taffybar.hs b/dotfiles/config/taffybar/taffybar.hs index 57b03ec6..54bac29b 100644 --- a/dotfiles/config/taffybar/taffybar.hs +++ b/dotfiles/config/taffybar/taffybar.hs @@ -271,9 +271,11 @@ cssFilesByHostname = compactBarHosts :: [String] compactBarHosts = - [ "ryzen-shine", - "strixi-minaj" - ] + ["ryzen-shine"] + +smallBarHosts :: [String] +smallBarHosts = + ["strixi-minaj"] laptopHosts :: [String] laptopHosts = @@ -703,9 +705,16 @@ mkSimpleTaffyConfig hostName backend cssFiles = barLevels = Nothing, barPosition = Top, 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 = - if hostName `elem` compactBarHosts + if hostName `elem` smallBarHosts + then ScreenRatio $ 1 / 48 + else if hostName `elem` compactBarHosts then ScreenRatio $ 1 / 40 else ScreenRatio $ 1 / 33, cssPaths = cssFiles diff --git a/nixos/flake.lock b/nixos/flake.lock index 98fb01cc..89939233 100644 --- a/nixos/flake.lock +++ b/nixos/flake.lock @@ -163,11 +163,11 @@ ] }, "locked": { - "lastModified": 1777698481, - "narHash": "sha256-BRAtEB984qJPvV2jVfIuFyt04TP4GAE1liyhzQPnwbc=", + "lastModified": 1777706382, + "narHash": "sha256-D+UnmYnQsBRTqWVYkGiD+LI+El668U1iaItdLYCLbx4=", "owner": "colonelpanic8", "repo": "codex-desktop-linux", - "rev": "d5a2964047294f747bda2bd008768b26f26cb94e", + "rev": "5332a4eadda144df3c4e943eb8b3eff718103e84", "type": "github" }, "original": { @@ -1934,8 +1934,8 @@ ] }, "locked": { - "lastModified": 1777690539, - "narHash": "sha256-t9UmAhdHyhFV+k42zZ3mhEdtNMVx5ErhmNo1HSvutaw=", + "lastModified": 1777701980, + "narHash": "sha256-MgFDeLMLqF0hz+zFy8jBV0+ZLH42ZVn6YufsZba6Gm0=", "path": "/home/imalison/dotfiles/dotfiles/config/taffybar/taffybar", "type": "path" },