119 lines
3.4 KiB
Text
119 lines
3.4 KiB
Text
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
"height": 17,
|
|
"spacing": 4,
|
|
"margin-top": 3,
|
|
"margin-bottom": 3,
|
|
|
|
// Choose the order of the modules
|
|
|
|
"modules-left":[ "idle_inhibitor", "cpu", "memory", "temperature"],
|
|
"modules-center": [ "custom/launcher", "wlr/taskbar", "custom/update"],
|
|
"modules-right":[ "battery", "pulseaudio", "network", "bluetooth", "clock", "tray", "custom/power"],
|
|
// Modules configuration
|
|
|
|
"wlr/taskbar": {
|
|
"format": "{icon}",
|
|
"icon-size": 23,
|
|
"icon-theme": ["hicolor", "Tela"],
|
|
"tooltip-format": "{title}",
|
|
"on-click": "minimize",
|
|
"on-click-middle": "close",
|
|
"on-click-right": "activate"
|
|
},
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "",
|
|
"deactivated": ""
|
|
}
|
|
},
|
|
"tray": {
|
|
"icon-size": 20,
|
|
"spacing": 10
|
|
},
|
|
"clock": {
|
|
// "timezone": "Europe/London",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
"format": "{:%Y-%m-%d %H:%M}"
|
|
},
|
|
"cpu": {
|
|
"format": "{usage}% ",
|
|
"tooltip": false,
|
|
"on-click": "tilix -e 'htop'"
|
|
},
|
|
"memory": {
|
|
"format": "{}% ",
|
|
"on-click": "tilix -e 'htop'"
|
|
},
|
|
"temperature": {
|
|
// "thermal-zone": 2,
|
|
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
|
"critical-threshold": 80,
|
|
// "format-critical": "{temperatureC}°C {icon}",
|
|
"format": "{temperatureC}°C {icon}",
|
|
"format-icons": ["", "", ""]
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
// "good": 95,
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{capacity}% {icon}",
|
|
"format-charging": "{capacity}% ",
|
|
"format-plugged": "{capacity}% ",
|
|
"format-alt": "{time} {icon}",
|
|
"format-icons": ["", "", "", "", ""]
|
|
},
|
|
"network": {
|
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
"format-ethernet": "Connected ",
|
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
|
"format-linked": "{ifname} (No IP) ",
|
|
"format-disconnected": "Disconnected ⚠",
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}",
|
|
"on-click": "tilix -e 'nmtui'"
|
|
|
|
},
|
|
"bluetooth": {
|
|
"format": "",
|
|
"format-disabled": "",
|
|
"on-click": "blueberry",
|
|
"tooltip-format": "{}"
|
|
},
|
|
"pulseaudio": {
|
|
"format": "{volume}% {icon}",
|
|
"format-bluetooth": "{volume}% {icon}",
|
|
"format-bluetooth-muted": "{icon} {format_source}",
|
|
"format-muted": "{format_source}",
|
|
"format-source": "",
|
|
"format-source-muted": "",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", "", ""]
|
|
},
|
|
"on-click": "pavucontrol"
|
|
},
|
|
"custom/launcher":{
|
|
"format": "",
|
|
"on-click": "nwggrid",
|
|
"on-click-right": "killall nwggrid"
|
|
},
|
|
"custom/update":{
|
|
"format": "",
|
|
"on-click": "tilix -e 'sudo pacman -Syu'"
|
|
},
|
|
"custom/power":{
|
|
"format": "⏻",
|
|
"on-click": "nwgbar"
|
|
},
|
|
}
|
|
|