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