Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [{
- "layer": "top", // Waybar at top layer
- "position": "top", // Waybar position (top|bottom|left|right)
- "height": 30, // Waybar height (to be removed for auto height)
- "width": 1900, // Waybar width
- "spacing": 4, // Gaps between modules (4px)
- "background-color": "#000000",
- // Choose the order of the modules
- "modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "custom/media"],
- "modules-center": ["clock"],
- "modules-right": [],
- //Modules configuration
- "sway/workspaces": {
- "disable-scroll": true,
- "all-outputs": true,
- "warp-on-scroll": false,
- "format": "{name}: {icon}",
- "format-icons": {
- "1": "",
- "2": "",
- "3": "",
- "4": "",
- "5": "",
- "urgent": "",
- "focused": "",
- "default": ""
- }
- },
- "sway/mode": {
- "format": "<span style=\"italic\">{}</span>"
- },
- "sway/scratchpad": {
- "format": "{icon} {count}",
- "show-empty": false,
- "format-icons": ["", ""],
- "tooltip": true,
- "tooltip-format": "{app}: {title}"
- },
- "idle_inhibitor": {
- "format": "{icon}",
- "format-icons": {
- "activated": "",
- "deactivated": ""
- }
- },
- "tray": {
- "icon-size": 21,
- "spacing": 10
- },
- "clock": {
- "interval": 60,
- "tooltip": true,
- "format": "{:%I:%M %p}",
- "tooltip-format": "{:%Y-%m-%d}",
- },
- "pulseaudio": {
- // "scroll-step": 1, // %, can be a float
- "format": "{volume}% {icon} {format_source}",
- "format-bluetooth": "{volume}% {icon} {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"
- },
- "custom/media": {
- "format": "{icon} {}",
- "return-type": "json",
- "max-length": 40,
- "format-icons": {
- "spotify": "",
- "default": "🎜"
- },
- "escape": true,
- "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
- // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
- }
- },
- {
- "layer": "top", // Waybar at top layer
- "position": "bottom", // Waybar position (top|bottom|left|right)
- "height": 30, // Waybar height (to be removed for auto height)
- "width": 1940, // Waybar width
- "spacing": 4, // Gaps between modules (4px)
- "id": "botBar",
- // Choose the order of the modules
- "modules-left": [],
- "modules-center": ["custom/audiovisualizer"],
- "modules-right": ["pulseaudio/slider","wireplumber"],
- //Modules configuration
- "sway/workspaces": {
- "disable-scroll": true,
- "all-outputs": true,
- "warp-on-scroll": false,
- "format": "{name}: {icon}",
- "format-icons": {
- "1": "",
- "2": "",
- "3": "",
- "4": "",
- "5": "",
- "urgent": "",
- "focused": "",
- "default": ""
- }
- },
- "sway/mode": {
- "format": "<span style=\"italic\">{}</span>"
- },
- "custom/audiovisualizer": {
- "format": "{}",
- "return-type": "json",
- "exec": "python3 /home/dylan/scripts/visualizer.py",
- "on-click": "pkill -SIGRTMIN+1 waybar",
- "signal": 1
- },
- "sway/scratchpad": {
- "format": "{icon} {count}",
- "show-empty": false,
- "format-icons": ["", ""],
- "tooltip": true,
- "tooltip-format": "{app}: {title}"
- },
- "idle_inhibitor": {
- "format": "{icon}",
- "format-icons": {
- "activated": "",
- "deactivated": ""
- }
- },
- "tray": {
- "icon-size": 21,
- "spacing": 10
- },
- "clock": {
- // "timezone": "America/New_York",
- "format": "{%I:%M %p}",
- "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
- "format-alt": "{:%Y-%m-%d}"
- },
- "pulseaudio": {
- // "scroll-step": 1, // %, can be a float
- "format": "{volume}% {icon} {format_source}",
- "format-bluetooth": "{volume}% {icon} {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"
- },
- "custom/media": {
- "format": "{icon} {}",
- "return-type": "json",
- "max-length": 40,
- "format-icons": {
- "spotify": "",
- "default": "🎜"
- },
- "escape": true,
- "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
- // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
- }
- }
- ]
Add Comment
Please, Sign In to add comment