From 7a372ed81256ce5d6aa608be9bebe173ab4e042e Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 18 Jan 2022 17:38:31 +0900 Subject: project: rewrite --- home/profiles/base/config/waybar-settings.nix | 54 +++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 home/profiles/base/config/waybar-settings.nix (limited to 'home/profiles/base/config/waybar-settings.nix') diff --git a/home/profiles/base/config/waybar-settings.nix b/home/profiles/base/config/waybar-settings.nix new file mode 100644 index 0000000..089fefb --- /dev/null +++ b/home/profiles/base/config/waybar-settings.nix @@ -0,0 +1,54 @@ +{ neotheme }: + +with neotheme.colors; +{ + layer = "bottom"; + position = "top"; + height = 21; + modules-left = [ "pulseaudio" "custom/seperator" "cpu" "custom/seperator" "memory" ]; + modules-center = [ "sway/workspaces" ]; + modules-right = [ "clock" ]; + + "sway/workspaces" = { + all-outputs = true; + persistent_workspaces = { + "α" = [ ]; + "β" = [ ]; + "γ" = [ ]; + "δ" = [ ]; + "ε" = [ ]; + "ζ" = [ ]; + "η" = [ ]; + "θ" = [ ]; + "ι" = [ ]; + "κ" = [ ]; + }; + }; + + "clock" = { + interval = 10; + format = " {:%A, %b %d %H:%M}"; + }; + + "cpu" = { + interval = 5; + format = " {usage:3}%"; + }; + + "pulseaudio" = { + format = "{icon} {volume}%"; + format-muted = "ﱝ Muted"; + format-icons.default = [ " " " " " " ]; + }; + + "memory" = { + interval = 5; + format = " {used:0.2f}GiB"; + }; + + "custom/seperator" = { + format = "|"; + interval = "once"; + tooltip = false; + }; +} -- cgit 1.4.1