waybar: simplify style
This commit is contained in:
parent
c072a8736f
commit
e74ec8a593
2 changed files with 24 additions and 86 deletions
|
|
@ -1,88 +1,52 @@
|
|||
* {
|
||||
font-size: 20px;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: transparent;
|
||||
background: transparent;
|
||||
color: #fdf6e3;
|
||||
padding: 1px 0;
|
||||
min-height: 25px;
|
||||
}
|
||||
|
||||
.modules-right {
|
||||
margin: 2px 10px 0 0;
|
||||
}
|
||||
.modules-center {
|
||||
margin: 2px 0 0 0;
|
||||
}
|
||||
.modules-left {
|
||||
margin: 2px 0 0 5px;
|
||||
}
|
||||
|
||||
#custom-right-arrow-dark,
|
||||
#custom-left-arrow-dark {
|
||||
color: #1a1a1a;
|
||||
font-size: 23px;
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#clock.1,
|
||||
#clock.2,
|
||||
#clock.3,
|
||||
#pulseaudio,
|
||||
#memory,
|
||||
#cpu,
|
||||
#battery,
|
||||
#disk,
|
||||
#tray {
|
||||
background: #1a1a1a;
|
||||
.modules-right {
|
||||
margin: 2px 10px 0 0;
|
||||
}
|
||||
|
||||
.modules-center {
|
||||
margin: 2px 0 0 0;
|
||||
}
|
||||
|
||||
.modules-left {
|
||||
margin: 2px 0 0 5px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 2px;
|
||||
color: #fdf6e3;
|
||||
}
|
||||
#workspaces button.focused {
|
||||
color: #268bd2;
|
||||
}
|
||||
#workspaces button:hover {
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
}
|
||||
#workspaces button:hover {
|
||||
background: #1a1a1a;
|
||||
border: #1a1a1a;
|
||||
padding: 0 3px;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
color: #268bd2;
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: #2aa198;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
color: #6c71c4;
|
||||
}
|
||||
|
||||
#battery {
|
||||
color: #859900;
|
||||
}
|
||||
|
||||
#battery.warning {
|
||||
color: #d08535;
|
||||
}
|
||||
|
||||
#battery.critical {
|
||||
color: #ca4238;
|
||||
}
|
||||
|
||||
#disk {
|
||||
color: #b58900;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#pulseaudio,
|
||||
#memory,
|
||||
#cpu,
|
||||
#battery,
|
||||
#disk {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
|
@ -1,52 +1,27 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
|
||||
"spacing": 10,
|
||||
"modules-left": [
|
||||
"custom/left-arrow-dark",
|
||||
"niri/workspaces",
|
||||
"custom/right-arrow-dark"
|
||||
"niri/workspaces"
|
||||
],
|
||||
"modules-center": [
|
||||
"custom/left-arrow-dark",
|
||||
"clock#1",
|
||||
"clock#2",
|
||||
"clock#3",
|
||||
"custom/right-arrow-dark"
|
||||
"clock#3"
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/left-arrow-dark",
|
||||
"pulseaudio",
|
||||
"memory",
|
||||
"cpu",
|
||||
"battery",
|
||||
"disk",
|
||||
"tray",
|
||||
"custom/right-arrow-dark"
|
||||
"tray"
|
||||
],
|
||||
|
||||
"custom/left-arrow-dark": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left-arrow-light": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/right-arrow-dark": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/right-arrow-light": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"format": "{name}"
|
||||
},
|
||||
|
||||
"clock#1": {
|
||||
"format": "{:%a}",
|
||||
"tooltip": false
|
||||
|
|
@ -59,9 +34,8 @@
|
|||
"format": "{:%d-%m}",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume:2}%",
|
||||
"format": "{icon} {volume:2}%",
|
||||
"format-bluetooth": "{icon} {volume}% ",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
|
|
@ -105,7 +79,7 @@
|
|||
"path": "/"
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 20,
|
||||
"spacing": 4
|
||||
"icon-size": 22,
|
||||
"spacing": 6
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue