Removed commented code from waybar config

This commit is contained in:
coolneng 2022-11-02 14:52:40 +01:00
parent df8305f1e9
commit 8e79ec4823
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 5 additions and 23 deletions

View File

@ -1,25 +1,9 @@
{
"layer": "top", // Waybar at top layer
"height": 25, // Waybar height (to be removed for auto height)
"layer": "top",
"height": 25,
"modules-left": ["sway/workspaces" ],
"modules-center": ["custom/org-pomodoro", "clock"],
"modules-right": ["mpd", "network", "pulseaudio", "battery", "battery#bat2"],
// Modules configuration
// "sway/workspaces": {
// "disable-scroll": true,
// "all-outputs": true,
// "format": "{name}: {icon}",
// "format-icons": {
// "1": "",
// "2": "",
// "3": "",
// "4": "",
// "5": "",
// "urgent": "",
// "focused": "",
// "default": ""
// }
// },
"mpd": {
"format": "<span foreground='#88C0D0'>{stateIcon}</span> {title}",
"format-disconnected": "",
@ -35,7 +19,9 @@
},
"tooltip-format": "{elapsedTime:%H:%M:%S}/{totalTime:%H:%M:%S}",
"tooltip-format-disconnected": "MPD (disconnected)",
"title-len": 50
"title-len": 50,
"on-click": "mpc toggle",
"on-click-right": "mpc stop"
},
"clock": {
"format": "{:%a %d %b %H:%M}",
@ -52,7 +38,6 @@
"format-charging": "<span foreground='#88C0D0'></span> {capacity}%",
"format-plugged": "<span foreground='#88C0D0'></span> {capacity}%",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
"format-full": "<span foreground='#88C0D0'></span> 100%",
"format-icons": ["", "", ""]
},
@ -67,12 +52,10 @@
"format-charging": "<span foreground='#88C0D0'></span> {capacity}%",
"format-plugged": "<span foreground='#88C0D0'></span> {capacity}%",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
"format-full": "<span foreground='#88C0D0'></span> 100%",
"format-icons": ["", "", ""]
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "<span foreground='#88C0D0'>{icon}</span> {essid}",
"format-ethernet": "<span foreground='#88C0D0'></span> Connected",
"format-linked": "{ifname} (No IP) ",
@ -83,7 +66,6 @@
"tooltip-format-disconnected": "Offline"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "<span foreground='#88C0D0'>{icon}</span> {volume}%",
"format-muted": "<span foreground='#88C0D0'>婢</span>",
"format-icons": {