[Sway] Switch to waybar
This commit is contained in:
60
.config/waybar/config
Normal file
60
.config/waybar/config
Normal file
@@ -0,0 +1,60 @@
|
||||
[{
|
||||
"spacing": 4, // Gaps between modules (4px)
|
||||
"modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
|
||||
"modules-right": ["pulseaudio", "memory", "cpu", "battery", "network", "clock", "tray"],
|
||||
"memory": {
|
||||
"format": "\uf538 {used:0.1f}GiB",
|
||||
},
|
||||
"tray": {
|
||||
"spacing": 10
|
||||
},
|
||||
"clock": {
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format": "\uf017 {:%A %d/%m/%Y %H:%M}"
|
||||
},
|
||||
"cpu": {
|
||||
"format": "\uf2db {usage}%",
|
||||
"tooltip": false
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-alt": "{icon} {time}",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": "\uf1eb {essid}",
|
||||
"format-ethernet": "\uf6ff {ifname}",
|
||||
"tooltip-format": "\f6ff {ifname} via {gwaddr}",
|
||||
"format-linked": "\uf6ff {ifname} (No IP)",
|
||||
"format-disconnected": "\uf071 Disconnected",
|
||||
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
"format": "{icon} {volume}% {format_source}",
|
||||
"format-bluetooth": "{icon} {volume}% {format_source}",
|
||||
"format-bluetooth-muted": "{icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-source": " {volume}%",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
}
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user