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