diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-16 18:07:41 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-16 18:07:41 +0900 |
| commit | 2c6d5ce3567b404a25cdcb1e385eb188742311ab (patch) | |
| tree | 90ff5f4cde9d60ff230cfcdd1cc5459c94200e22 /ar/.local/bin/browserprofile | |
| parent | 534dbf3c4000be0b1386e5faa5aaefef52dcb292 (diff) | |
modified firefox/vimium-options.json, modified zsh/.zshrc, modified bin/browserprofile
Diffstat (limited to 'ar/.local/bin/browserprofile')
| -rwxr-xr-x | ar/.local/bin/browserprofile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ar/.local/bin/browserprofile b/ar/.local/bin/browserprofile index ca49f02..64a419d 100755 --- a/ar/.local/bin/browserprofile +++ b/ar/.local/bin/browserprofile @@ -3,6 +3,7 @@ # Define the profile paths WORK_PROFILE="si.work" HOME_PROFILE="si.default" +TMUX_PROFILE="si.tmux" usage() { echo "Update the default profile in profiles.ini for Firefox or Librewolf." @@ -19,11 +20,13 @@ usage() { echo " Accepted values:" echo " work: Sets the work profile ($WORK_PROFILE)" echo " default: Sets the home profile ($HOME_PROFILE)" + echo " tmux: Sets the home profile ($TMUX_PROFILE)" echo "" echo "Examples:" echo " ${0##*/} -f -w # Set the work profile for Firefox" echo " ${0##*/} -l -d # Set the default profile for Librewolf" echo " ${0##*/} -f -d # Set the default profile for Firefox" + echo " ${0##*/} -f -t # Set the tmux profile for Firefox" } update_profiles_ini() { @@ -86,6 +89,9 @@ update_profile() { -d | --default | default) update_profiles_ini "$browser" "$HOME_PROFILE" ;; + -t | --tmux | tmux) + update_profiles_ini "$browser" "$TMUX_PROFILE" + ;; *) echo "Invalid profile type. Please use 'work' or 'default'." return 1 |
