Waybar : Toggle lang on click.
This commit is contained in:
parent
6b5d6a81db
commit
1504157215
|
@ -31,6 +31,10 @@
|
||||||
"custom/powersave",
|
"custom/powersave",
|
||||||
"tray"
|
"tray"
|
||||||
],
|
],
|
||||||
|
"sway/language": {
|
||||||
|
"tooltip": false,
|
||||||
|
"on-click": "swaymsg 'input * xkb_switch_layout next'"
|
||||||
|
},
|
||||||
"sway/scratchpad": {
|
"sway/scratchpad": {
|
||||||
"format": "{icon} {count}",
|
"format": "{icon} {count}",
|
||||||
"show-empty": false,
|
"show-empty": false,
|
||||||
|
@ -103,11 +107,9 @@
|
||||||
"on-click-right": "powersave toggle"
|
"on-click-right": "powersave toggle"
|
||||||
},
|
},
|
||||||
"temperature": {
|
"temperature": {
|
||||||
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
|
|
||||||
"format": "{temperatureC}°C",
|
"format": "{temperatureC}°C",
|
||||||
"on-click": "foot -e bash -c btop",
|
"on-click": "foot -e bash -c btop",
|
||||||
"on-click-right": "powersave toggle",
|
"on-click-right": "powersave toggle"
|
||||||
"interval": 1
|
|
||||||
},
|
},
|
||||||
"custom/powersave": {
|
"custom/powersave": {
|
||||||
"exec": "powersave waybar",
|
"exec": "powersave waybar",
|
||||||
|
|
Loading…
Reference in a new issue