Tweaking on my omarchy desktop this morning.
I know I could probably fork and submit this back to you via github but I'm being lazy this morning and in a rush.
I've modified the omarchy-webapp-install script like so :
$ diff omarchy-webapp-install omarchy-webapp-install.orig
8d7
< PROFILE=$(gum input --prompt "Separate Profile?> " --placeholder "Leave Blank for shared profile")
13d11
< PROFILE="$4"
24,32d21
< # GEL
< if [ "$PROFILE" != "" ]; then
< USER_DATA_DIR="$HOME/.cache/ChromiumInstances/$APP_NAME"
< mkdir -p "$USER_DATA_DIR"
< USER_DATA_DIR="--user-data-dir=${USER_DATA_DIR}"
< else
< # else set to null
< USER_DATA_DIR=""
< fi
46c35
< Exec=omarchy-launch-webapp $APP_URL $USER_DATA_DIR
---
> Exec=omarchy-launch-webapp $APP_URL
This adds a 4th setup question, which if its anything but blank will create a seperate data directory to use for that web app under $HOME/.cache/ChromiumInstances/"
And then creates the resulting app.desktop file like so:
…/share/applications ❯ cat Facebook\ test.desktop
[Desktop Entry]
Version=1.0
Name=Facebook test
Comment=Facebook test
Exec=omarchy-launch-webapp https://facebook.com --user-data-dir=/home/glaw/.cache/ChromiumInstances/Facebook test
Terminal=false
Type=Application
Icon=/home/glaw/.local/share/applications/icons/Facebook test.png
StartupNotify=true
Usage scenario - I have 2 separate facebook profiles, one for my personal and one for a group that I administer that having 2 of the omarcy web apps work independently of one another would be useful.
Tweaking on my omarchy desktop this morning.
I know I could probably fork and submit this back to you via github but I'm being lazy this morning and in a rush.
I've modified the omarchy-webapp-install script like so :
This adds a 4th setup question, which if its anything but blank will create a seperate data directory to use for that web app under $HOME/.cache/ChromiumInstances/"
And then creates the resulting app.desktop file like so:
Usage scenario - I have 2 separate facebook profiles, one for my personal and one for a group that I administer that having 2 of the omarcy web apps work independently of one another would be useful.