Removed commented code from waybar config
This commit is contained in:
parent
df8305f1e9
commit
8e79ec4823
|
@ -1,25 +1,9 @@
|
||||||
{
|
{
|
||||||
"layer": "top", // Waybar at top layer
|
"layer": "top",
|
||||||
"height": 25, // Waybar height (to be removed for auto height)
|
"height": 25,
|
||||||
"modules-left": ["sway/workspaces" ],
|
"modules-left": ["sway/workspaces" ],
|
||||||
"modules-center": ["custom/org-pomodoro", "clock"],
|
"modules-center": ["custom/org-pomodoro", "clock"],
|
||||||
"modules-right": ["mpd", "network", "pulseaudio", "battery", "battery#bat2"],
|
"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": {
|
"mpd": {
|
||||||
"format": "<span foreground='#88C0D0'>{stateIcon}</span> {title}",
|
"format": "<span foreground='#88C0D0'>{stateIcon}</span> {title}",
|
||||||
"format-disconnected": "",
|
"format-disconnected": "",
|
||||||
|
@ -35,7 +19,9 @@
|
||||||
},
|
},
|
||||||
"tooltip-format": "{elapsedTime:%H:%M:%S}/{totalTime:%H:%M:%S}",
|
"tooltip-format": "{elapsedTime:%H:%M:%S}/{totalTime:%H:%M:%S}",
|
||||||
"tooltip-format-disconnected": "MPD (disconnected)",
|
"tooltip-format-disconnected": "MPD (disconnected)",
|
||||||
"title-len": 50
|
"title-len": 50,
|
||||||
|
"on-click": "mpc toggle",
|
||||||
|
"on-click-right": "mpc stop"
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{:%a %d %b %H:%M}",
|
"format": "{:%a %d %b %H:%M}",
|
||||||
|
@ -52,7 +38,6 @@
|
||||||
"format-charging": "<span foreground='#88C0D0'></span> {capacity}%",
|
"format-charging": "<span foreground='#88C0D0'></span> {capacity}%",
|
||||||
"format-plugged": "<span foreground='#88C0D0'></span> {capacity}%",
|
"format-plugged": "<span foreground='#88C0D0'></span> {capacity}%",
|
||||||
"format-alt": "{time} {icon}",
|
"format-alt": "{time} {icon}",
|
||||||
// "format-good": "", // An empty format will hide the module
|
|
||||||
"format-full": "<span foreground='#88C0D0'></span> 100%",
|
"format-full": "<span foreground='#88C0D0'></span> 100%",
|
||||||
"format-icons": ["", "", ""]
|
"format-icons": ["", "", ""]
|
||||||
},
|
},
|
||||||
|
@ -67,12 +52,10 @@
|
||||||
"format-charging": "<span foreground='#88C0D0'></span> {capacity}%",
|
"format-charging": "<span foreground='#88C0D0'></span> {capacity}%",
|
||||||
"format-plugged": "<span foreground='#88C0D0'></span> {capacity}%",
|
"format-plugged": "<span foreground='#88C0D0'></span> {capacity}%",
|
||||||
"format-alt": "{time} {icon}",
|
"format-alt": "{time} {icon}",
|
||||||
// "format-good": "", // An empty format will hide the module
|
|
||||||
"format-full": "<span foreground='#88C0D0'></span> 100%",
|
"format-full": "<span foreground='#88C0D0'></span> 100%",
|
||||||
"format-icons": ["", "", ""]
|
"format-icons": ["", "", ""]
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
||||||
"format-wifi": "<span foreground='#88C0D0'>{icon}</span> {essid}",
|
"format-wifi": "<span foreground='#88C0D0'>{icon}</span> {essid}",
|
||||||
"format-ethernet": "<span foreground='#88C0D0'></span> Connected",
|
"format-ethernet": "<span foreground='#88C0D0'></span> Connected",
|
||||||
"format-linked": "{ifname} (No IP) ",
|
"format-linked": "{ifname} (No IP) ",
|
||||||
|
@ -83,7 +66,6 @@
|
||||||
"tooltip-format-disconnected": "Offline"
|
"tooltip-format-disconnected": "Offline"
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
// "scroll-step": 1, // %, can be a float
|
|
||||||
"format": "<span foreground='#88C0D0'>{icon}</span> {volume}%",
|
"format": "<span foreground='#88C0D0'>{icon}</span> {volume}%",
|
||||||
"format-muted": "<span foreground='#88C0D0'>婢</span>",
|
"format-muted": "<span foreground='#88C0D0'>婢</span>",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
|
|
Loading…
Reference in New Issue