replaced rotate with wlay

This commit is contained in:
Maximilian Wagner 2023-12-13 22:28:09 +01:00
parent 7a903c6f69
commit cea53b8add

8
config
View File

@ -16,7 +16,8 @@
"idle_inhibitor",
"clock",
"custom/weather",
"custom/rotate",
//"custom/rotate",
"custom/monsetup",
],
"modules-right": [
@ -82,6 +83,11 @@
"on-click": "~/.config/waybar/scripts/rotate-second-screen.sh",
},
"custom/monsetup": {
"format": " 󰍺 ",
"on-click": "wlay",
},
"custom/keyboard-layout": {
"exec": "swaymsg -t get_inputs | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4",
// Interval set only as a fallback, as the value is updated by signal