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