Waybar : Add vrr/mon toggle.
This commit is contained in:
parent
ab46247efa
commit
5048ab2e99
|
@ -29,6 +29,7 @@
|
||||||
"temperature",
|
"temperature",
|
||||||
"memory",
|
"memory",
|
||||||
"custom/powersave",
|
"custom/powersave",
|
||||||
|
"custom/display",
|
||||||
"tray"
|
"tray"
|
||||||
],
|
],
|
||||||
"sway/language": {
|
"sway/language": {
|
||||||
|
@ -116,6 +117,11 @@
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"on-click": "foot -e bash -c btop",
|
"on-click": "foot -e bash -c btop",
|
||||||
"on-click-right": "powersave toggle"
|
"on-click-right": "powersave toggle"
|
||||||
|
},
|
||||||
|
"custom/display": {
|
||||||
|
"exec": "echo ",
|
||||||
|
"on-click": "swayscript montoggle",
|
||||||
|
"on-click-right": "swayscript vrrtoggle"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#mpris,
|
#mpris,
|
||||||
#cpu,
|
#cpu,
|
||||||
#battery,
|
#battery,
|
||||||
|
#custom-display,
|
||||||
#language {
|
#language {
|
||||||
padding: 8px 0 8px 24px;
|
padding: 8px 0 8px 24px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue