fix colors for wofi and hyprland
This commit is contained in:
parent
03b2f54a25
commit
9484494b01
6 changed files with 143 additions and 534 deletions
|
|
@ -5,42 +5,35 @@
|
||||||
nix-colors.homeManagerModules.default
|
nix-colors.homeManagerModules.default
|
||||||
];
|
];
|
||||||
|
|
||||||
# colorScheme = nix-colors.colorSchemes.catppuccin-macchiato;
|
|
||||||
|
|
||||||
colorScheme = {
|
colorScheme = {
|
||||||
slug = "test";
|
slug = "test";
|
||||||
name = "TestScheme";
|
name = "TestScheme";
|
||||||
author = "Noa";
|
author = "Noa";
|
||||||
palette = {
|
palette = {
|
||||||
base00 = "#000000";
|
base00 = "#26052e"; # background222c"; # background
|
||||||
base01 = "#0000FF";
|
base01 = "#950fad"; # lighter background"#282a36"; # lighter background
|
||||||
base02 = "#00FF00";
|
base02 = "#3A3C4E"; # selection background
|
||||||
base03 = "#00FFFF";
|
base03 = "#4D4F68"; # comments, invisibles, line highlighting
|
||||||
base04 = "#FF0000";
|
base04 = "#626483"; # dark foreground
|
||||||
base05 = "#FF00FF";
|
base05 = "#E9E9F4"; # foreground
|
||||||
base06 = "#FFFF00";
|
base06 = "#f8f8f2"; # light foreground
|
||||||
base07 = "#FFFFFF";
|
base07 = "#ffffff"; # lightest foreground
|
||||||
base08 = "#777777";
|
base08 = "#ff5555"; # red
|
||||||
base09 = "#7777FF";
|
base09 = "#f1fa8c"; # yellow
|
||||||
base0A = "#77FF77";
|
base0A = "#EBFF87"; # classes, markup, search text highlight
|
||||||
base0B = "#77FFFF";
|
base0B = "#50fa7b"; # green
|
||||||
base0C = "#FF7777";
|
base0C = "#8be9fd"; # cyan
|
||||||
base0D = "#FF77FF";
|
base0D = "#bd93f9"; # blue
|
||||||
base0E = "#FFFF77";
|
base0E = "#ff79c6"; # purple
|
||||||
base0F = "#AAAAAA";
|
base0F = "#00F769"; # deprecated
|
||||||
text = "#222222";
|
base10 = "#1D1D26"; # darker background
|
||||||
textInverted = "#DDDDDD";
|
base11 = "#1B1B23"; # darkest background
|
||||||
textMuted = "#DDDDDD";
|
base12 = "#ff6e6e"; # bright red
|
||||||
background = "#FFD2D2";
|
base13 = "#ffffa5"; # bright yellow
|
||||||
backgroundMuted = "#CCCCCC";
|
base14 = "#69ff94"; # bright green
|
||||||
warn = "#FF0000";
|
base15 = "#a4ffff"; # bright cyan
|
||||||
highlight = "#FBAF44";
|
base16 = "#d6acff"; # bright blue
|
||||||
danger = "#F53C3C";
|
base17 = "#ff92df"; # bright purple
|
||||||
succes = "#5BBD63";
|
|
||||||
spotifyGreen = "#39A04A";
|
|
||||||
border = "#5F5F5F";
|
|
||||||
info = "#2CB6AF";
|
|
||||||
ok = "#38B148";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -149,8 +149,8 @@ in
|
||||||
in highp vec2 texCoords;
|
in highp vec2 texCoords;
|
||||||
out vec4 stateColor;
|
out vec4 stateColor;
|
||||||
|
|
||||||
const vec4 bgColor = ${nix-colors.lib.conversions.hexToGLSLVec "26052e"}; // #26052e
|
const vec4 bgColor = ${nix-colors.lib.conversions.hexToGLSLVec config.colorScheme.palette.base00}; // #26052e
|
||||||
const vec4 fgColor = ${nix-colors.lib.conversions.hexToGLSLVec "950fad"}; // #950fad
|
const vec4 fgColor = ${nix-colors.lib.conversions.hexToGLSLVec config.colorScheme.palette.base01}; // #950fad
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
vec2 canvasSize = vec2(textureSize(tex2D, 0));
|
vec2 canvasSize = vec2(textureSize(tex2D, 0));
|
||||||
|
|
|
||||||
|
|
@ -91,8 +91,8 @@ in
|
||||||
gaps_in = "2";
|
gaps_in = "2";
|
||||||
gaps_out = "3";
|
gaps_out = "3";
|
||||||
border_size = "3";
|
border_size = "3";
|
||||||
"col.active_border" = "0xff950fad";
|
"col.active_border" = "0xff${config.colorScheme.palette.base01}";
|
||||||
"col.inactive_border" = "0xff26052e";
|
"col.inactive_border" = "0xff${config.colorScheme.palette.base01}";
|
||||||
};
|
};
|
||||||
misc = {
|
misc = {
|
||||||
key_press_enables_dpms = true;
|
key_press_enables_dpms = true;
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ in
|
||||||
./workspaces.nix
|
./workspaces.nix
|
||||||
./temperature.nix
|
./temperature.nix
|
||||||
./wireplumber.nix
|
./wireplumber.nix
|
||||||
|
../../common/colors.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
@ -74,7 +75,7 @@ in
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
color: #${config.colorScheme.palette.text};
|
color: #${config.colorScheme.palette.base05};
|
||||||
transition-property: background-color;
|
transition-property: background-color;
|
||||||
transition-duration: .5s;
|
transition-duration: .5s;
|
||||||
}
|
}
|
||||||
|
|
@ -111,22 +112,21 @@ in
|
||||||
min-width: 15px;
|
min-width: 15px;
|
||||||
min-height: 15px;
|
min-height: 15px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: #${config.colorScheme.palette.textMuted};
|
color: #${config.colorScheme.palette.base04};
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover {
|
#workspaces button:hover {
|
||||||
background-color: #${config.colorScheme.palette.highlight};
|
background-color: #${config.colorScheme.palette.base17};
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
color: #${config.colorScheme.palette.text};
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
background-color: #${config.colorScheme.palette.highlight};
|
background-color: #${config.colorScheme.palette.base0E};
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.urgent {
|
#workspaces button.urgent {
|
||||||
background-color: #${config.colorScheme.palette.danger};
|
background-color: #${config.colorScheme.palette.base08};
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock,
|
#clock,
|
||||||
|
|
@ -148,12 +148,12 @@ in
|
||||||
#custom-updates,
|
#custom-updates,
|
||||||
#custom-poweroff,
|
#custom-poweroff,
|
||||||
#mpd {
|
#mpd {
|
||||||
color: #${config.colorScheme.palette.textMuted};
|
color: #${config.colorScheme.palette.base04};
|
||||||
margin: 0px 2px;
|
margin: 0px 2px;
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
|
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
box-shadow: inset 0 0 0 1px #${config.colorScheme.palette.backgroundMuted};
|
box-shadow: inset 0 0 0 1px #${config.colorScheme.palette.base01};
|
||||||
}
|
}
|
||||||
|
|
||||||
.modules-right > widget:last-child > #battery {
|
.modules-right > widget:last-child > #battery {
|
||||||
|
|
@ -163,19 +163,19 @@ in
|
||||||
#tray {
|
#tray {
|
||||||
padding: 4px 10px;
|
padding: 4px 10px;
|
||||||
border-radius: 999px 999px 999px 999px;
|
border-radius: 999px 999px 999px 999px;
|
||||||
box-shadow: inset 0px 0px 0 1px #${config.colorScheme.palette.backgroundMuted};
|
box-shadow: inset 0px 0px 0 1px #${config.colorScheme.palette.base01};
|
||||||
}
|
}
|
||||||
|
|
||||||
#window {
|
#window {
|
||||||
margin-left: 6px;
|
margin-left: 6px;
|
||||||
color: #${config.colorScheme.palette.textMuted};
|
color: #${config.colorScheme.palette.base04};
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
margin: 0 4px;
|
margin: 0 4px;
|
||||||
padding: 4px 4px;
|
padding: 4px 4px;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
box-shadow: inset 0px 0px 0 1px #${config.colorScheme.palette.backgroundMuted};
|
box-shadow: inset 0px 0px 0 1px #${config.colorScheme.palette.base01};
|
||||||
}
|
}
|
||||||
|
|
||||||
#cpu {
|
#cpu {
|
||||||
|
|
@ -187,8 +187,8 @@ in
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
box-shadow: inset 0px 2px 0 -1px #${config.colorScheme.palette.backgroundMuted},
|
box-shadow: inset 0px 2px 0 -1px #${config.colorScheme.palette.base01},
|
||||||
inset 0px -2px 0 -1px #${config.colorScheme.palette.backgroundMuted};
|
inset 0px -2px 0 -1px #${config.colorScheme.palette.base01};
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock {
|
#clock {
|
||||||
|
|
@ -199,13 +199,13 @@ in
|
||||||
#battery {
|
#battery {
|
||||||
min-width: 50px;
|
min-width: 50px;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
box-shadow: inset 0 0 0 1px #${config.colorScheme.palette.backgroundMuted};
|
box-shadow: inset 0 0 0 1px #${config.colorScheme.palette.base01};
|
||||||
background-color: #${config.colorScheme.palette.backgroundMuted};
|
background-color: #${config.colorScheme.palette.base01};
|
||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.charging, #battery.plugged {
|
#battery.charging, #battery.plugged {
|
||||||
color: #${config.colorScheme.palette.succes};
|
color: #${config.colorScheme.palette.base0B};
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
animation: batteryCharging 1.2s linear 0s infinite normal forwards,
|
animation: batteryCharging 1.2s linear 0s infinite normal forwards,
|
||||||
}
|
}
|
||||||
|
|
@ -213,7 +213,7 @@ in
|
||||||
animation: batteryFull 7.0s linear 0s infinite normal forwards;
|
animation: batteryFull 7.0s linear 0s infinite normal forwards;
|
||||||
}
|
}
|
||||||
#battery.critical:not(.charging) {
|
#battery.critical:not(.charging) {
|
||||||
background-color: #${config.colorScheme.palette.background};
|
background-color: #${config.colorScheme.palette.base00};
|
||||||
animation: batteryCritical 1.2s linear 0s infinite normal forwards;
|
animation: batteryCritical 1.2s linear 0s infinite normal forwards;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -224,11 +224,11 @@ in
|
||||||
#network.disconnected,
|
#network.disconnected,
|
||||||
#pulseaudio.muted {
|
#pulseaudio.muted {
|
||||||
transition: all 0.2s;
|
transition: all 0.2s;
|
||||||
color: #${config.colorScheme.palette.backgroundMuted};
|
color: #${config.colorScheme.palette.base01};
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-spotify {
|
.custom-spotify {
|
||||||
color: #${config.colorScheme.palette.spotifyGreen};
|
color: #${config.colorScheme.palette.base14};
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -239,7 +239,7 @@ in
|
||||||
|
|
||||||
#temperature.critical {
|
#temperature.critical {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: #${config.colorScheme.palette.danger};
|
color: #${config.colorScheme.palette.base08};
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray {
|
#tray {
|
||||||
|
|
@ -252,7 +252,7 @@ in
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray > .needs-attention {
|
#tray > .needs-attention {
|
||||||
background-color: #${config.colorScheme.palette.danger};
|
background-color: #${config.colorScheme.palette.base08};
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -263,107 +263,16 @@ in
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-updates {
|
|
||||||
box-shadow: inset 0 0 0 1px #${config.colorScheme.palette.backgroundMuted};
|
|
||||||
color: #${config.colorScheme.palette.textMuted};
|
|
||||||
transition: all 0.5s;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-updates.pending {
|
|
||||||
box-shadow: inset 0 0 0 2px #${config.colorScheme.palette.highlight};
|
|
||||||
color: #${config.colorScheme.palette.highlight};
|
|
||||||
font-weight: bold;
|
|
||||||
transition: all 0.5s;
|
|
||||||
}
|
|
||||||
|
|
||||||
tooltip {
|
tooltip {
|
||||||
background-color: #${config.colorScheme.palette.background};
|
background-color: #${config.colorScheme.palette.base00};
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
border-color: #${config.colorScheme.palette.border};
|
border-color: #${config.colorScheme.palette.base04};
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
color: #${config.colorScheme.palette.text};
|
color: #${config.colorScheme.palette.base05};
|
||||||
}
|
}
|
||||||
tooltip label {
|
tooltip label {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Keyframes ---------------------------------------------------------------- */
|
|
||||||
|
|
||||||
@keyframes batteryCritical {
|
|
||||||
0% {
|
|
||||||
box-shadow: inset 0px 20px 8px -16px #${config.colorScheme.palette.danger},
|
|
||||||
inset 0px -20px 8px -16px #${config.colorScheme.palette.danger};
|
|
||||||
color: #${config.colorScheme.palette.danger};
|
|
||||||
}
|
|
||||||
50% {
|
|
||||||
box-shadow: inset 0px 12px 8px -16px #${config.colorScheme.palette.danger},
|
|
||||||
inset 0px -12px 8px -16px #${config.colorScheme.palette.danger};
|
|
||||||
color: #${config.colorScheme.palette.textMuted};
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
box-shadow: inset 0px 20px 8px -16px #${config.colorScheme.palette.danger},
|
|
||||||
inset 0px -20px 8px -16px #${config.colorScheme.palette.danger};
|
|
||||||
color: #${config.colorScheme.palette.danger};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes batteryCharging {
|
|
||||||
0% {
|
|
||||||
box-shadow: inset 0px 0px 8px 0px #${config.colorScheme.palette.info},
|
|
||||||
inset 0px 20px 8px -18px #${config.colorScheme.palette.ok},
|
|
||||||
inset 0px -20px 8px -18px #${config.colorScheme.palette.ok};
|
|
||||||
}
|
|
||||||
25% {
|
|
||||||
box-shadow: inset 0px 0px 8px 0px #${config.colorScheme.palette.info},
|
|
||||||
inset 14px 14px 8px -18px #${config.colorScheme.palette.ok},
|
|
||||||
inset -14px -14px 8px -18px #${config.colorScheme.palette.ok};
|
|
||||||
}
|
|
||||||
50% {
|
|
||||||
box-shadow: inset 0px 0px 8px 0px #${config.colorScheme.palette.info},
|
|
||||||
inset 20px 0px 8px -18px #${config.colorScheme.palette.ok},
|
|
||||||
inset -20px 0px 8px -18px #${config.colorScheme.palette.ok};
|
|
||||||
}
|
|
||||||
75% {
|
|
||||||
box-shadow: inset 0px 0px 8px 0px #${config.colorScheme.palette.info},
|
|
||||||
inset 14px -14px 8px -18px #${config.colorScheme.palette.ok},
|
|
||||||
inset -14px 14px 8px -18px #${config.colorScheme.palette.ok};
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
box-shadow: inset 0px 0px 8px 0px #${config.colorScheme.palette.info},
|
|
||||||
inset 0px -20px 8px -18px #${config.colorScheme.palette.ok},
|
|
||||||
inset 0px 20px 8px -18px #${config.colorScheme.palette.ok};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@keyframes batteryFull {
|
|
||||||
0% {
|
|
||||||
box-shadow: inset 0px 20px 8px -16px #${config.colorScheme.palette.warn},
|
|
||||||
inset 0px -20px 8px -16px #${config.colorScheme.palette.warn};
|
|
||||||
color: #${config.colorScheme.palette.warn};
|
|
||||||
}
|
|
||||||
25% {
|
|
||||||
box-shadow: inset 0px 19px 8px -16px #${config.colorScheme.palette.warn},
|
|
||||||
inset 0px -19px 8px -16px #${config.colorScheme.palette.warn};
|
|
||||||
color: #${config.colorScheme.palette.warn};
|
|
||||||
}
|
|
||||||
50% {
|
|
||||||
box-shadow: inset 0px 15px 8px -16px #${config.colorScheme.palette.warn},
|
|
||||||
inset 0px -15px 8px -16px #${config.colorScheme.palette.warn};
|
|
||||||
color: #${config.colorScheme.palette.warn};
|
|
||||||
}
|
|
||||||
75% {
|
|
||||||
box-shadow: inset 0px 19px 8px -16px #${config.colorScheme.palette.warn},
|
|
||||||
inset 0px -19px 8px -16px #${config.colorScheme.palette.warn};
|
|
||||||
color: #${config.colorScheme.palette.warn};
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
box-shadow: inset 0px 20px 8px -16px #${config.colorScheme.palette.warn},
|
|
||||||
inset 0px -20px 8px -16px #${config.colorScheme.palette.warn};
|
|
||||||
color: #${config.colorScheme.palette.warn};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,6 @@ in
|
||||||
poweroff="Poweroff"
|
poweroff="Poweroff"
|
||||||
reboot="Reboot"
|
reboot="Reboot"
|
||||||
sleep="Suspend"
|
sleep="Suspend"
|
||||||
|
|
||||||
selected_option=$(echo -e "$lock\n$sleep\n$reboot\n$poweroff" | wofi --dmenu -i -p "Powermenu")
|
selected_option=$(echo -e "$lock\n$sleep\n$reboot\n$poweroff" | wofi --dmenu -i -p "Powermenu")
|
||||||
|
|
||||||
if [ "$selected_option" == "$lock" ]
|
if [ "$selected_option" == "$lock" ]
|
||||||
|
|
@ -55,7 +54,7 @@ in
|
||||||
#window {
|
#window {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
border: none;
|
border: none;
|
||||||
background-color: #${config.colorScheme.palette.background};
|
background-color: #${config.colorScheme.palette.base01};
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
font-family:
|
font-family:
|
||||||
JetBrains Mono NF,
|
JetBrains Mono NF,
|
||||||
|
|
@ -66,7 +65,7 @@ in
|
||||||
|
|
||||||
#outer-box {
|
#outer-box {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
border: 2px #${config.colorScheme.palette.backgroundMuted};
|
border: 2px #${config.colorScheme.palette.base00};
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
@ -75,17 +74,17 @@ in
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
color: #${config.colorScheme.palette.info};
|
color: #${config.colorScheme.palette.base05};
|
||||||
outline-style: none;
|
outline-style: none;
|
||||||
background-color: #${config.colorScheme.palette.background};
|
background-color: #${config.colorScheme.palette.base03};
|
||||||
}
|
}
|
||||||
|
|
||||||
#scroll {
|
#scroll {
|
||||||
border: 10px solid #${config.colorScheme.palette.border};
|
border: 5px solid #${config.colorScheme.palette.base02};
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
/*padding-right: 10px;*/
|
/*padding-right: 10px;*/
|
||||||
outline: none;
|
outline: none;
|
||||||
background-color: #${config.colorScheme.palette.background};
|
background-color: #${config.colorScheme.palette.base00};
|
||||||
}
|
}
|
||||||
|
|
||||||
#inner-box {
|
#inner-box {
|
||||||
|
|
@ -96,22 +95,22 @@ in
|
||||||
|
|
||||||
#entry {
|
#entry {
|
||||||
border: none;
|
border: none;
|
||||||
/*border-radius: 10px;
|
border-radius: 10px;
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
margin-left: 15px;*/
|
margin-left: 15px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
color: #${config.colorScheme.palette.text};
|
color: #${config.colorScheme.palette.base05};
|
||||||
background-color: #${config.colorScheme.palette.background};
|
background-color: #${config.colorScheme.palette.base00};
|
||||||
}
|
}
|
||||||
#entry:selected {
|
#entry:selected {
|
||||||
border: none;
|
border: none;
|
||||||
background-color: #${config.colorScheme.palette.info};
|
background-color: #${config.colorScheme.palette.base02};
|
||||||
}
|
}
|
||||||
|
|
||||||
#text:selected {
|
#text:selected {
|
||||||
border: none;
|
border: none;
|
||||||
color: #${config.colorScheme.palette.textMuted};
|
color: #${config.colorScheme.palette.base05};
|
||||||
}
|
}
|
||||||
|
|
||||||
#img {
|
#img {
|
||||||
|
|
|
||||||
|
|
@ -1,292 +0,0 @@
|
||||||
* {
|
|
||||||
/* `otf-font-awesome` is required to be installed for icons */
|
|
||||||
font-family: "Maple Mono NF";
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
window#waybar {
|
|
||||||
background-color: transparent;
|
|
||||||
border-bottom: none;
|
|
||||||
color: #ffffff;
|
|
||||||
transition-property: background-color;
|
|
||||||
transition-duration: .5s;
|
|
||||||
}
|
|
||||||
window#waybar.hidden {
|
|
||||||
opacity: 0.2;
|
|
||||||
}
|
|
||||||
|
|
||||||
window#waybar.termite {
|
|
||||||
background-color: #3F3F3F;
|
|
||||||
}
|
|
||||||
|
|
||||||
window#waybar.chromium {
|
|
||||||
background-color: #000000;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
/* Use box-shadow instead of border so the text isn't offset */
|
|
||||||
box-shadow: inset 0 -1px transparent;
|
|
||||||
/* Avoid rounded borders under each button name */
|
|
||||||
border: none;
|
|
||||||
border-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
|
||||||
button:hover {
|
|
||||||
background: inherit;
|
|
||||||
box-shadow: inset 0 -1px #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button {
|
|
||||||
padding: 0 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button:hover {
|
|
||||||
background: #1f2430;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.active {
|
|
||||||
color: #80BFFF;
|
|
||||||
box-shadow: inset 0 -1px #80BFFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.urgent {
|
|
||||||
background-color: #eb4d4b;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mode {
|
|
||||||
background-color: #64727D;
|
|
||||||
border-bottom: 3px solid #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock,
|
|
||||||
#battery,
|
|
||||||
#cpu,
|
|
||||||
#memory,
|
|
||||||
#disk,
|
|
||||||
#temperature,
|
|
||||||
#backlight,
|
|
||||||
#network,
|
|
||||||
#pulseaudio,
|
|
||||||
#wireplumber,
|
|
||||||
#custom-media,
|
|
||||||
#tray,
|
|
||||||
#mode,
|
|
||||||
#idle_inhibitor,
|
|
||||||
#scratchpad,
|
|
||||||
#mpd {
|
|
||||||
padding: 0 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#window,
|
|
||||||
#workspaces {
|
|
||||||
margin: 0 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* If workspaces is the leftmost module, omit left margin */
|
|
||||||
.modules-left > widget:first-child > #workspaces {
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* If workspaces is the rightmost module, omit right margin */
|
|
||||||
.modules-right > widget:last-child > #workspaces {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock {
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
|
||||||
#clock > tooltip {
|
|
||||||
background-color: #ffffff;
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery {
|
|
||||||
background-color: #ffffff;
|
|
||||||
color: #000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.charging, #battery.plugged {
|
|
||||||
color: #ffffff;
|
|
||||||
background-color: #26A65B;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes blink {
|
|
||||||
to {
|
|
||||||
background-color: #ffffff;
|
|
||||||
color: #000000;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.critical:not(.charging) {
|
|
||||||
background-color: #f53c3c;
|
|
||||||
color: #ffffff;
|
|
||||||
animation-name: blink;
|
|
||||||
animation-duration: 0.5s;
|
|
||||||
animation-timing-function: linear;
|
|
||||||
animation-iteration-count: infinite;
|
|
||||||
animation-direction: alternate;
|
|
||||||
}
|
|
||||||
|
|
||||||
label:focus {
|
|
||||||
background-color: #000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cpu {
|
|
||||||
background-color: transparent;
|
|
||||||
color: #87D96C;
|
|
||||||
}
|
|
||||||
|
|
||||||
#memory {
|
|
||||||
background-color: transparent;
|
|
||||||
color: #DFBFFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
#disk {
|
|
||||||
background-color: transparent;
|
|
||||||
color: #FFAD66;
|
|
||||||
}
|
|
||||||
|
|
||||||
#backlight {
|
|
||||||
background-color: #90b1b1;
|
|
||||||
}
|
|
||||||
|
|
||||||
#network {
|
|
||||||
background-color: transparent;
|
|
||||||
color: #80BFFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
#network.disconnected {
|
|
||||||
background-color: #f53c3c;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio {
|
|
||||||
background-color: transparent;
|
|
||||||
color: #F29E74;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio.muted {
|
|
||||||
background-color: #90b1b1;
|
|
||||||
color: #2a5c45;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wireplumber {
|
|
||||||
background-color: #fff0f5;
|
|
||||||
color: #000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wireplumber.muted {
|
|
||||||
background-color: #f53c3c;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-pronouns {
|
|
||||||
background-color: #660000;
|
|
||||||
transition: all 0.2s ease-in-out;
|
|
||||||
padding: 0 5px;
|
|
||||||
margin: 0 5px;
|
|
||||||
border-radius:999px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-poweroff {
|
|
||||||
background-color: #343946;
|
|
||||||
border-radius: 999px;
|
|
||||||
padding: 0px 5px;
|
|
||||||
margin: 5px 5px 5px 0px;
|
|
||||||
transition: all 0.2s ease-in-out;
|
|
||||||
}
|
|
||||||
#custom-poweroff:hover {
|
|
||||||
background-color: #f53c3c;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.custom-spotify {
|
|
||||||
color: #87D96C;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-media.custom-vlc {
|
|
||||||
background-color: #ffa000;
|
|
||||||
}
|
|
||||||
|
|
||||||
#temperature {
|
|
||||||
background-color: transparent;
|
|
||||||
color: #ffcc66;
|
|
||||||
}
|
|
||||||
|
|
||||||
#temperature.critical {
|
|
||||||
background-color: transparent;
|
|
||||||
color: #eb4d4b;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray {
|
|
||||||
background-color: #1f2430;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray > .passive {
|
|
||||||
-gtk-icon-effect: dim;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray > .needs-attention {
|
|
||||||
-gtk-icon-effect: highlight;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#idle_inhibitor {
|
|
||||||
background-color: #2d3436;
|
|
||||||
}
|
|
||||||
|
|
||||||
#idle_inhibitor.activated {
|
|
||||||
background-color: #ecf0f1;
|
|
||||||
color: #2d3436;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mpd {
|
|
||||||
background-color: #66cc99;
|
|
||||||
color: #2a5c45;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mpd.disconnected {
|
|
||||||
background-color: #f53c3c;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mpd.stopped {
|
|
||||||
background-color: #90b1b1;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mpd.paused {
|
|
||||||
background-color: #51a37a;
|
|
||||||
}
|
|
||||||
|
|
||||||
#language {
|
|
||||||
background: #00b093;
|
|
||||||
color: #740864;
|
|
||||||
padding: 0 5px;
|
|
||||||
margin: 0 5px;
|
|
||||||
min-width: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#keyboard-state {
|
|
||||||
background: #97e1ad;
|
|
||||||
color: #000000;
|
|
||||||
padding: 0 0px;
|
|
||||||
margin: 0 5px;
|
|
||||||
min-width: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#keyboard-state > label {
|
|
||||||
padding: 0 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#keyboard-state > label.locked {
|
|
||||||
background: rgba(0, 0, 0, 0.2);
|
|
||||||
}
|
|
||||||
|
|
||||||
#scratchpad {
|
|
||||||
background: rgba(0, 0, 0, 0.2);
|
|
||||||
}
|
|
||||||
|
|
||||||
#scratchpad.empty {
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue