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 ;;
|
||||
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/pgp-encrypted) $EDITOR $fx ;;
|
||||
*) for f in $fx; do setsid -f $OPENER $f >/dev/null 2>&1; done;;
|
||||
esac
|
||||
}}
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
[ -f "$XINITRC" ] && alias startx="startx $XINITRC"
|
||||
|
||||
# sudo not required for some system commands
|
||||
for x in mount umount sv pacman updatedb su ; do
|
||||
alias $x="sudo $x"
|
||||
done
|
||||
for command in mount umount sv pacman updatedb su ; do
|
||||
alias $command="sudo $command"
|
||||
done; unset command
|
||||
|
||||
# Verbosity and settings that you pretty much just always are going to want.
|
||||
alias \
|
||||
|
|
|
@ -4,6 +4,7 @@ cf ${XDG_CONFIG_HOME:-$HOME/.config}
|
|||
D ${XDG_DOWNLOAD_DIR:-$HOME/Downloads}
|
||||
d ${XDG_DOCUMENTS_DIR:-$HOME/Documents}
|
||||
dt ${XDG_DATA_HOME:-$HOME/.local/share}
|
||||
rr ${XDG_DATA_HOME:-$HOME/.local/src}
|
||||
h $HOME
|
||||
m ${XDG_MUSIC_DIR:-$HOME/Music}
|
||||
mn /mnt
|
||||
|
|
Loading…
Reference in a new issue