diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-09-17 18:14:22 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-09-17 18:14:22 +0200 |
| commit | fe0e613928323f9dc538f1bdea8138456abffc4b (patch) | |
| tree | 019728342ae0f3329ab9ff631c02e55e4472f18a /common/home/waybar/default.nix | |
create nix configuration
Diffstat (limited to 'common/home/waybar/default.nix')
| -rw-r--r-- | common/home/waybar/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/common/home/waybar/default.nix b/common/home/waybar/default.nix new file mode 100644 index 0000000..7e59bf2 --- /dev/null +++ b/common/home/waybar/default.nix @@ -0,0 +1,44 @@ +{ ... }: +{ + 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" + "battery" + "tray" + ]; + + "hyprland/workspaces" = { + format = "{icon}"; + }; + + "hyprland/window" = { + separate-outputs = true; + }; + + bluetooth = { + format = ""; + format-disabled = ""; + format-off = ""; + format-on = ""; + format-connected = ""; + on-click = "blueberry"; + }; + + tray = { + icon-size = 15; + spacing = 10; + }; + }; + }; + style = ./style.css; +} |