File tree Expand file tree Collapse file tree 4 files changed +22
-5
lines changed
Expand file tree Collapse file tree 4 files changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,12 @@ elif does_bin_exist 'simplenote'; then
9090 NOTES_LAUNCHER=' simplenote.desktop'
9191fi
9292
93+ # Password Manager
94+ PASSWORD_MANAGER_LAUNCHER=' '
95+ if does_bin_exist ' com.bitwarden.desktop' ; then
96+ PASSWORD_MANAGER_LAUNCHER=' com.bitwarden.desktop.desktop'
97+ fi
98+
9399# Signal
94100SIGNAL_LAUNCHER=' '
95101if does_bin_exist ' org.signal.Signal' ; then
@@ -164,6 +170,7 @@ FAVOURITE_APPS=''
164170
165171[ -n " ${BROWSER_LAUNCHER} " ] && FAVOURITE_APPS=" ${FAVOURITE_APPS} , '${BROWSER_LAUNCHER} '"
166172[ -n " ${TERMINAL_LAUNCHER} " ] && FAVOURITE_APPS=" ${FAVOURITE_APPS} , '${TERMINAL_LAUNCHER} '"
173+ [ -n " ${PASSWORD_MANAGER_LAUNCHER} " ] && FAVOURITE_APPS=" ${FAVOURITE_APPS} , '${PASSWORD_MANAGER_LAUNCHER} '"
167174[ -n " ${FILE_MANAGER_LAUNCHER} " ] && FAVOURITE_APPS=" ${FAVOURITE_APPS} , '${FILE_MANAGER_LAUNCHER} '"
168175# [ -n "${STEAM_LAUNCHER}" ] && FAVOURITE_APPS="${FAVOURITE_APPS}, '${STEAM_LAUNCHER}'"
169176[ -n " ${TERMINAL_LAUNCHER} " ] && FAVOURITE_APPS=" ${FAVOURITE_APPS} , '${TERMINAL_LAUNCHER} '"
Original file line number Diff line number Diff line change @@ -96,6 +96,14 @@ if [ "${OS}" = 'Linux' ] && ${HAS_GUI}; then
9696 ' notification' false \
9797 ' location' false
9898 done
99+ for PASSWORD_MANAGER_APP in ' com.bitwarden.desktop' ; do
100+ set_linux_permission " ${PASSWORD_MANAGER_APP} " \
101+ ' background' false \
102+ ' camera' false \
103+ ' network' true \
104+ ' notification' false \
105+ ' location' false
106+ done
99107 for SPOTIFY_APP in ' dev.alextren.Spot' ' com.spotify.Client' ; do
100108 set_linux_permission " ${SPOTIFY_APP} " \
101109 ' background' false \
Original file line number Diff line number Diff line change 790790# ####################
791791# ## FILE MANAGERS ###
792792# ####################
793- if does_bin_exist " dolphin" ; then
793+ if does_bin_exist ' dolphin' ; then
794794 DOLPHIN_CONFIG_FILE=" ${XDG_CONFIG_HOME} /dolphinrc"
795795
796796 set_config_value --section " General" " ${DOLPHIN_CONFIG_FILE} " ShowStatusBar false
797797 set_config_value --section " MainWindow" " ${DOLPHIN_CONFIG_FILE} " MenuBar " Disabled"
798798fi
799- if does_bin_exist " nautilus" ; then
800- NAUTILUS_SCHEMA=" org.gnome.nautilus"
801- FILECHOOSER_SCHEMA=" org.gtk.Settings.FileChooser"
799+ if does_bin_exist ' nautilus' ; then
800+ NAUTILUS_SCHEMA=' org.gnome.nautilus'
801+ FILECHOOSER_SCHEMA=' org.gtk.Settings.FileChooser'
802802
803803 set_gsetting " ${NAUTILUS_SCHEMA} .compression" default-compression-format " 7z"
804804
@@ -810,7 +810,7 @@ if does_bin_exist "nautilus"; then
810810 set_gsetting " ${FILECHOOSER_SCHEMA} " show-hidden false
811811 set_gsetting " ${FILECHOOSER_SCHEMA} " sort-directories-first true
812812fi
813- if does_bin_exist " pcmanfm" ; then
813+ if does_bin_exist ' pcmanfm' ; then
814814 PCMANFM_CONFIG_FILE=" ${XDG_CONFIG_HOME} /pcmanfm/LXDE/pcmanfm.conf"
815815
816816 set_config_value " ${PCMANFM_CONFIG_FILE} " always_show_tabs 0
Original file line number Diff line number Diff line change @@ -680,6 +680,8 @@ if [ "${DESKTOP_ENVIRONMENT}" = 'GNOME' ]; then
680680 install_flatpak ' org.gnome.seahorse.Application'
681681fi
682682
683+ install_flatpak ' org.bitwarden.desktop'
684+
683685# ###############
684686# ## Settings ###
685687# ###############
You can’t perform that action at this time.
0 commit comments