Fixed a bug launching web browser.

This commit is contained in:
Storm Dragon 2022-11-23 21:38:35 -05:00
parent 9ddc6e73d2
commit 52afc93472

4
i38.sh
View File

@ -158,7 +158,7 @@ if [ "$programList" != "${programList// /}" ]; then
else
webBrowser="${programList/#-/}"
fi
webBrowser="$(command -v webBrowser)"
webBrowser="$(command -v $webBrowser)"
# Text editor
unset programList
for i in geany gedit kate kwrite l3afpad leafpad libreoffice mousepad pluma ; do
@ -336,6 +336,8 @@ fi)
$(if command -v pidgin &> /dev/null ; then
echo 'bindsym p exec $(command -v pidgin), mode "default"'
fi)
# Restart orca
bindsym Shift+o exec $(command -v orca) --replace, mode "default"
# reload the configuration file
bindsym Control+semicolon exec bash -c 'i3-msg -t run_command reload && spd-say -P important -Cw "I38 Configuration reloaded."', mode "default"
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)