From fe0e613928323f9dc538f1bdea8138456abffc4b Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Tue, 17 Sep 2024 18:14:22 +0200 Subject: create nix configuration --- common/home/waybar/default.nix | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 common/home/waybar/default.nix (limited to 'common/home/waybar/default.nix') 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; +} -- cgit v1.2.3-70-g09d2