First commit
This commit is contained in:
commit
1808168211
7 changed files with 396 additions and 0 deletions
114
templates/style.css.j2
Normal file
114
templates/style.css.j2
Normal file
|
@ -0,0 +1,114 @@
|
|||
|
||||
@define-color color-base-bg {{ waybar_style.colors.bg }};
|
||||
@define-color color-base-fg {{ waybar_style.colors.fg }};
|
||||
|
||||
@define-color color-hover {{ waybar_style.colors.hover }};
|
||||
@define-color color-selected {{ waybar_style.colors.selected }};
|
||||
|
||||
@define-color color-ok {{ waybar_style.colors.ok }};
|
||||
@define-color color-warning {{ waybar_style.colors.warning }};
|
||||
@define-color color-critical {{ waybar_style.colors.critical }};
|
||||
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
min-height:0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: @color-base-bg ;
|
||||
color: @color-base-fg;
|
||||
font-family: "{{ waybar_style.fonts.bar.family }}";
|
||||
font-size: {{ waybar_style.fonts.bar.size }};
|
||||
}
|
||||
|
||||
button,
|
||||
button:disabled,label:disabled{
|
||||
color:inherit;
|
||||
}
|
||||
|
||||
button:hover{
|
||||
background:none;
|
||||
box-shadow:inherit;
|
||||
box-shadow:inherit;
|
||||
text-shadow:inherit;
|
||||
text-shadow:inherit;
|
||||
border-top:none;
|
||||
}
|
||||
#workspaces {
|
||||
color:#fff;
|
||||
}
|
||||
#workspaces button {
|
||||
margin:0 3px;
|
||||
padding:4px 4px;
|
||||
color:#9c9c9c;
|
||||
border-bottom: 1px solid transparent;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
box-shadow:inherit;
|
||||
text-shadow:inherit;
|
||||
color: @color-hover;
|
||||
border-bottom: 1px solid @color-hover;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background:#1cd180 ;
|
||||
color:#000;
|
||||
}
|
||||
#workspaces button.visible:not(.focused) {
|
||||
color: @color-selected;
|
||||
border-color: @color-selected;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#cpu,
|
||||
#memory,
|
||||
#backlight,
|
||||
#network,
|
||||
#tray,
|
||||
#mode,
|
||||
#battery,
|
||||
#idle_inhibitor {
|
||||
padding: 2px 4px;
|
||||
margin: 0;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#mode{
|
||||
background:@color-warning;
|
||||
font-weight:bold;
|
||||
}
|
||||
#pulseaudio {}
|
||||
#pulseaudio.muted {
|
||||
color:@color-critical;
|
||||
}
|
||||
|
||||
#battery.discharging {
|
||||
color: @color-base-fg;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
#battery.charging, #battery.plugged {
|
||||
border-bottom: 1px solid @color-ok;
|
||||
color: @color-selected;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging),
|
||||
#cpu.critical,
|
||||
#memory.critical{
|
||||
border-color: @color-critical;
|
||||
color: @color-critical;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging),
|
||||
#cpu.warning,
|
||||
#memory.warning{
|
||||
border-color: @color-warning;
|
||||
color: @color-warning;
|
||||
}
|
||||
|
||||
#tray {
|
||||
font-family: "{{ waybar_style.fonts.tray.family }}";
|
||||
font-size: {{ waybar_style.fonts.tray.size }};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue