You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

158 lines
4.6 KiB
Plaintext

[{
"output": "eDP-1",
"layer": "bottom",
"mode": "dock",
"spacing": 0,
"modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "custom/suffix"],
"modules-center": ["custom/prefix", "sway/window", "custom/suffix"],
"modules-right": ["custom/prefix", "privacy", "wlr/taskbar"],
"custom/suffix": {
"format": "",
"tooltip": false
},
"custom/prefix": {
"format": "",
"tooltip": false
},
"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,
},
"group/power": {
"orientation": "inherit",
"drawer": {
"transition-duration": 500,
"children-class": "not-power",
"transition-left-to-right": false,
},
"modules": [
"custom/power", // First element is the "group leader" and won't ever be hidden
"custom/quit",
"custom/lock",
"custom/reboot",
]
},
"custom/quit": {
"format": "󰗼",
"tooltip": false,
"on-click": "swaymsg exit"
},
"custom/lock": {
"format": "󰍁",
"tooltip": false,
"on-click": "swaylock"
},
"custom/reboot": {
"format": "󰜉",
"tooltip": false,
"on-click": "reboot"
},
"custom/power": {
"format": "",
"tooltip": false,
"on-click": "shutdown now"
}
}, {
"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"
},
}]