waybar fixes

This commit is contained in:
2024-11-04 14:37:53 +01:00
parent 34e94621b8
commit 3b6cbf4398

View File

@@ -31,7 +31,7 @@
"tray"
];
# Modules configuration
# "sway/workspaces = {
# sway/workspaces = {
# "disable-scroll = true,
# "all-outputs = true,
# "warp-on-scroll = false,
@@ -50,38 +50,38 @@
"hyprland/workspaces" = {
active-only = false;
format = "{icon}";
# format-icons = {
# 1 = "一";
# 2 = "二";
# 3 = "三";
# 4 = "四";
# 5 = "五";
# 6 = "六";
# 7 = "七";
# 8 = "八";
# 9 = "九";
# 10 = "十";
# 11 = "一";
# 12 = "二";
# 13 = "三";
# 14 = "四";
# 15 = "五";
# 16 = "六";
# 17 = "七";
# 18 = "八";
# 19 = "九";
# 20 = "十";
# 21 = "一";
# 22 = "二";
# 23 = "三";
# 24 = "四";
# 25 = "五";
# 26 = "六";
# 27 = "七";
# 28 = "八";
# 29 = "九";
# 30 = "十";
# };
format-icons = {
"1" = "";
"2" = "";
"3" = "";
"4" = "";
"5" = "";
"6" = "";
"7" = "";
"8" = "";
"9" = "";
"10" = "";
"11" = "";
"12" = "";
"13" = "";
"14" = "";
"15" = "";
"16" = "";
"17" = "";
"18" = "";
"19" = "";
"20" = "";
"21" = "";
"22" = "";
"23" = "";
"24" = "";
"25" = "";
"26" = "";
"27" = "";
"28" = "";
"29" = "";
"30" = "";
};
on-scroll-up = "hyprctl dispatch workspace e+1";
on-scroll-down = "hyprctl dispatch workspace e-1";
persistent-workspaces = {
@@ -290,8 +290,8 @@
}
window#waybar {
background-color: @background-hard-contrast;
color: @foreground;
background-color: @surface;
color: @text;
transition-property: background-color;
transition-duration: 0.5s;
border-radius: 10px;
@@ -321,8 +321,8 @@
#workspaces button {
box-shadow: inset 0 -3px transparent;
padding: 0 8px;
background-color: @background;
color: @foreground;
background-color: @base;
color: @text;
border: none;
border-radius: 0;
font-weight: 800;
@@ -339,36 +339,36 @@
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
background-color: @background-soft-contrast;
background-color: @overlay;
/* box-shadow: inset 0 -100px 0 -97px @bright-yellow; */
}
#workspaces button.empty {
color: @foreground-soft-contrast;
color: @muted;
box-shadow: inherit;
text-shadow: inherit;
}
#workspaces button.active {
color: @yellow;
color: @gold;
box-shadow: inset 0 -100px 0 -97px @bright-yellow;
text-shadow: inherit;
}
#workspaces button.focused {
background-color: @background-soft-contrast;
color: @foreground;
background-color: @overlay;
color: @text;
/* box-shadow: inset 0 -100px 0 -97px @bright-yellow; */
}
#workspaces button.urgent {
background-color: @bright-red;
color: @background;
background-color: @love;
color: @base;
}
#mode {
background-color: @background-soft-contrast;
border-bottom: 3px solid @yellow;
background-color: @overlay;
border-bottom: 3px solid @gold;
}
#cava,
@@ -394,7 +394,7 @@
#scratchpad,
#mpd {
padding: 0 10px;
color: @foreground;
color: @text;
}
#window,
@@ -404,7 +404,7 @@
}
.modules-right {
background-color: @background-soft-contrast;
background-color: @overlay;
border-radius: 10px;
}
@@ -419,15 +419,15 @@
}
#mpris {
color: @yellow;
color: @gold;
}
#clock {
color: @yellow;
color: @gold;
}
#battery {
color: @blue;
color: @foam;
}
#battery.charging,
@@ -470,20 +470,20 @@
}
#cpu {
color: @blue;
color: @foam;
}
#memory {
color: @magenta;
color: @iris;
}
#network {
color: @blue;
color: @foam;
}
#network.disconnected {
background-color: @bright-red;
color: @background;
background-color: @love;
color: @base;
}
/*#disk {
@@ -493,15 +493,15 @@
#pulseaudio,
#pulseaudio.muted,
#pulseaudio.bluetooth {
color: @cyan;
color: @pine;
}
#tray {
}
#tray > .needs-attention {
background-color: @bright-red;
color: @background;
background-color: @love;
color: @base;
}
#idle_inhibitor {