From c0c5087218c27e31c3e6f66f3937bff22fa0f647 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Tue, 24 Sep 2024 23:13:51 +0530 Subject: Using nix flake modules to manage the configurations. --- modules/desktop/status-bar/polybar/bars/main.nix | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 modules/desktop/status-bar/polybar/bars/main.nix (limited to 'modules/desktop/status-bar/polybar/bars/main.nix') diff --git a/modules/desktop/status-bar/polybar/bars/main.nix b/modules/desktop/status-bar/polybar/bars/main.nix new file mode 100644 index 0000000..630664d --- /dev/null +++ b/modules/desktop/status-bar/polybar/bars/main.nix @@ -0,0 +1,28 @@ +config: + +with config.scheme.withHashtag; +{ + width = "100%"; + height = 30; + radius = 3; + fixed-center = false; + + background = "${base00}"; + foreground = "${base05}"; + + line-size = 3; + line-color = "${base08}"; + + border-size = 4; + padding-left = 2; + padding-right = 2; + + module-margin-left = 2; + module-margin-right = 2; + + font-0 = "FiraCode Nerd Font:pixelsize=16;3"; + + modules-left = "bspwm"; + modules-center = "xwindow"; + modules-right = "memory cpu battery time date kernel-version"; +} -- cgit v1.2.3