Modify Waybar
- Added open for nm-connection-editor on click network component - Added open blueman-manager on click bluetooth component - Added open pavucontrol on click audio component
This commit is contained in:
@@ -58,17 +58,7 @@
|
||||
"on-scroll-up": "light -A 5",
|
||||
"on-scroll-down": "light -U 5",
|
||||
"format": "{percent}% {icon}",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
"format-icons": [ "", "", "", "", "", "", "", "", "" ]
|
||||
},
|
||||
"pulseaudio": {
|
||||
"scroll-step": 1,
|
||||
@@ -79,13 +69,10 @@
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
" "
|
||||
]
|
||||
"default": ["", "", " "]
|
||||
},
|
||||
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
||||
"on-click": "pavucontrol &",
|
||||
//"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
||||
},
|
||||
"battery": {
|
||||
"interval": 10,
|
||||
@@ -97,17 +84,7 @@
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
"format-icons": [ "", "", "", "", "", "", "", "", "" ]
|
||||
},
|
||||
"clock": {
|
||||
"interval": 1,
|
||||
@@ -145,10 +122,11 @@
|
||||
"network": {
|
||||
"interval": 1,
|
||||
"format-wifi": "{essid} ",
|
||||
"format-ethernet": "{ifname} ({ipaddr})",
|
||||
"format-linked": "{essid} (No IP)",
|
||||
"format-ethernet": "{ifname} ({ipaddr}) ",
|
||||
"format-linked": "{essid} (No IP) ",
|
||||
"format-disconnected": "Disconnected ⚠",
|
||||
"tooltip": false
|
||||
"tooltip": false,
|
||||
"on-click": "nm-connection-editor &"
|
||||
},
|
||||
"temperature": {
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon6/temp2_input",
|
||||
@@ -172,6 +150,7 @@
|
||||
"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}%"
|
||||
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
|
||||
"on-click": "blueman-manager &"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user