Use $SHELL, fix after patch: Start terminal with a login shell if run from dmenu
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
8fc92c55d5
commit
ce188e2f26
2 changed files with 4 additions and 3 deletions
|
@ -70,7 +70,7 @@ programchoicesinit() {
|
|||
$(command -v ranger >/dev/null && echo 'Ranger ^ 0 ^ st -e ranger')
|
||||
$(command -v sacc >/dev/null && echo 'Sacc ^ 0 ^ st -e sacc i-logout.cz/1/bongusta')
|
||||
$(command -v sic >/dev/null && echo 'Sic ^ 0 ^ st -e sic')
|
||||
$(command -v st >/dev/null && echo 'St ^ 0 ^ st -e /bin/sh -l')
|
||||
$(command -v st >/dev/null && echo 'St ^ 0 ^ st -e $SHELL -l')
|
||||
$(command -v surf >/dev/null && echo 'Surf ^ 0 ^ surf')
|
||||
$(command -v syncthing >/dev/null && echo 'Syncthing ^ 0 ^ syncthing')
|
||||
$(command -v telegram-desktop >/dev/null && echo 'Telegram ^ 0 ^ telegram-desktop')
|
||||
|
|
|
@ -8,6 +8,7 @@ envvars() {
|
|||
command -v "$TERMCMD" || export TERMCMD=st
|
||||
command -v "$BROWSER" || export BROWSER=surf
|
||||
command -v "$EDITOR" || export EDITOR=vis
|
||||
command -v "$SHELL" || export SHELL=/bin/sh
|
||||
command -v "$KEYBOARD" || defaultkeyboard
|
||||
[ -z "$MPV_HOME" ] && export MPV_HOME=/usr/share/sxmo/mpv
|
||||
[ -z "$MOZ_USE_XINPUT2" ] && export MOZ_USE_XINPUT2=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue