65 lines
1.8 KiB
Plaintext
65 lines
1.8 KiB
Plaintext
|
{
|
||
|
"position": "top",
|
||
|
"modules-left": ["sway/workspaces"],
|
||
|
"modules-right": ["network", "pulseaudio", "clock"],
|
||
|
// Modules configuration
|
||
|
"sway/workspaces": {
|
||
|
"disable-scroll": true,
|
||
|
"all-outputs": true,
|
||
|
"format": "{icon}",
|
||
|
"persistent_workspaces": {
|
||
|
"1": [],
|
||
|
"2": [],
|
||
|
"3": [],
|
||
|
"4": [],
|
||
|
"5": [],
|
||
|
"6": [],
|
||
|
"7": [],
|
||
|
"8": [],
|
||
|
"9": [],
|
||
|
"10": []
|
||
|
},
|
||
|
"format-icons": {
|
||
|
"default": "",
|
||
|
"urgent": "",
|
||
|
"focused": ""
|
||
|
}
|
||
|
},
|
||
|
"custom/spotify": {
|
||
|
"format": "<span foreground='#abc123'> </span><span font='FireCodeMono Nerd Font Mono weight=325 Italic'>{}</span>",
|
||
|
"interval": 1,
|
||
|
"exec-if": "pgrep spotify",
|
||
|
"on-click": "playerctl -p spotify play-pause",
|
||
|
"on-scroll-up": "playerctl -p spotify previous",
|
||
|
"on-scroll-down": "playerctl -p spotify next",
|
||
|
"tooltip": false,
|
||
|
"escape": true,
|
||
|
"MAX-LENGTH": 60,
|
||
|
"exec": "/home/loki/bin/spotify.sh"
|
||
|
},
|
||
|
"clock": {
|
||
|
"format": "{:%a %d %H:%M} <span foreground='#123abc'></span>",
|
||
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||
|
},
|
||
|
"network": {
|
||
|
"forletmat-disconnected": "Disconnected <span class='#abc123'></span>",
|
||
|
"format-ethernet": "{ipaddr} <span foreground='#123abc'></span>"
|
||
|
},
|
||
|
"pulseaudio": {
|
||
|
"format": "{volume}% <span foreground='#123abc'>{icon}</span>",
|
||
|
"format-bluetooth": "{volume}% <span foreground='#abc123'>{icon}</span>",
|
||
|
"format-muted": "",
|
||
|
"format-icons": {
|
||
|
"headphone": "",
|
||
|
"hands-free": "",
|
||
|
"headset": "",
|
||
|
"phone": "",
|
||
|
"portable": "",
|
||
|
"car": "",
|
||
|
"default": ["", ""]
|
||
|
},
|
||
|
"scroll-step": 1,
|
||
|
"on-click": "pavucontrol",
|
||
|
"ignored-sinks": ["Easy Effects Sink"]
|
||
|
}
|
||
|
}
|