chore(waybar): update config
This commit is contained in:
parent
3b48d97418
commit
01686a0ac8
BIN
images/image.png
BIN
images/image.png
Binary file not shown.
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 9.6 KiB |
@ -13,6 +13,7 @@
|
|||||||
"memory",
|
"memory",
|
||||||
"disk",
|
"disk",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
|
"pulseaudio#microphone",
|
||||||
"backlight",
|
"backlight",
|
||||||
"battery",
|
"battery",
|
||||||
"bluetooth",
|
"bluetooth",
|
||||||
@ -110,10 +111,10 @@
|
|||||||
|
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"format": "{volume}% {icon} {format_source}",
|
"format": "{volume}% {icon}",
|
||||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
"format-bluetooth": "{volume}% {icon}",
|
||||||
"format-bluetooth-muted": " {format_source}",
|
"format-bluetooth-muted": "{volume}% ",
|
||||||
"format-muted": "{volume}% {format_source}",
|
"format-muted": "{volume}% ",
|
||||||
"format-source": "{volume}% ",
|
"format-source": "{volume}% ",
|
||||||
"format-source-muted": "{volume}% ",
|
"format-source-muted": "{volume}% ",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
@ -122,16 +123,21 @@
|
|||||||
"headset": "",
|
"headset": "",
|
||||||
"default": ["", "", ""]
|
"default": ["", "", ""]
|
||||||
},
|
},
|
||||||
"on-click": "pavucontrol",
|
"on-click": "pavucontrol"
|
||||||
"min-length": 13
|
},
|
||||||
|
|
||||||
|
"pulseaudio#microphone": {
|
||||||
|
"tooltip": true,
|
||||||
|
"format": "{format_source}",
|
||||||
|
"format-source": "{volume}% ",
|
||||||
|
"format-source-muted": "{volume}% "
|
||||||
},
|
},
|
||||||
|
|
||||||
"backlight": {
|
"backlight": {
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"device": "intel_backlight",
|
"device": "intel_backlight",
|
||||||
"format": "{percent}% {icon}",
|
"format": "{percent}% {icon}",
|
||||||
"format-icons": ["", "", "", "", "", "", ""],
|
"format-icons": ["", "", "", "", "", "", ""]
|
||||||
"min-length": 7
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"battery": {
|
"battery": {
|
||||||
@ -145,7 +151,7 @@
|
|||||||
"format-charging": "{capacity}% ",
|
"format-charging": "{capacity}% ",
|
||||||
"format-plugged": "{capacity}% ",
|
"format-plugged": "{capacity}% ",
|
||||||
"format-icons": ["", "", "", "", "", ""],
|
"format-icons": ["", "", "", "", "", ""],
|
||||||
"tooltip-format": "{timeTo}\nCapacity: {capacity}\nPower: {power}w\nCycles: {cycles}\nHealth: {health}%",
|
"tooltip-format": "{timeTo}\nCapacity: {capacity}%\nPower: {power:0.2f}w\nCycles: {cycles}\nHealth: {health}%",
|
||||||
"on-update": "$HOME/.config/waybar/scripts/check_battery.sh"
|
"on-update": "$HOME/.config/waybar/scripts/check_battery.sh"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -28,13 +28,11 @@ tooltip label {
|
|||||||
#mode,
|
#mode,
|
||||||
#clock,
|
#clock,
|
||||||
#battery,
|
#battery,
|
||||||
#pulseaudio,
|
|
||||||
#disk,
|
#disk,
|
||||||
#privacy,
|
#privacy,
|
||||||
#memory,
|
#memory,
|
||||||
#bluetooth,
|
#bluetooth,
|
||||||
#network,
|
#network {
|
||||||
#backlight {
|
|
||||||
transition: none;
|
transition: none;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
background-color: #383c4a;
|
background-color: #383c4a;
|
||||||
@ -47,6 +45,28 @@ tooltip label {
|
|||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#backlight,
|
||||||
|
#pulseaudio {
|
||||||
|
transition: none;
|
||||||
|
background-color: #383c4a;
|
||||||
|
color: #ffffff;
|
||||||
|
margin: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio:not(.microphone) {
|
||||||
|
margin-left: 4px;
|
||||||
|
border-radius: 10px 0 0 10px;
|
||||||
|
padding-right: 8px;
|
||||||
|
padding-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#backlight {
|
||||||
|
border-radius: 0 10px 10px 0;
|
||||||
|
padding-left: 8px;
|
||||||
|
padding-right: 8px;
|
||||||
|
margin-right: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
transition: none;
|
transition: none;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
@ -82,12 +102,6 @@ tooltip label {
|
|||||||
background-color: #26a65b;
|
background-color: #26a65b;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio.muted,
|
|
||||||
#pulseaudio.source-muted {
|
|
||||||
background-color: #f53c3c;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.charging {
|
#battery.charging {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
background-color: #26a65b;
|
background-color: #26a65b;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user