From 7b8854b566447d85bb003d43e53e0ad83ba15a62 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Fri, 19 Jun 2020 18:07:27 +0300 Subject: xdg-open shortcut --- dotfiles/.config/mimeapps.list | 4 ++-- dotfiles/.config/zsh/shortcuts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dotfiles/.config/mimeapps.list b/dotfiles/.config/mimeapps.list index 52b9972..2d5010d 100644 --- a/dotfiles/.config/mimeapps.list +++ b/dotfiles/.config/mimeapps.list @@ -1,8 +1,9 @@ [Default Applications] +application/pdf=org.pwmt.zathura-pdf-mupdf.desktop; application/rdf+xml=org.qutebrowser.qutebrowser.desktop; application/xhtml+xml=org.qutebrowser.qutebrowser.desktop; application/xml=org.qutebrowser.qutebrowser.desktop; -application/pdf=org.pwmt.zathura-pdf-mupdf.desktop; +audio/mpeg=mpv.desktop; image/gif=imv.desktop; image/jpeg=imv.desktop; image/png=imv.desktop; @@ -12,4 +13,3 @@ x-scheme-handler/discord-589393213723246592=discord-589393213723246592.desktop; x-scheme-handler/http=org.qutebrowser.qutebrowser.desktop; x-scheme-handler/https=org.qutebrowser.qutebrowser.desktop; x-scheme-handler/qute=org.qutebrowser.qutebrowser.desktop; - diff --git a/dotfiles/.config/zsh/shortcuts b/dotfiles/.config/zsh/shortcuts index 0f24cec..bf1cddc 100644 --- a/dotfiles/.config/zsh/shortcuts +++ b/dotfiles/.config/zsh/shortcuts @@ -8,6 +8,7 @@ alias ls="ls -hN --color=auto --group-directories-first" alias tmux="tmux -f $HOME/.config/tmux/tmux.conf" alias units="units -H ''" alias trans="trans -v -pager='less -R'" +alias op="xdg-open" corona() { curl -s https://corona-stats.online/$1 ;} # It's corona time wintitle() { printf "\033]2;%s\a" "$1";} -- cgit v1.2.3