From 350eeaf3abfb0f2ed462e9c68ec666121000ab72 Mon Sep 17 00:00:00 2001 From: autumn Date: Mon, 25 Aug 2025 18:46:05 -0600 Subject: [PATCH] more waybar touching --- home-manager/packages/waybar/waybar.nix | 264 ++++++++++++------------ 1 file changed, 131 insertions(+), 133 deletions(-) diff --git a/home-manager/packages/waybar/waybar.nix b/home-manager/packages/waybar/waybar.nix index 55b87ed..e420b97 100644 --- a/home-manager/packages/waybar/waybar.nix +++ b/home-manager/packages/waybar/waybar.nix @@ -19,6 +19,7 @@ # Module layout # modules-center = [ + "river/mode" "river/window" ]; modules-right = [ @@ -153,162 +154,159 @@ background: rgba(255, 255, 255, 0.2); } -#workspaces button.focused { - background-color: #8f2fef; - box-shadow: inset 0 -3px #ffffff; -} + #workspaces button.focused { + background-color: #8f2fef; + box-shadow: inset 0 -3px #ffffff; + } -#workspaces button.urgent { - background-color: #f38ba8; -} + #workspaces button.urgent { + background-color: #f38ba8; + } -#backlight, -#battery, -#clock, -#cpu, -#memory, -#mode, -#network, -#pulseaudio, -#temperature, -#tray, -#idle_inhibitor, -#keyboard-state, -#power-profiles-daemon { - padding: 0 8px; -} + #backlight, + #battery, + #clock, + #cpu, + #memory, + #mode, + #network, + #pulseaudio, + #temperature, + #tray, + #idle_inhibitor, + #keyboard-state, + #power-profiles-daemon { + padding: 0 8px; + } -#window, -#workspaces { - margin: 0 8px; -} + #window, + #workspaces { + margin: 0 8px; + } -.modules-left>widget:first-child>#workspaces { - margin-left: 0; -} + .modules-left>widget:first-child>#workspaces { + margin-left: 0; + } -.modules-right>widget:last-child>#workspaces { - margin-right: 0; -} + .modules-right>widget:last-child>#workspaces { + margin-right: 0; + } -#backlight { - color: #ffffff; - background-color: transparent; - border-bottom: 3px solid #cba6f7; -} + #backlight { + color: #ffffff; + background-color: transparent; + border-bottom: 3px solid #cba6f7; + } -#battery { - color: #ffffff; - background-color: transparent; - border-bottom: 3px solid #a6e3a1; -} + #battery { + color: #ffffff; + background-color: transparent; + border-bottom: 3px solid #a6e3a1; + } -#battery.critical.discharging { - background-color: #f38ba8; - animation: blink 1s infinite; -} + #battery.critical.discharging { + background-color: #f38ba8; + animation: blink 1s infinite; + } -#battery.warning.discharging { - background-color: #f9e2af; - animation: blink 1s infinite; -} + #battery.warning.discharging { + background-color: #f9e2af; + animation: blink 1s infinite; + } -@keyframes blink { - to { - background-color: transparent; - } -} + @keyframes blink { + to { + background-color: transparent; + } + } -#clock { - color: #ffffff; - background-color: transparent; - border-bottom: 3px solid #a6e3a1; -} + #clock { + color: #ffffff; + background-color: transparent; + border-bottom: 3px solid #a6e3a1; + } -#cpu { - color: #ffffff; - background-color: transparent; - border-bottom: 3px solid #cba6f7; -} + #cpu { + color: #ffffff; + background-color: transparent; + border-bottom: 3px solid #cba6f7; + } -#memory { - color: #ffffff; - background-color: transparent; - border-bottom: 3px solid #f9e2af; -} + #memory { + color: #ffffff; + background-color: transparent; + border-bottom: 3px solid #f9e2af; + } -#mode { - color: #ffffff; - background-color: #8f2fef; - border-bottom: 3px solid #ffffff; -} + #mode { + color: #ffffff; + background-color: #8f2fef; + border-bottom: 3px solid #ffffff; + } -#network { - color: #ffffff; - background-color: transparent; - border-bottom: 3px solid #a6e3a1; -} + #network { + color: #ffffff; + background-color: transparent; + border-bottom: 3px solid #a6e3a1; + } -#network.disconnected { - color: #ffffff; - background-color: transparent; - border-bottom: 3px solid #f38ba8; -} + #network.disconnected { + color: #ffffff; + background-color: transparent; + border-bottom: 3px solid #f38ba8; + } -#pulseaudio { - color: #ffffff; - background-color: transparent; - border-bottom: 3px solid #a6e3a1; -} + #pulseaudio { + color: #ffffff; + background-color: transparent; + border-bottom: 3px solid #a6e3a1; + } -#pulseaudio.muted { - color: #ffffff; - background-color: transparent; - border-bottom: 3px solid #f38ba8; -} + #pulseaudio.muted { + color: #ffffff; + background-color: transparent; + border-bottom: 3px solid #f38ba8; + } -#temperature { - color: #ffffff; - background-color: transparent; - border-bottom: 3px solid #a6e3a1; -} + #temperature { + color: #ffffff; + background-color: transparent; + border-bottom: 3px solid #a6e3a1; + } -#temperature.critical { - background-color: transparent; - border-bottom: 3px solid #f38ba8; -} + #temperature.critical { + background-color: transparent; + border-bottom: 3px solid #f38ba8; + } -#tray { - background-color: transparent; - border-bottom: 3px solid #8f2fef; -} + #tray { + background-color: transparent; + border-bottom: 3px solid #8f2fef; + } -#idle_inhibitor { - color: #ffffff; - background-color: transparent; - border-bottom: 3px solid #f9e2af; -} + #idle_inhibitor { + color: #ffffff; + background-color: transparent; + border-bottom: 3px solid #f9e2af; + } -#idle_inhibitor.activated { - color: #1e3b28; - background-color: #f9e2af; - border-bottom: 3px solid #f9e2af; -} + #idle_inhibitor.activated { + color: #1e3b28; + background-color: #f9e2af; + border-bottom: 3px solid #f9e2af; + } -#keyboard-state { - color: #ffffff; - background-color: transparent; - border-bottom: 3px solid #fab387; -} + #keyboard-state { + color: #ffffff; + background-color: transparent; + border-bottom: 3px solid #fab387; + } -#power-profiles-daemon { - color: #ffffff; - background-color: transparent; - border-bottom: 3px solid #94e2d5; - } - ''; - }; - - - + #power-profiles-daemon { + color: #ffffff; + background-color: transparent; + border-bottom: 3px solid #94e2d5; + } + ''; + }; }