114 lines
3.5 KiB
Text
114 lines
3.5 KiB
Text
[{
|
|
"output": "eDP-1",
|
|
"layer": "bottom",
|
|
"mode": "dock",
|
|
"spacing": 16,
|
|
"modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad"],
|
|
"modules-center": ["sway/window"],
|
|
"modules-right": ["privacy", "wlr/taskbar"],
|
|
|
|
"sway/mode": {
|
|
"format": "<span style=\"italic\">{}</span>"
|
|
},
|
|
"sway/scratchpad": {
|
|
"format": "{icon} {count}",
|
|
"show-empty": false,
|
|
"format-icons": ["", " "],
|
|
"tooltip": true,
|
|
"tooltip-format": "{app}: {title}"
|
|
},
|
|
"wlr/taskbar": {
|
|
"icon-size": 24,
|
|
"active-first": true,
|
|
"format": "{icon} ",
|
|
"tooltip": true,
|
|
"tooltip-format": "{name}",
|
|
},
|
|
"sway/window": {
|
|
"icon": false,
|
|
"format": "{title} ({app_id}) ",
|
|
},
|
|
"privacy": {
|
|
"icon-spacing": 4,
|
|
"icon-size": 24,
|
|
"transition-duration": 350,
|
|
},
|
|
}, {
|
|
"output": "DP-1",
|
|
"layer": "top",
|
|
"mode": "dock",
|
|
"position": "bottom",
|
|
"spacing": 16,
|
|
"modules-left": ["sway/workspaces", "custom/media"],
|
|
"modules-center": ["clock"],
|
|
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "keyboard-state", "sway/language", "battery", "tray"],
|
|
"tray": {
|
|
"icon-size": 24,
|
|
"spacing": 6,
|
|
},
|
|
"keyboard-state": {
|
|
"numlock": true,
|
|
"capslock": true,
|
|
"format": "{name} {icon}",
|
|
"format-icons": {
|
|
"locked": " ",
|
|
"unlocked": " "
|
|
}
|
|
},
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": " ",
|
|
"deactivated": " "
|
|
}
|
|
},
|
|
"clock": {
|
|
// "timezone": "America/New_York",
|
|
"tooltip-format": "<tt><big>{calendar}</big></tt>",
|
|
"format": "{:%A — %F — %H:%M}",
|
|
"format-alt": "{:%A — %F — %H:%M (Day %j, Week %W, %z / %Z)}",
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
// "good": 95,
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{capacity}% {icon}",
|
|
"format-charging": "{capacity}% ",
|
|
"format-plugged": "{capacity}% ",
|
|
"format-alt": "{time} {icon}",
|
|
// "format-good": "", // An empty format will hide the module
|
|
// "format-full": "",
|
|
// "format-icons": [" ", " ", " ", " ", " "]
|
|
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
|
|
},
|
|
"network": {
|
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
"format-ethernet": "{ipaddr}/{cidr} ",
|
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
|
"format-linked": "{ifname} (No IP) ",
|
|
"format-disconnected": " ",
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
|
},
|
|
"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"
|
|
},
|
|
}]
|