diff options
Diffstat (limited to 'common/home/programs/waybar/default.nix')
| -rw-r--r-- | common/home/programs/waybar/default.nix | 128 |
1 files changed, 83 insertions, 45 deletions
diff --git a/common/home/programs/waybar/default.nix b/common/home/programs/waybar/default.nix index d02decb..523277b 100644 --- a/common/home/programs/waybar/default.nix +++ b/common/home/programs/waybar/default.nix @@ -1,53 +1,91 @@ { ... }: { - enable = true; - systemd.enable = true; - settings = { - mainBar = { - layer = "top"; - position = "left"; - width = 50; - outputs = "*"; - spacing = 10; - modules-left = [ "hyprland/workspaces" ]; - modules-center = [ ]; - modules-right = [ - "bluetooth" - "pulseaudio" - "battery" - "tray" - ]; + enable = true; + systemd.enable = true; + settings = { + mainBar = { + layer = "top"; + position = "top"; + height = 10; + outputs = "*"; + spacing = 0; + modules-left = [ "hyprland/workspaces" ]; + modules-center = [ ]; + modules-right = [ + "pulseaudio" + "bluetooth" + "battery" + "tray" + ]; - "hyprland/workspaces" = { - format = "{icon}"; - all-outputs = true; - }; + "hyprland/workspaces" = { + format = "{icon}"; + format-icons = { + "1" = "α"; + "2" = "β"; + "3" = "γ"; + "4" = "δ"; + "5" = "ε"; + "6" = "ζ"; + "7" = "η"; + "8" = "θ"; + "9" = "ι"; + "10" = "κ"; + "11" = "α"; + "12" = "β"; + "13" = "γ"; + "14" = "δ"; + "15" = "ε"; + "16" = "ζ"; + "17" = "η"; + "18" = "θ"; + "19" = "ι"; + "20" = "κ"; + "21" = "α"; + "22" = "β"; + "23" = "γ"; + "24" = "δ"; + "25" = "ε"; + "26" = "ζ"; + "27" = "η"; + "28" = "θ"; + "29" = "ι"; + "30" = "κ"; + }; + all-outputs = false; + }; - "hyprland/window" = { - separate-outputs = true; - }; + "hyprland/window" = { + separate-outputs = true; + }; - bluetooth = { - format = ""; - format-disabled = ""; - format-off = ""; - format-on = ""; - format-connected = ""; - on-click = "blueberry"; - }; + bluetooth = { + format = ""; + format-disabled = ""; + format-off = ""; + format-on = ""; + format-connected = ""; + on-click = "blueberry"; + }; - battery = { - states = { - warning = 15; - critical = 5; - }; - }; + battery = { + states = { + warning = 15; + critical = 5; + }; + }; - tray = { - icon-size = 15; - spacing = 10; - }; - }; - }; - style = ./style.css; + tray = { + icon-size = 12; + spacing = 10; + }; + + "pulseaudio/slider" = { + min = 0; + max = 100; + orientation = "horizontal"; + }; + }; + }; + style = ./style.css; } |