Choosing a browser profile with xdg-open

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

Something interesting would be that if you issue the command on a specific workspace (for example for work) then it would automatically open the work profile without even asking.

With dwm you could probably find out the current tag and go from there, right?

ederbit
Автор

In my dwm config.h:

Using brave as my default browser:

{ MODKEY, XK_w, spawn, SHCMD("$BROWSER --profile-directory=Default") },
{ MODKEY|ShiftMask, XK_w, spawn, SHCMD("$BROWSER --profile-directory=work") },

garviztv
Автор

Why not create a script to show a dmenu popu and alias it to xdg-open ?

ederbit
Автор

Might this work?
exec --no-startup-id i3-msg '1:Web; exec /usr/bin/google-chrome-stable

johnwpierce
Автор

Gonzalez Matthew Taylor Jessica Clark Richard

FieldWordsworth-mn