|
|
|
|
|
by spsesk117
1110 days ago
|
|
Witch looks awesome, and I think has a killer feature I've been looking for for a while on linux (slightly off topic). I use rofi on linux to surface a dialog that allows me to execute programs, surface an X window, or change to a different tmux session. Rofi natively supports the first two, the tmux pane/session switcher being a little 10 line extension I wrote in bash. I love rofi and the ability to do this, but there is a 'white whale' in this workflow setup that I have not been able to crack: A rofi dialog that displays and surfaces browser tabs. I have fought with chromium dev mode/flags/options on several occasions trying to plumb together something like this, but cannot for the life of me figure it out; apparently chromium does not really want you to get a list of tabs from outside the browser. Has anyone with a similar workflow found a solution for this? I'd be willing to switch browsers, or try anything really. |
|
I agree that'd be great. I don't have that solution for you, but I can describe the workaround I've been using in my environment.
I use dmenu to switch between i3 workspaces by name [0]. Probably 80% of my workspaces contain a single browser window with multiple tabs (i.e. I'm currently on workspace "hn" which contains one Firefox window with 17 hackernews-or-hn-adjacent tabs).
My flow:
- With the browser window in my current workspace active
- I hit CTL+L (to focus the address bar)
- I type "%python typing" (in Firefox, the % prefix makes the query fuzzy match open tab titles across all browser windows)
- Select the tab title I want from the results and hit ENTER (surfaces the tab in its window and causes that tab's window to assign itself the X11 "urgent" flag)
- Read the 2-letter workspace name that is now highlighted in red at the bottom of my screen (i3 highlighted it because it contains a window with the "urgent" flag)
- Hit SUPER+C (to open dmenu with my workspace names)
- Type the 2-letter workspace name and hit ENTER (to switch to that workspace, where the tab is surfaced and waiting for me)
I do use rofi as my application launcher, though, and you're making me curious if it's possible to exfiltrate tab titles from Firefox. It'd be pretty slick to cut back from two chords+queries to one.
0: Reddit post I made a while back describing my setup, includes a video https://old.reddit.com/r/unixporn/comments/udd0zg/i3gaps_flu...