From 6bb2a7673480b17638a69e5c99f7fd21c7767c7d Mon Sep 17 00:00:00 2001 From: sefidel Date: Mon, 10 Jan 2022 00:10:38 +0900 Subject: home/base: better bar design --- .../modules/profiles/base/config/waybar-settings.nix | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'home/modules/profiles/base/config/waybar-settings.nix') diff --git a/home/modules/profiles/base/config/waybar-settings.nix b/home/modules/profiles/base/config/waybar-settings.nix index 2917e00..12fe8c8 100644 --- a/home/modules/profiles/base/config/waybar-settings.nix +++ b/home/modules/profiles/base/config/waybar-settings.nix @@ -1,15 +1,17 @@ +{ neotheme }: + +with neotheme.colors; { layer = "bottom"; position = "top"; height = 21; - modules-left = [ "pulseaudio" "cpu" "memory" ]; + modules-left = [ "pulseaudio" "custom/seperator" "cpu" "custom/seperator" "memory" ]; modules-center = [ "sway/workspaces" ]; modules-right = [ "clock" ]; modules = { "sway/workspaces" = { all-outputs = true; - persistent_workspaces = { "α" = [ ]; "β" = [ ]; @@ -26,23 +28,29 @@ "clock" = { interval = 10; - format = "{: %a %d %H:%M}"; + format = " {:%A, %b %d %H:%M}"; }; "cpu" = { interval = 5; - format = " {usage:3}%"; + format = " {usage:3}%"; }; "pulseaudio" = { - format = "{icon} {volume}%"; + format = "{icon} {volume}%"; format-muted = "ﱝ Muted"; format-icons.default = [ " " " " " " ]; }; "memory" = { interval = 5; - format = " {used:0.2f}GiB"; + format = " {used:0.2f}GiB"; + }; + + "custom/seperator" = { + format = "|"; + interval = "once"; + tooltip = false; }; }; } -- cgit 1.4.1