This commit is contained in:
Matt Nish-Lapidus 2025-05-25 18:24:35 -04:00
parent 746bb52e03
commit 6a5a1b3771

View file

@ -1,7 +1,7 @@
{ inputs, pkgs, ... }: { inputs, pkgs, ... }:
with pkgs.lib.nix-rice; with pkgs.lib.nix-rice;
let strPalette = palette.toRGBHex pkgs.rice.colorPalette; let strPalette = palette.toRGBHex pkgs.rice.colorPalette;
fnt = pkgs.rice.font.monospace.name; fnt = pkgs.rice.font.propo.name;
in { in {
programs.waybar = { programs.waybar = {
@ -182,7 +182,6 @@ in {
#pulseaudio, #pulseaudio,
#wireplumber, #wireplumber,
#disk, #disk,
#taskbar
#cpu, #cpu,
#temperature, #temperature,
#custom-weather, #custom-weather,
@ -196,7 +195,6 @@ in {
#memory #memory
#cpu #cpu
#battery #battery
#taskbar
#tray #tray
#power-profiles-daemon #power-profiles-daemon
*/ */
@ -204,8 +202,8 @@ in {
* { * {
border: none; border: none;
font-size: 12pt; font-size: 12pt;
font-family: "${fnt}" ; font-family: "BlexMono Nerd Font Propo" ;
min-height: 30px; min-height: 32px;
} }
button:hover { button:hover {
@ -217,17 +215,13 @@ button:hover {
window#waybar { window#waybar {
background: ${strPalette.normal.background}; background: ${strPalette.normal.background};
margin: 5px; margin: 6px;
} }
.module { .module {
margin: 0; margin: 0;
padding: 0 18px; padding: 0 18px;
min-width: 1em; min-width: 1em;
}
.modules-left, .modules-right {
margin-top: 2px;
color: #ccc; color: #ccc;
} }
@ -241,14 +235,21 @@ window#waybar {
.modules-center { .modules-center {
padding: 0 15px; padding: 0 15px;
margin-top: 2px;
color: #ccc;
} }
.modules-center .module { .modules-center .module {
border: none; border: none;
} }
#taskbar button {
margin: 0 3px;
padding: 3px 6px;
}
#taskbar button.active {
background: #333;
}
#taskbar > *:hover { #taskbar > *:hover {
border: none; border: none;
box-shadow: none; box-shadow: none;
@ -294,7 +295,7 @@ window#waybar {
#workspaces button { #workspaces button {
color: #666; color: #666;
padding: 0; padding: 3px 6px;
} }
#workspaces button:hover { #workspaces button:hover {
@ -305,15 +306,10 @@ window#waybar {
color: #222; color: #222;
} }
#workspaces button.focused #workspaces button.focused {
{
color: #ccc; color: #ccc;
} }
#taskbar button.active {
background: #333;
}
@keyframes blink { @keyframes blink {
to { to {
background-color: #ffffff; background-color: #ffffff;