From 427adb096d7a5285d806d5c5bae7b187b1c5fb53 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Thu, 30 Nov 2023 13:31:27 +0300 Subject: [PATCH] Rice waybar --- machines/enka/waybar/default.nix | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/machines/enka/waybar/default.nix b/machines/enka/waybar/default.nix index 25a711d..7bf4900 100644 --- a/machines/enka/waybar/default.nix +++ b/machines/enka/waybar/default.nix @@ -83,10 +83,10 @@ homeConfiguration "nixos" { memory.format = " {}%"; network = { - format-disconnected = "󰤮"; + format-disconnected = "󰤮 "; format-ethernet = "󰈀 {ipaddr}/{cidr}"; format-linked = " {ifname} (No IP)"; - format-wifi = "{essid}  {signalStrength}%"; + format-wifi = " {signalStrength}%"; }; battery = { @@ -123,30 +123,39 @@ homeConfiguration "nixos" { font-family: "${font.sans.name}"; } + .modules-right { + margin-right: 10px; + + } + #waybar { background: ${base00}; color: ${base05}; } - #workspace-1 { + #workspaces button:nth-child(1) { color: ${base08}; } - #workspace-2 { + #workspaces button:nth-child(2) { color: ${base09}; } - #workspace-3 { + #workspaces button:nth-child(3) { color: ${base0A}; } - #workspace-4 { + #workspaces button:nth-child(4) { color: ${base0B}; } - #workspace-5 { + #workspaces button:nth-child(5) { color: ${base0C}; } + + #tray, #pulseaudio, #backlight, #cpu, #memory, #network, #battery, #clock { + margin-left: 20px; + } ''; }; }