diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-07-10 01:29:48 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-07-10 01:29:48 +0530 |
| commit | 085ff668ab45ac8d57c093e502b1175a86f2c14e (patch) | |
| tree | 0fe7de3fdb29a9d0f7294e4af91d938fe5283533 /modules/desktop/status-bar/polybar/bar | |
| parent | 70b590bf6b83dcb8f142451951a0f54ec3308283 (diff) | |
| download | home-manager-config-085ff668ab45ac8d57c093e502b1175a86f2c14e.tar.gz home-manager-config-085ff668ab45ac8d57c093e502b1175a86f2c14e.zip | |
Removed unnecessary packages.
Diffstat (limited to 'modules/desktop/status-bar/polybar/bar')
| -rw-r--r-- | modules/desktop/status-bar/polybar/bar/default.nix | 5 | ||||
| -rw-r--r-- | modules/desktop/status-bar/polybar/bar/main.nix | 46 |
2 files changed, 0 insertions, 51 deletions
diff --git a/modules/desktop/status-bar/polybar/bar/default.nix b/modules/desktop/status-bar/polybar/bar/default.nix deleted file mode 100644 index 23a43c4..0000000 --- a/modules/desktop/status-bar/polybar/bar/default.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ config, lib }: - -{ - "bar/main" = import ./main.nix { inherit config lib; }; -} diff --git a/modules/desktop/status-bar/polybar/bar/main.nix b/modules/desktop/status-bar/polybar/bar/main.nix deleted file mode 100644 index a389b8c..0000000 --- a/modules/desktop/status-bar/polybar/bar/main.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ config, lib }: - -with config.scheme.withHashtag; -let - largerFontSize = toString (builtins.ceil (config.fonts.size * 9.0 / 8.0)); -in { - 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 = 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 = "\${env:POLYBAR_OFFSET}"; - offset-y = "\${env:POLYBAR_OFFSET}"; - - 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 = - if config.desktop.window-manager.bspwm.enable then - "bspwm separator" - else if config.desktop.window-manager.i3.enable then - "i3 separator" - else ""; - modules-center = "xwindow"; - modules-right = "separator memory cpu battery time date kernel-version"; -} |
