Created
April 18, 2019 13:24
-
-
Save enko/a22b44cd51a441d2e1f37669e48344c5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"layer": "top", // Waybar at top layer | |
// "position": "bottom", // Waybar at the bottom of your screen | |
"height": 60, // Waybar height | |
// "width": 1280, // Waybar width | |
// Choose the order of the modules | |
"modules-left": ["sway/workspaces", "sway/mode"], | |
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "battery", "clock", "tray"], | |
// Modules configuration | |
"sway/workspaces": { | |
"disable-scroll": true, | |
"all-outputs": false, | |
"format": "{icon} {name}", | |
"format-icons": { | |
"term": "๐", | |
"web": "๐ธ๏ธ", | |
"comm": "โจ", | |
"emacs": "๐ง", | |
"music": "๐ง", | |
"pwsafe": "๐", | |
"urgent": "๏ช", | |
"focused": "๏", | |
"default": "๏" | |
} | |
}, | |
"sway/mode": { | |
"format": "<span style=\"italic\">{}</span>" | |
}, | |
"idle_inhibitor": { | |
"format": "{icon}", | |
"format-icons": { | |
"activated": "๏ฎ", | |
"deactivated": "๏ฐ" | |
} | |
}, | |
"tray": { | |
"icon-size": 32, | |
"spacing": 10 | |
}, | |
"clock": { | |
"tooltip-format": "{:%Y-%m-%d | %H:%M}", | |
"format": "{:%Y-%m-%d %H:%M}" | |
}, | |
"cpu": { | |
"format": "{usage}% ๏" | |
}, | |
"memory": { | |
"format": "{}% ๏" | |
}, | |
"backlight": { | |
// "device": "acpi_video1", | |
"format": "{percent}% {icon}", | |
"format-icons": ["๏ ", "๏"] | |
}, | |
"battery": { | |
"states": { | |
// "good": 95, | |
"warning": 30, | |
"critical": 15 | |
}, | |
"format": "{capacity}% {icon}", | |
// "format-good": "", // An empty format will hide the module | |
// "format-full": "", | |
"format-icons": ["๏", "๏", "๏", "๏", "๏"] | |
}, | |
"battery#bat2": { | |
"bat": "BAT2" | |
}, | |
"network": { | |
// "interface": "wlp2s0", // (Optional) To force the use of this interface | |
"format-wifi": "{essid} ({signalStrength}%) ๏ซ", | |
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ๏", | |
"format-disconnected": "Disconnected โ " | |
}, | |
"pulseaudio": { | |
//"scroll-step": 1, | |
"format": "{volume}% {icon}", | |
"format-bluetooth": "{volume}% {icon}๏", | |
"format-muted": "๏ฆ", | |
"format-icons": { | |
"headphones": "๏ฅ", | |
"handsfree": "๏", | |
"headset": "๏", | |
"phone": "๏", | |
"portable": "๏", | |
"car": "๏น", | |
"default": ["๏ง", "๏จ"] | |
}, | |
"on-click": "pavucontrol" | |
}, | |
"custom/spotify": { | |
"format": "๏ผ {}", | |
"max-length": 40, | |
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment