Waybar : Add vrr/mon toggle.

This commit is contained in:
Dmitry Voronin 2024-05-08 19:19:59 +03:00
parent ab46247efa
commit 5048ab2e99
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 7 additions and 0 deletions

View file

@ -29,6 +29,7 @@
"temperature",
"memory",
"custom/powersave",
"custom/display",
"tray"
],
"sway/language": {
@ -116,6 +117,11 @@
"interval": 1,
"on-click": "foot -e bash -c btop",
"on-click-right": "powersave toggle"
},
"custom/display": {
"exec": "echo 󰍹",
"on-click": "swayscript montoggle",
"on-click-right": "swayscript vrrtoggle"
}
}
'';

View file

@ -5,6 +5,7 @@
#mpris,
#cpu,
#battery,
#custom-display,
#language {
padding: 8px 0 8px 24px;
}