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 {
|
window#waybar {
|
||||||
background-color: transparent;
|
background: transparent;
|
||||||
color: #fdf6e3;
|
color: #fdf6e3;
|
||||||
padding: 1px 0;
|
padding: 1px 0;
|
||||||
min-height: 25px;
|
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;
|
font-size: 23px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces,
|
.modules-right {
|
||||||
#clock.1,
|
margin: 2px 10px 0 0;
|
||||||
#clock.2,
|
}
|
||||||
#clock.3,
|
|
||||||
#pulseaudio,
|
.modules-center {
|
||||||
#memory,
|
margin: 2px 0 0 0;
|
||||||
#cpu,
|
}
|
||||||
#battery,
|
|
||||||
#disk,
|
.modules-left {
|
||||||
#tray {
|
margin: 2px 0 0 5px;
|
||||||
background: #1a1a1a;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0 2px;
|
padding: 0 2px;
|
||||||
color: #fdf6e3;
|
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 {
|
#pulseaudio {
|
||||||
color: #268bd2;
|
color: #268bd2;
|
||||||
}
|
}
|
||||||
|
|
||||||
#memory {
|
#memory {
|
||||||
color: #2aa198;
|
color: #2aa198;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cpu {
|
#cpu {
|
||||||
color: #6c71c4;
|
color: #6c71c4;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
color: #859900;
|
color: #859900;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.warning {
|
#battery.warning {
|
||||||
color: #d08535;
|
color: #d08535;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.critical {
|
#battery.critical {
|
||||||
color: #ca4238;
|
color: #ca4238;
|
||||||
}
|
}
|
||||||
|
|
||||||
#disk {
|
#disk {
|
||||||
color: #b58900;
|
color: #b58900;
|
||||||
}
|
|
||||||
|
|
||||||
#clock,
|
|
||||||
#pulseaudio,
|
|
||||||
#memory,
|
|
||||||
#cpu,
|
|
||||||
#battery,
|
|
||||||
#disk {
|
|
||||||
padding: 0 10px;
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,52 +1,27 @@
|
||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"position": "top",
|
"position": "top",
|
||||||
|
"spacing": 10,
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"custom/left-arrow-dark",
|
"niri/workspaces"
|
||||||
"niri/workspaces",
|
|
||||||
"custom/right-arrow-dark"
|
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"custom/left-arrow-dark",
|
|
||||||
"clock#1",
|
"clock#1",
|
||||||
"clock#2",
|
"clock#2",
|
||||||
"clock#3",
|
"clock#3"
|
||||||
"custom/right-arrow-dark"
|
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"custom/left-arrow-dark",
|
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"memory",
|
"memory",
|
||||||
"cpu",
|
"cpu",
|
||||||
"battery",
|
"battery",
|
||||||
"disk",
|
"disk",
|
||||||
"tray",
|
"tray"
|
||||||
"custom/right-arrow-dark"
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"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": {
|
"sway/workspaces": {
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"format": "{name}"
|
"format": "{name}"
|
||||||
},
|
},
|
||||||
|
|
||||||
"clock#1": {
|
"clock#1": {
|
||||||
"format": "{:%a}",
|
"format": "{:%a}",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
|
|
@ -59,9 +34,8 @@
|
||||||
"format": "{:%d-%m}",
|
"format": "{:%d-%m}",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"format": "{icon} {volume:2}%",
|
"format": "{icon} {volume:2}%",
|
||||||
"format-bluetooth": "{icon} {volume}% ",
|
"format-bluetooth": "{icon} {volume}% ",
|
||||||
"format-muted": "",
|
"format-muted": "",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
|
|
@ -105,7 +79,7 @@
|
||||||
"path": "/"
|
"path": "/"
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 20,
|
"icon-size": 22,
|
||||||
"spacing": 4
|
"spacing": 6
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue