feat(waybar): refine
This commit is contained in:
@@ -48,8 +48,7 @@
|
|||||||
"active-only": false,
|
"active-only": false,
|
||||||
},
|
},
|
||||||
"hyprland/window": {
|
"hyprland/window": {
|
||||||
"format": "{initialTitle}",
|
"format": "{title}",
|
||||||
"icon": true
|
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"show-passive-items": true,
|
"show-passive-items": true,
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
@define-color bg #1e1e2e;
|
@define-color bg #1e1e2e;
|
||||||
|
@define-color accent #ffffff;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
font-family: "Adwaita Sans", "JetBrainsMono Nerd Font";
|
font-family: "Adwaita Sans", "JetBrainsMono Nerd Font";
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 500;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
@@ -22,23 +23,22 @@ window#waybar.empty #window {
|
|||||||
padding: 0.1rem 0.6rem;
|
padding: 0.1rem 0.6rem;
|
||||||
margin: 0.1rem 0.25rem;
|
margin: 0.1rem 0.25rem;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
/* background-color: #181825; */
|
background-color: alpha(@bg, 0.6);
|
||||||
background-color: #1e1e2e;
|
|
||||||
color: #cdd6f4;
|
color: #cdd6f4;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover {
|
#workspaces button:hover {
|
||||||
color: #1e1e2e;
|
color: #1e1e2e;
|
||||||
background-color: #cdd6f4;
|
background-color: alpha(#cdd6f4, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
background-color: #1e1e2e;
|
background-color: alpha(@accent, 0.6);
|
||||||
color: #89b4fa;
|
color: black
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.urgent {
|
#workspaces button.urgent {
|
||||||
background-color: #1e1e2e;
|
background-color: alpha(@bg, 0.5);
|
||||||
color: #f38ba8;
|
color: #f38ba8;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ window#waybar.empty #window {
|
|||||||
margin: 0.1rem 0.25rem;
|
margin: 0.1rem 0.25rem;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
/* background-color: #181825; */
|
/* background-color: #181825; */
|
||||||
background-color: alpha(@bg, 0.7);
|
background-color: alpha(@bg, 0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
#mpris.playing {
|
#mpris.playing {
|
||||||
@@ -73,7 +73,7 @@ window#waybar.empty #window {
|
|||||||
padding: 0px;
|
padding: 0px;
|
||||||
color: #585b70;
|
color: #585b70;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
#cpu {
|
#cpu {
|
||||||
color: #94e2d5;
|
color: #94e2d5;
|
||||||
}
|
}
|
||||||
@@ -119,4 +119,4 @@ tooltip {
|
|||||||
background-color: #181825;
|
background-color: #181825;
|
||||||
border: 2px solid #89b4fa;
|
border: 2px solid #89b4fa;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user