feat(waybar): update
This commit is contained in:
@@ -15,10 +15,11 @@
|
|||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"clock",
|
"clock",
|
||||||
"clock#simpleclock",
|
"clock#simpleclock",
|
||||||
|
"network",
|
||||||
"battery",
|
"battery",
|
||||||
"tray",
|
"tray",
|
||||||
"custom/notification",
|
"custom/notification",
|
||||||
"custom/power",
|
"custom/power"
|
||||||
],
|
],
|
||||||
"custom/spotify": {
|
"custom/spotify": {
|
||||||
"format": " {}",
|
"format": " {}",
|
||||||
@@ -87,14 +88,14 @@
|
|||||||
"format": "{icon} {volume}%",
|
"format": "{icon} {volume}%",
|
||||||
"format-muted": " muted",
|
"format-muted": " muted",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"headphone": "",
|
"headphone": " ",
|
||||||
"default": [" ", " ", " "],
|
"default": [" ", " ", " "],
|
||||||
},
|
},
|
||||||
"on-click": "pavucontrol",
|
"on-click": "pavucontrol",
|
||||||
},
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
"format": "{icon} {capacity}%",
|
"format": "{icon} {capacity}%",
|
||||||
"format-icons": ["", "", "", "", ""],
|
"format-icons": [" ", " ", " ", " ", " "],
|
||||||
"states": {
|
"states": {
|
||||||
"critical": 25,
|
"critical": 25,
|
||||||
},
|
},
|
||||||
@@ -124,4 +125,17 @@
|
|||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
"network": {
|
||||||
|
"interface": "wlp1s0",
|
||||||
|
"format": "{ifname}",
|
||||||
|
"format-icons": [" ", " ", " ", " "],
|
||||||
|
"format-wifi": "{icon}",
|
||||||
|
"format-ethernet": " {ifname}",
|
||||||
|
"format-disconnected": " ",
|
||||||
|
"tooltip-format": "{ifname}",
|
||||||
|
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
|
||||||
|
"tooltip-format-ethernet": "{ifname}",
|
||||||
|
"tooltip-format-disconnected": "Disconnected",
|
||||||
|
"max-length": 50
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ window#waybar.empty #window {
|
|||||||
#tray,
|
#tray,
|
||||||
#memory,
|
#memory,
|
||||||
#battery,
|
#battery,
|
||||||
|
#network,
|
||||||
#window,
|
#window,
|
||||||
#mpris {
|
#mpris {
|
||||||
padding: 0.1rem 0.6rem;
|
padding: 0.1rem 0.6rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user