105 lines
2.3 KiB
Plaintext
105 lines
2.3 KiB
Plaintext
[{
|
|
"layer": "top",
|
|
"height": 40,
|
|
"id": "top",
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
|
"modules-center": ["sway/window"],
|
|
"modules-right": ["tray"],
|
|
"sway/workspaces": {
|
|
"all-outputs": false,
|
|
"disable-scroll": true,
|
|
"persistent-workspaces": {
|
|
"1": ["eDP-1", "DP-1"],
|
|
"2": ["eDP-1", "DP-1"],
|
|
"3": ["eDP-1", "DP-1"],
|
|
"4": ["eDP-1", "DP-1"],
|
|
"5": ["eDP-1", "DP-1"],
|
|
"6": ["eDP-1", "DP-1"],
|
|
"7": ["eDP-1", "DP-1"],
|
|
"8": ["eDP-1", "DP-2"],
|
|
"9": ["eDP-1", "DP-2"],
|
|
"10": ["eDP-1", "DP-2"]
|
|
}
|
|
},
|
|
"sway/window": {
|
|
},
|
|
"tray": {
|
|
"icon-size": 16,
|
|
"spacing": 10
|
|
}
|
|
},
|
|
{
|
|
"id": "bottom",
|
|
"layer": "top",
|
|
"position": "bottom",
|
|
"height": 40,
|
|
"modules-left": ["idle_inhibitor", "gamemode", "mpris"],
|
|
"modules-center": ["clock"],
|
|
"modules-right": ["network", "pulseaudio", "backlight", "battery"],
|
|
"clock": {
|
|
"format": "{:%a %b %d %I:%M %p}",
|
|
"format-alt": "{:%Y-%m-%d}",
|
|
"tooltip": false
|
|
},
|
|
"network": {
|
|
"interval": 1,
|
|
"format": " {bandwidthUpBytes} {bandwidthDownBytes}"
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
"good": 100,
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{icon} {capacity}%",
|
|
"format-charging": "{icon} {capacity}%",
|
|
"format-plugged": "{icon} {capacity}%",
|
|
"format-icons": ["", "", "", "", ""]
|
|
},
|
|
"backlight": {
|
|
"format": "{icon} {percent}%",
|
|
"format-icons": ["", ""]
|
|
},
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "",
|
|
"deactivated": ""
|
|
}
|
|
},
|
|
"gamemode": {
|
|
"hide-not-running": false,
|
|
"format": "{glyph}",
|
|
"glyph": "",
|
|
"use-icon": false,
|
|
"icon-spacing": 0,
|
|
"icon-size": 0
|
|
},
|
|
"pulseaudio": {
|
|
"scroll-step": 5,
|
|
"format": "{icon} {volume}%",
|
|
"format-icons": {
|
|
"default": ["", "", ""]
|
|
},
|
|
"on-scroll-up": "/usr/libexec/sway/volume-helper --limit 100 --increase 5",
|
|
"on-scroll-down": "/usr/libexec/sway/volume-helper --limit 100 --decrease 5",
|
|
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle && /usr/libexec/sway/volume-helper"
|
|
},
|
|
"mpris": {
|
|
"interval": 1,
|
|
"max-length": 100,
|
|
"format": "{player_icon} - {dynamic}",
|
|
"ignored-players": [
|
|
"firefox"
|
|
],
|
|
"player-icons": {
|
|
"default": "♫"
|
|
},
|
|
"status-icons": {
|
|
"playing": "⏵",
|
|
"paused": "⏸",
|
|
"stopped": "⏹"
|
|
}
|
|
}
|
|
}]
|