diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-25 23:51:51 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-25 23:51:51 +0530 |
| commit | 86aaaabfd153a1710b6773f17925d2e5191bf522 (patch) | |
| tree | db9baa777a98f6b66c1483ba9664bc62fc8bd007 /modules/desktop/status-bar/polybar/bar | |
| parent | 478081af928e1557b325f4a4cbd5b67f079660d2 (diff) | |
| download | home-manager-config-86aaaabfd153a1710b6773f17925d2e5191bf522.tar.gz home-manager-config-86aaaabfd153a1710b6773f17925d2e5191bf522.zip | |
Changed polybar bspwm workspace tab config.
Diffstat (limited to 'modules/desktop/status-bar/polybar/bar')
| -rw-r--r-- | modules/desktop/status-bar/polybar/bar/main.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/modules/desktop/status-bar/polybar/bar/main.nix b/modules/desktop/status-bar/polybar/bar/main.nix new file mode 100644 index 0000000..34858d8 --- /dev/null +++ b/modules/desktop/status-bar/polybar/bar/main.nix @@ -0,0 +1,38 @@ +{ config }: + +with config.scheme.withHashtag; +{ + width = "\${env:POLYBAR_WIDTH}"; + fixed-center = false; + height = 35; + + border-top-size = 1; + border-bottom-size = 1; + border-left-size = 1; + border-right-size = 1; + border-color = base02; + + background = base00; + foreground = base05; + + line-size = 3; + line-color = base08; + + padding-left = 1; + padding-right = 1; + + module-margin-left = 2; + module-margin-right = 2; + + offset-x = "\${env:POLYBAR_OFFSET}"; + offset-y = "\${env:POLYBAR_OFFSET}"; + + font-0 = "FiraCode Nerd Font:pixelsize=16;3"; + + modules-left = + if config.desktop.window-manager.bspwm.enable then + "bspwm" + else null; + modules-center = "xwindow"; + modules-right = "memory cpu battery time date kernel-version"; +} |
