mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
waybar
This commit is contained in:
parent
2b1a4832fc
commit
a3fe7ffecf
1 changed files with 40 additions and 17 deletions
|
|
@ -303,75 +303,98 @@
|
|||
};
|
||||
style = ''
|
||||
/*
|
||||
* Tokyo Night
|
||||
* Tokyo Night, with custom clock and battery
|
||||
*/
|
||||
|
||||
@define-color-default-text #c0caf5;
|
||||
@define-color-default-bg #1a1b26;
|
||||
@define-color-default-bg-dark #16161e;
|
||||
|
||||
@define-color-red #f7768e;
|
||||
@define-color-green #9ece6a;
|
||||
@define-color-yellow #e0af68;
|
||||
@define-color-blue #7aa2f7;
|
||||
@define-color-purple #bb9af7;
|
||||
@define-color-cyan #7dcfff;
|
||||
|
||||
/* Catppuccin colors for clock and battery */
|
||||
@define-color-cat-blue #89b4fa;
|
||||
@define-color-cat-red #f38ba8;
|
||||
@define-color-cat-green #a6e3a1;
|
||||
@define-color-cat-yellow #f9e2af;
|
||||
|
||||
* {
|
||||
font-family: "JetBrainsMono Nerd Font", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: #1a1b26;
|
||||
color: #c0caf5;
|
||||
transition-property: background-color;
|
||||
transition-duration: .5s;
|
||||
background-color: @default-bg;
|
||||
color: @default-text;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
background-color: transparent;
|
||||
color: #c0caf5;
|
||||
color: @default-text;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: #bb9af7;
|
||||
border-bottom: 2px solid #bb9af7;
|
||||
color: @purple;
|
||||
border-bottom: 2px solid @purple;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: #16161e;
|
||||
background: @default-bg-dark;
|
||||
}
|
||||
|
||||
#clock, #battery, #cpu, #memory, #network, #pulseaudio, #tray, #window {
|
||||
padding: 0 10px;
|
||||
margin: 3px 4px;
|
||||
border-radius: 8px;
|
||||
background-color: #16161e;
|
||||
background-color: @default-bg-dark;
|
||||
}
|
||||
|
||||
#clock {
|
||||
background-color: #7aa2f7;
|
||||
background-color: @cat-blue;
|
||||
color: #1a1b26;
|
||||
}
|
||||
|
||||
#battery {
|
||||
background-color: #f7768e;
|
||||
background-color: @cat-red;
|
||||
color: #1a1b26;
|
||||
}
|
||||
|
||||
#battery.charging, #battery.plugged {
|
||||
background-color: #9ece6a;
|
||||
background-color: @cat-green;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
background-color: @cat-yellow;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: @cat-red;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
background-color: #e0af68;
|
||||
background-color: @yellow;
|
||||
color: #1a1b26;
|
||||
}
|
||||
|
||||
#memory {
|
||||
background-color: #7dcfff;
|
||||
background-color: @cyan;
|
||||
color: #1a1b26;
|
||||
}
|
||||
|
||||
#network {
|
||||
background-color: #9ece6a;
|
||||
background-color: @green;
|
||||
color: #1a1b26;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
background-color: #bb9af7;
|
||||
background-color: @purple;
|
||||
color: #1a1b26;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue