2023-04-13 13:43:44 +01:00
|
|
|
{
|
|
|
|
// Modules configuration
|
2023-04-29 12:46:43 +01:00
|
|
|
"custom/launcher":{
|
2023-05-02 15:25:23 +01:00
|
|
|
"format": "",
|
|
|
|
"on-click": "rofi -show drun"
|
2023-04-13 13:43:44 +01:00
|
|
|
},
|
|
|
|
"keyboard-state": {
|
|
|
|
"numlock": true,
|
|
|
|
"capslock": true,
|
|
|
|
"format": "{name} {icon}",
|
|
|
|
"format-icons": {
|
|
|
|
"locked": "",
|
|
|
|
"unlocked": ""
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tray": {
|
|
|
|
// "icon-size": 21,
|
|
|
|
"spacing": 10
|
|
|
|
},
|
|
|
|
"clock": {
|
|
|
|
"timezone": "Europe/London",
|
|
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
|
|
"format-alt": "{:%Y-%m-%d}"
|
|
|
|
},
|
|
|
|
"cpu": {
|
|
|
|
"format": "{usage}% ",
|
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"format": "{}% "
|
|
|
|
},
|
|
|
|
"temperature": {
|
|
|
|
// "thermal-zone": 2,
|
|
|
|
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
|
|
|
"critical-threshold": 80,
|
|
|
|
// "format-critical": "{temperatureC}°C {icon}",
|
|
|
|
"format": "{temperatureC}°C {icon}",
|
2023-04-15 09:13:58 +01:00
|
|
|
"format-icons": ["", "", ""]
|
2023-04-13 13:43:44 +01:00
|
|
|
},
|
|
|
|
"backlight": {
|
|
|
|
// "device": "acpi_video1",
|
|
|
|
"format": "{percent}% {icon}",
|
|
|
|
"format-icons": ["", "", "", "", "", "", "", "", ""]
|
|
|
|
},
|
|
|
|
"battery": {
|
|
|
|
"states": {
|
|
|
|
// "good": 95,
|
|
|
|
"warning": 30,
|
|
|
|
"critical": 15
|
|
|
|
},
|
|
|
|
"format": "{capacity}% {icon}",
|
2023-04-15 09:13:58 +01:00
|
|
|
"format-charging": "{capacity}% ",
|
|
|
|
"format-plugged": "{capacity}% ",
|
2023-04-13 13:43:44 +01:00
|
|
|
"format-alt": "{time} {icon}",
|
2023-04-15 09:13:58 +01:00
|
|
|
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""]
|
2023-04-13 13:43:44 +01:00
|
|
|
},
|
|
|
|
"battery#bat2": {
|
|
|
|
"bat": "BAT2"
|
|
|
|
},
|
|
|
|
"network": {
|
|
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
2023-05-02 15:25:23 +01:00
|
|
|
"format-ethernet": "Connected ",
|
|
|
|
"tooltip-format": "{ifname}",
|
2023-04-13 13:43:44 +01:00
|
|
|
"format-linked": "{ifname} (No IP) ",
|
|
|
|
"format-disconnected": "Disconnected ",
|
|
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
|
|
|
},
|
2023-04-29 12:46:43 +01:00
|
|
|
"bluetooth": {
|
|
|
|
"format": " {status}",
|
|
|
|
"format-disabled": " {status}",
|
|
|
|
"format-off": " {status}",
|
|
|
|
"format-on": " {status}",
|
|
|
|
"format-connected": " {device_alias}",
|
|
|
|
"on-click": "blueman-manager"
|
|
|
|
},
|
2023-04-13 13:43:44 +01:00
|
|
|
"pulseaudio": {
|
|
|
|
"scroll-step": 2, // %, 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"
|
|
|
|
},
|
2023-04-29 12:46:43 +01:00
|
|
|
"custom/power":{
|
2023-04-29 18:00:03 +01:00
|
|
|
"format": "",
|
2023-04-29 12:46:43 +01:00
|
|
|
"on-click": "~/.dotfiles/scripts/powermenu"
|
2023-05-02 15:25:23 +01:00
|
|
|
},
|
|
|
|
"wlr/workspaces": {
|
|
|
|
"on-click": "activate",
|
|
|
|
"disable-scroll": true,
|
|
|
|
"all-outputs": false,
|
|
|
|
"sort-by-number": true,
|
|
|
|
"format": "{icon}",
|
|
|
|
"format-icons": {
|
2023-05-05 10:08:41 +01:00
|
|
|
"1": "",
|
2023-05-02 15:25:23 +01:00
|
|
|
"2": "",
|
|
|
|
"3": "",
|
|
|
|
"4": "",
|
|
|
|
"urgent": "",
|
|
|
|
"focused": "",
|
|
|
|
"default": ""
|
|
|
|
},
|
|
|
|
"persistent_workspaces": {
|
|
|
|
"1": [],
|
|
|
|
"2": [],
|
|
|
|
"3": [],
|
|
|
|
"4": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sway/workspaces": {
|
|
|
|
"on-click": "activate",
|
|
|
|
"disable-scroll": true,
|
|
|
|
"all-outputs": false,
|
|
|
|
"sort-by-number": true,
|
|
|
|
"format": "{icon}",
|
|
|
|
"format-icons": {
|
2023-05-05 10:08:41 +01:00
|
|
|
"1": "",
|
2023-05-02 15:25:23 +01:00
|
|
|
"2": "",
|
|
|
|
"3": "",
|
|
|
|
"4": "",
|
|
|
|
"urgent": "",
|
|
|
|
"focused": "",
|
|
|
|
"default": ""
|
|
|
|
},
|
|
|
|
"persistent_workspaces": {
|
|
|
|
"1": [],
|
|
|
|
"2": [],
|
|
|
|
"3": [],
|
|
|
|
"4": []
|
|
|
|
}
|
2023-04-29 12:46:43 +01:00
|
|
|
}
|
2023-04-13 13:43:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// vim: ft=json
|