Window switcher for sway ('rofi -show window' clone)
... and i rewrote this so it works with fuzzel, which involved (unfortunately) removing the fancy pango markup, but it should work with anything that supports dmenu now (as long as it also supports rofi's icon system):
https://gitlab.com/anarcat/scripts/-/blob/main/sway-window-menu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very nice. I made a few modifications in order to
rofi -show-icons
jq
to remove latency.The window id is encoded inside the strings passed to rofi hidden inside an html comment, for instace
<!-- 264 -->
, and retrieved later on using sed.