This commit is contained in:
iFargle 2024-01-04 17:37:55 +09:00
parent 10775bc4e4
commit 248a346d1b

View file

@ -122,45 +122,36 @@
}; };
}; };
}; };
style = { style = ''
waybar = {
padding = "15px"; * {
}; border: none;
workspaces = { border-radius: 0;
button = { font-family: JetbrainsMono Regular;
visible = { }
font-size = "15px";
border-radius = "50px";
padding = "0px 5px";
margin = "5px";
};
};
};
};
};
# Waybar theming #waybar {
home.file.".config/waybar/style.css" = { padding: 15px;
enable = false; }
executable = false;
text = '' #workspaces button.visible,
#workspaces button {
font-size: 15px;
border-radius: 50px;
padding: 0px 5px;
margin: 5px;
}
#workspaces button.active { #workspaces button.active {
padding: 0px 15px; padding: 0px 15px;
background-color: #7A7740;
color: rgba(0, 0, 0, 0.5);
} }
#workspaces button:hover, #workspaces button:hover,
#workspaces button.focused:hover, #workspaces button.focused:hover,
#workspaces button.visible:hover { #workspaces button.visible:hover {
color: rgba(0, 0, 0, 0.5);
background-color: #649a25;
} }
#workspaces button.urgent { #workspaces button.urgent {
background-color: #cc241d;
color: rgba(200, 200, 200, 0.5);
} }
/* /*
@ -185,8 +176,6 @@
padding: 0px 10px; padding: 0px 10px;
margin: 5px; margin: 5px;
border-radius: 5px; border-radius: 5px;
color: rgba(58,60,62, 0.6);
background-color: #649a25;
font-weight: bold; font-weight: bold;
} }
@ -208,14 +197,12 @@
#custom-tailscale button:hover, #custom-tailscale button:hover,
#custom-wlogout button:hover, #custom-wlogout button:hover,
#window button:hover{ #window button:hover{
background-color: #d9eed2;
} }
/* /*
* Warning plugins state * Warning plugins state
*/ */
#battery.warning { #battery.warning {
background-color: #d1ff6d;
} }
/* /*
@ -225,22 +212,18 @@
#battery.critical, #battery.critical,
#custom-tailscale.Stopped, #custom-tailscale.Stopped,
#network.disconnected { #network.disconnected {
color: #d9eed2;
background-color: #fb0029;
} }
#battery.charging { #battery.charging {
background-color: #2a9b34;
} }
#battery.plugged { #battery.plugged {
background-color: #458588;
} }
#pulseaudio.bluetooth { #pulseaudio.bluetooth {
background-color: #458588;
} }
tooltip { tooltip {
color: #d9eed2;
font-size: 14px; font-size: 14px;
} }
''; '';
};
'';
};
} }