diff options
| author | Andrew <admonty1@protonmail.com> | 2025-08-30 14:31:44 -0400 |
|---|---|---|
| committer | Andrew <admonty1@protonmail.com> | 2025-08-30 14:31:44 -0400 |
| commit | 5de7d9eac70506027d1084bb6af3b4a6fcb1eed0 (patch) | |
| tree | 3346aa9ff72c4093ead09c1268b23e7a067136a2 /waybar.nix | |
| parent | change some stuff in neovim config (diff) | |
| download | nixos-5de7d9eac70506027d1084bb6af3b4a6fcb1eed0.tar.gz nixos-5de7d9eac70506027d1084bb6af3b4a6fcb1eed0.tar.bz2 nixos-5de7d9eac70506027d1084bb6af3b4a6fcb1eed0.zip | |
change waybar to match new workspace config
Diffstat (limited to '')
| -rw-r--r-- | waybar.nix | 54 |
1 files changed, 24 insertions, 30 deletions
@@ -1,11 +1,27 @@ -{ config, pkgs, ... }: { + config, + pkgs, + ... +}: let + icons = { + "1" = ""; + "2" = ""; + "3" = ""; + "4" = ""; + "5" = ""; + "6" = ""; + "7" = "7"; + "8" = "8"; + "9" = "9"; + "0" = "0"; + }; +in { programs.waybar = { enable = true; settings = [ { - output = [ "DP-3" ]; + output = ["DP-3"]; #height = 24; # Waybar height spacing = 4; # Gaps between modules fixed-center = true; @@ -31,18 +47,7 @@ enable-bar-scroll = true; disable-scroll-wraparound = true; format = "{icon}"; - format-icons = { - "1" = ""; - "2" = ""; - "3" = ""; - "4" = ""; - "5" = ""; - "6" = ""; - "7" = "7"; - "8" = ""; - "9" = ""; - "10" = "10"; - }; + format-icons = icons; }; "hyprland/window" = { @@ -59,7 +64,7 @@ "title" "artist" ]; - ignored-players = [ "brave" ]; + ignored-players = ["brave"]; status-icons = { playing = "▶"; paused = "⏸"; @@ -122,7 +127,7 @@ # Bar for DP-2 only { - output = [ "DP-2" ]; + output = ["DP-2"]; #height = 24; spacing = 4; @@ -131,26 +136,15 @@ "hyprland/window" ]; - modules-center = [ ]; - modules-right = [ "clock" ]; + modules-center = []; + modules-right = ["clock"]; "hyprland/workspaces" = { all-outputs = true; warp-on-scroll = true; enable-bar-scroll = true; format = "{icon}"; - format-icons = { - "1" = ""; - "2" = ""; - "3" = ""; - "4" = ""; - "5" = ""; - "6" = ""; - "7" = "7"; - "8" = ""; - "9" = ""; - "10" = "10"; - }; + format-icons = icons; }; "hyprland/window" = { |
