fix #956
This commit is contained in:
parent
2440ad83e9
commit
9dec1225a4
4 changed files with 15 additions and 13 deletions
|
@ -23,6 +23,7 @@ cmd open ${{
|
||||||
audio/*) mpv --audio-display=no $f ;;
|
audio/*) mpv --audio-display=no $f ;;
|
||||||
video/*) setsid -f mpv $f -quiet >/dev/null 2>&1 ;;
|
video/*) setsid -f mpv $f -quiet >/dev/null 2>&1 ;;
|
||||||
application/pdf|application/vnd*|application/epub*) setsid -f zathura $fx >/dev/null 2>&1 ;;
|
application/pdf|application/vnd*|application/epub*) setsid -f zathura $fx >/dev/null 2>&1 ;;
|
||||||
|
application/pgp-encrypted) $EDITOR $fx ;;
|
||||||
*) for f in $fx; do setsid -f $OPENER $f >/dev/null 2>&1; done;;
|
*) for f in $fx; do setsid -f $OPENER $f >/dev/null 2>&1; done;;
|
||||||
esac
|
esac
|
||||||
}}
|
}}
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
[ -f "$XINITRC" ] && alias startx="startx $XINITRC"
|
[ -f "$XINITRC" ] && alias startx="startx $XINITRC"
|
||||||
|
|
||||||
# sudo not required for some system commands
|
# sudo not required for some system commands
|
||||||
for x in mount umount sv pacman updatedb su ; do
|
for command in mount umount sv pacman updatedb su ; do
|
||||||
alias $x="sudo $x"
|
alias $command="sudo $command"
|
||||||
done
|
done; unset command
|
||||||
|
|
||||||
# Verbosity and settings that you pretty much just always are going to want.
|
# Verbosity and settings that you pretty much just always are going to want.
|
||||||
alias \
|
alias \
|
||||||
|
|
|
@ -4,6 +4,7 @@ cf ${XDG_CONFIG_HOME:-$HOME/.config}
|
||||||
D ${XDG_DOWNLOAD_DIR:-$HOME/Downloads}
|
D ${XDG_DOWNLOAD_DIR:-$HOME/Downloads}
|
||||||
d ${XDG_DOCUMENTS_DIR:-$HOME/Documents}
|
d ${XDG_DOCUMENTS_DIR:-$HOME/Documents}
|
||||||
dt ${XDG_DATA_HOME:-$HOME/.local/share}
|
dt ${XDG_DATA_HOME:-$HOME/.local/share}
|
||||||
|
rr ${XDG_DATA_HOME:-$HOME/.local/src}
|
||||||
h $HOME
|
h $HOME
|
||||||
m ${XDG_MUSIC_DIR:-$HOME/Music}
|
m ${XDG_MUSIC_DIR:-$HOME/Music}
|
||||||
mn /mnt
|
mn /mnt
|
||||||
|
|
Loading…
Reference in a new issue