waybar - updated alhp-utils module

This commit is contained in:
2025-05-05 13:02:52 +02:00
parent a2a6395e95
commit 3771ca9115
5 changed files with 152 additions and 159 deletions

View File

@@ -1,9 +1,7 @@
/*base background color*/
@define-color bg_main rgba(25, 25, 25, 0.65);
@define-color bg_main_tooltip rgba(0, 0, 0, 0.7);
/*base background color of selections */
@define-color bg_hover rgba(200, 200, 200, 0.3);
/*base background color of active elements */
@@ -18,132 +16,133 @@
@define-color content_inactive rgba(255, 255, 255, 0.25);
* {
text-shadow: none;
box-shadow: none;
border: none;
border-radius: 0;
font-family: "Inconsolata Go Nerd Font";
font-size: 14px;
text-shadow: none;
box-shadow: none;
border: none;
border-radius: 0;
font-family: "Inconsolata Go Nerd Font";
font-size: 14px;
}
window#waybar {
background: @bg_main;
border-top: 1px solid @border_main;
color: @content_main;
background: @bg_main;
border-top: 1px solid @border_main;
color: @content_main;
}
tooltip {
font-size: 14px;
background: @bg_main_tooltip;
border-radius: 5px;
border-width: 1px;
border-style: solid;
border-color: @border_main;
font-size: 14px;
background: @bg_main_tooltip;
border-radius: 5px;
border-width: 1px;
border-style: solid;
border-color: @border_main;
}
tooltip label{
color: @content_main;
tooltip label {
color: @content_main;
}
.module {
margin-left: 2px;
margin-right: 2px;
margin-left: 2px;
margin-right: 2px;
}
#workspaces {
color: transparent;
margin-right: 1.5px;
margin-left: 1.5px;
color: transparent;
margin-right: 1.5px;
margin-left: 1.5px;
}
#workspaces button {
padding: 3px;
color: @content_inactive;
padding: 3px;
color: @content_inactive;
}
#workspaces button.active {
color: whitesmoke;
background: @bg_active;
color: whitesmoke;
background: @bg_active;
}
#workspaces button.focused {
color: @bg_active;
color: @bg_active;
}
#workspaces button.urgent {
background: rgba(255, 200, 0, 0.35);
color: @warning_color;
background: rgba(255, 200, 0, 0.35);
color: @warning_color;
}
#workspaces button:hover {
background: @bg_hover;
color: @content_main;
background: @bg_hover;
color: @content_main;
}
#cpu, #disk, #memory {
border-bottom: 1px solid grey;
padding-right: 5px;
padding-left: 5px;
#cpu,
#disk,
#memory {
border-bottom: 1px solid grey;
padding-right: 5px;
padding-left: 5px;
}
#tray{
padding-left: 5px;
padding-right: 5px;
#tray {
padding-left: 5px;
padding-right: 5px;
}
#tray > .passive {
border-bottom: none;
border-bottom: none;
}
#tray > .active {
}
#tray > .needs-attention {
border-bottom: 3px solid @warning_color;
border-bottom: 3px solid @warning_color;
}
#tray > widget {
transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#tray > widget:hover {
background: @bg_hover;
background: @bg_hover;
}
#pulseaudio {
border-bottom: 1px solid grey;
padding-right: 5px;
padding-left: 5px;
transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
border-bottom: 1px solid grey;
padding-right: 5px;
padding-left: 5px;
transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#pulseaudio:hover {
background: @bg_hover;
background: @bg_hover;
}
#network {
border-bottom: 1px solid grey;
padding-right: 5px;
padding-left: 5px;
border-bottom: 1px solid grey;
padding-right: 5px;
padding-left: 5px;
}
#clock {
padding-right: 5px;
padding-left: 5px;
transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
padding-right: 5px;
padding-left: 5px;
transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#clock:hover {
background: @bg_hover;
background: @bg_hover;
}
#privacy {
}
#privacy-item {
padding-left: 5px;
padding-right: 5px;
padding-left: 5px;
padding-right: 5px;
}
#privacy-item.screenshare {
background: #850404;
background: #850404;
}
#privacy-item.audio-in {
background: #6c045e;
background: #6c045e;
}
#privacy-item.audio-out {
background: #02605b;
background: #02605b;
}
#mpris {
padding-left: 5px;
padding-right: 5px;
padding-left: 5px;
padding-right: 5px;
}
#mpris.playing {
}
@@ -152,33 +151,33 @@ tooltip label{
#mpris.stopped {
}
#mpris.firefox {
border-bottom: 1px solid #fd8728;
border-bottom: 1px solid #fd8728;
}
#mpris.spotify {
border-bottom: 1px solid #17d860;
border-bottom: 1px solid #17d860;
}
#mpris.mpv {
border-bottom: 1px solid #420042;
border-bottom: 1px solid #420042;
}
#mpris.chromium {
border-bottom: 1px solid #1a73e8;
border-bottom: 1px solid #1a73e8;
}
#bluetooth {
padding-right: 5px;
padding-left: 5px;
padding-right: 5px;
padding-left: 5px;
}
#bluetooth.disabled {
border-bottom: 1px solid grey;
border-bottom: 1px solid grey;
}
#bluetooth.off {
border-bottom: 1px solid grey;
border-bottom: 1px solid grey;
}
#bluetooth.on {
border-bottom: 1px solid #0059fd;
border-bottom: 1px solid #0059fd;
}
#bluetooth.connected {
border-bottom: 1px solid #00b7fa;
border-bottom: 1px solid #00b7fa;
}
#bluetooth.discoverable {
}
@@ -187,16 +186,19 @@ tooltip label{
#bluetooth.pairable {
}
#bluetooth.no-controller {
background: darkred;
background: darkred;
}
#custom-alhp {
padding-left: 5px;
padding-right: 5px;
padding-left: 5px;
padding-right: 5px;
}
#custom-alhp.good {
border-bottom: 1px solid greenyellow;
border-bottom: 1px solid greenyellow;
}
#custom-alhp.stale {
border-bottom: 1px solid yellow;
}
#custom-alhp.bad {
border-bottom: 1px solid orangered;
border-bottom: 1px solid orangered;
}