diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-11-28 00:01:27 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-11-28 00:01:27 +0530 |
| commit | 170461002890d55718618bec64feaa8856c3a6d4 (patch) | |
| tree | 39828106660958fc9de2c8c8d1fc972c8e2320cb /modules/graphical/polybar/bar | |
| parent | 547bf872cbf85f4718576e1ac3a0eab094ccd26a (diff) | |
| download | home-manager-config-170461002890d55718618bec64feaa8856c3a6d4.tar.gz home-manager-config-170461002890d55718618bec64feaa8856c3a6d4.zip | |
Organised the configuration to allow for different options for different users.
Diffstat (limited to 'modules/graphical/polybar/bar')
| -rw-r--r-- | modules/graphical/polybar/bar/default.nix | 5 | ||||
| -rw-r--r-- | modules/graphical/polybar/bar/main.nix | 44 |
2 files changed, 0 insertions, 49 deletions
diff --git a/modules/graphical/polybar/bar/default.nix b/modules/graphical/polybar/bar/default.nix deleted file mode 100644 index 23a43c4..0000000 --- a/modules/graphical/polybar/bar/default.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ config, lib }: - -{ - "bar/main" = import ./main.nix { inherit config lib; }; -} diff --git a/modules/graphical/polybar/bar/main.nix b/modules/graphical/polybar/bar/main.nix deleted file mode 100644 index 326b768..0000000 --- a/modules/graphical/polybar/bar/main.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ config, lib }: - -with config.scheme.withHashtag; -let - largerFontSize = toString (builtins.ceil (config.fonts.size * 9.0 / 8.0)); -in { - width = "100%:-20"; - fixed-center = false; - height = 35; - override-redirect = false; - wm-restack = "bspwm"; - enable-ipc = true; - - border-top-size = 1; - border-bottom-size = 1; - border-left-size = 1; - border-right-size = 1; - border-color = base03; - - background = base00; - foreground = base05; - - line-size = 3; - line-color = base08; - - padding-left = 1; - padding-right = 1; - - module-margin-left = 1; - module-margin-right = 1; - - separator = "%{F${base03}}%{T3}│%{T-}%{F-}"; - - offset-x = "10"; - offset-y = "10"; - - font-0 = "${config.fonts.normal}:pixelsize=${toString config.fonts.size};3"; - font-1 = "${config.fonts.normal}:weight=Bold:pixelsize=${largerFontSize};3"; - font-2 = "${config.fonts.normal}:style=Light:pixelsize=${largerFontSize};2"; - - modules-left = "bspwm separator"; - modules-center = "xwindow"; - modules-right = "separator volume battery time memory cpu date"; -} |
