mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
waybar: update
This commit is contained in:
parent
ebcb7c3fc7
commit
cedb8fc257
2 changed files with 23 additions and 94 deletions
|
|
@ -35,6 +35,6 @@
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"format": " {}%"
|
"format": " {}%"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
115
waybar/style.css
115
waybar/style.css
|
|
@ -1,123 +1,52 @@
|
||||||
@import "colors.css";
|
@import "colors.css";
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "JetBrainsMono Nerd Font";
|
font-family: "Iosevka Nerd Font Propo";
|
||||||
font-size: 18px;
|
font-size: 22px;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
font-weight: bold;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background: transparent;
|
color: @text;
|
||||||
background-color: @mantle;
|
background: @mantle;
|
||||||
color: @overlay0;
|
|
||||||
transition-property: background-color;
|
|
||||||
transition-duration: 0.1s;
|
|
||||||
}
|
|
||||||
|
|
||||||
#window {
|
|
||||||
margin: 8px;
|
|
||||||
padding-left: 8;
|
|
||||||
padding-right: 8;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Workspace buttons */
|
||||||
button {
|
button {
|
||||||
/*box-shadow: inset 0 -3px transparent;*/
|
color: @blue;
|
||||||
|
box-shadow: inset 0 3px transparent;
|
||||||
border: none;
|
border: none;
|
||||||
padding-bottom: 2px;
|
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover,
|
button:hover,
|
||||||
#workspaces button.active,
|
button.active,
|
||||||
#workspaces button.focused {
|
button.focused {
|
||||||
/*background: inherit;*/
|
background: inherit;
|
||||||
color: @blue;
|
box-shadow: inset 0 3px @blue;
|
||||||
padding-bottom: 3px;
|
|
||||||
border-top: 3px solid @blue;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
.modules-right {
|
||||||
padding: 0 8px;
|
margin-right: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.active,
|
.modules-right > widget > * {
|
||||||
#workspaces button.focused {
|
padding: 0 .4em;
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.urgent {
|
.modules-right > widget:not(:last-child) > * {
|
||||||
background-color: @red;
|
margin-right: .4em;
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio,
|
|
||||||
#clock,
|
|
||||||
#battery,
|
|
||||||
#cpu,
|
|
||||||
#memory,
|
|
||||||
#disk,
|
|
||||||
#temperature,
|
|
||||||
#backlight,
|
|
||||||
#wireplumber,
|
|
||||||
#tray,
|
|
||||||
#network,
|
|
||||||
#mode,
|
|
||||||
#scratchpad {
|
|
||||||
margin-bottom: 2px;
|
|
||||||
margin-left: 8px;
|
|
||||||
margin-right: 8px;
|
|
||||||
padding-left: 8px;
|
|
||||||
padding-right: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock {
|
|
||||||
color: @mauve;
|
|
||||||
border-bottom: 2px solid @mauve;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock.date {
|
|
||||||
color: @mauve;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio {
|
|
||||||
color: @blue;
|
|
||||||
}
|
|
||||||
|
|
||||||
#network {
|
|
||||||
color: @yellow;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#cpu {
|
#cpu {
|
||||||
color: @sky;
|
color: @sky;
|
||||||
border-bottom: 2px solid @sapphire;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#memory {
|
#memory {
|
||||||
color: @peach;
|
color: @peach;
|
||||||
border-bottom: 2px solid @peach;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#idle_inhibitor {
|
#clock {
|
||||||
margin-right: 12px;
|
color: @mauve;
|
||||||
color: @green;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#idle_inhibitor.activated {
|
|
||||||
color: @red;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery {
|
|
||||||
color: @green;
|
|
||||||
border-bottom: 2px solid @green;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue