Alt tab for hyprland on nix os

First, I intentionally did not ask the Hyprland community about this, as they seem to oppose the concept of “alt-tab.”

Just curious what others are using to fill this function on Hyprland. Most solutions my searches have brought me to have run into caveats on NixOS for me.

I am currently using wofi for my menu

I am working with this command (POC):

hyprctl clients | rg ^Window | wofi --dmenu | awk '{print $2}' | xargs -I{} hyprctl dispatcher focuswindow "address:0x{}"

This works for the alt tab, but I would love something that looks/acts better.


I was trying out your POC. I don’t know if it’s because I’m on a different version, but I had to do hyprctl dispatch focuswindow. I don’t personally do anything like that, but the concept is interesting. To make it better, did you want to be able to hold alt and tab through while performing focuswindow on each entry as you go?

That is what I would like to do. The reason I was using the address was because when you just do focus window, with multiple instances of the same app, they appear as one, and you do not know which you will end up with. :slight_smile: