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.

73 lines
2.4 KiB
Plaintext

{
"height": 30,
"spacing": 4,
"modules-left": ["sway/workspaces"],
"modules-center": ["sway/window"],
"modules-right": ["wireplumber", "network", "cpu", "memory", "disk", "battery", "clock"],
"sway/workspaces": {
"all-outputs": true,
"disable-scroll": true,
"format": "{name}",
"persistent_workspaces": {
"1":[],
"2":[],
"3":[]
},
},
"clock": {
"timezone": "Europe/London",
"format": "{:%b %d %H:%M} ",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%A, %B %d, %Y} "
},
"cpu": {
"format": "{usage}% ﬙",
"tooltip": false
},
"memory": {
"format": "{}% "
},
"disk": {
"format": "{}% "
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""]
},
"network": {
"format-wifi": " {essid}",
"format-ethernet": " {ipaddr}/{cidr}",
"tooltip-format": " {ifname} via {gwaddr}",
"format-linked": " {ifname} (No IP)",
"format-disconnected": " Disconnected",
"on-click": "exec /bin/bash $HOME/.config/rofi/bin/wifimenu"
},
"bluetooth": {
"format": " {status}",
"format-connected": " {device_alias}",
"format-connected-battery": " {device_alias} {device_battery_percentage}%",
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
"on-click": "exec blueberry"
},
"wireplumber": {
"scroll-step": 1,
"format": "{volume}% {icon}",
"format-muted": "婢 {format_source}",
"format-icons": ["", "", ""],
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -1%",
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +1%",
"on-click": "killall pavucontrol; pavucontrol"
},
}