waybar: improve bar look
This commit is contained in:
parent
5253d37c77
commit
18a9880922
2 changed files with 36 additions and 31 deletions
|
|
@ -4,18 +4,26 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background: #292b2e;
|
background-color: transparent;
|
||||||
color: #fdf6e3;
|
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-right-arrow-dark,
|
||||||
#custom-left-arrow-dark {
|
#custom-left-arrow-dark {
|
||||||
color: #1a1a1a;
|
color: #1a1a1a;
|
||||||
}
|
font-size: 23px;
|
||||||
#custom-right-arrow-light,
|
|
||||||
#custom-left-arrow-light {
|
|
||||||
color: #292b2e;
|
|
||||||
background: #1a1a1a;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces,
|
#workspaces,
|
||||||
|
|
@ -60,6 +68,12 @@ window#waybar {
|
||||||
#battery {
|
#battery {
|
||||||
color: #859900;
|
color: #859900;
|
||||||
}
|
}
|
||||||
|
#battery.warning {
|
||||||
|
color: #d08535;
|
||||||
|
}
|
||||||
|
#battery.critical {
|
||||||
|
color: #ca4238;
|
||||||
|
}
|
||||||
#disk {
|
#disk {
|
||||||
color: #b58900;
|
color: #b58900;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,53 +3,42 @@
|
||||||
"position": "top",
|
"position": "top",
|
||||||
|
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
|
"custom/left-arrow-dark",
|
||||||
|
"niri/workspaces",
|
||||||
"custom/right-arrow-dark"
|
"custom/right-arrow-dark"
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"custom/left-arrow-dark",
|
"custom/left-arrow-dark",
|
||||||
"clock#1",
|
"clock#1",
|
||||||
"custom/left-arrow-light",
|
|
||||||
"custom/left-arrow-dark",
|
|
||||||
"clock#2",
|
"clock#2",
|
||||||
"custom/right-arrow-dark",
|
|
||||||
"custom/right-arrow-light",
|
|
||||||
"clock#3",
|
"clock#3",
|
||||||
"custom/right-arrow-dark"
|
"custom/right-arrow-dark"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"custom/left-arrow-dark",
|
"custom/left-arrow-dark",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"custom/left-arrow-light",
|
|
||||||
"custom/left-arrow-dark",
|
|
||||||
"memory",
|
"memory",
|
||||||
"custom/left-arrow-light",
|
|
||||||
"custom/left-arrow-dark",
|
|
||||||
"cpu",
|
"cpu",
|
||||||
"custom/left-arrow-light",
|
|
||||||
"custom/left-arrow-dark",
|
|
||||||
"battery",
|
"battery",
|
||||||
"custom/left-arrow-light",
|
|
||||||
"custom/left-arrow-dark",
|
|
||||||
"disk",
|
"disk",
|
||||||
"custom/left-arrow-light",
|
"tray",
|
||||||
"custom/left-arrow-dark",
|
"custom/right-arrow-dark"
|
||||||
"tray"
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"custom/left-arrow-dark": {
|
"custom/left-arrow-dark": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"custom/left-arrow-light": {
|
"custom/left-arrow-light": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"custom/right-arrow-dark": {
|
"custom/right-arrow-dark": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"custom/right-arrow-light": {
|
"custom/right-arrow-light": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -74,7 +63,7 @@
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"format": "{icon} {volume:2}%",
|
"format": "{icon} {volume:2}%",
|
||||||
"format-bluetooth": "{icon} {volume}% ",
|
"format-bluetooth": "{icon} {volume}% ",
|
||||||
"format-muted": "MUTE",
|
"format-muted": "",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"headphones": "",
|
"headphones": "",
|
||||||
"default": [
|
"default": [
|
||||||
|
|
@ -83,8 +72,9 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"scroll-step": 5,
|
"scroll-step": 5,
|
||||||
"on-click": "pamixer -t",
|
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||||
"on-click-right": "pavucontrol"
|
"on-click-right": "pwvucontrol",
|
||||||
|
"reverse-scrolling": true
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
|
|
@ -115,6 +105,7 @@
|
||||||
"path": "/"
|
"path": "/"
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 20
|
"icon-size": 20,
|
||||||
|
"spacing": 4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue