aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-06-19 18:07:27 +0300
committerYaroslav <contact@yaroslavps.com>2020-06-19 18:07:27 +0300
commit7b8854b566447d85bb003d43e53e0ad83ba15a62 (patch)
treedbddbcef290bde66bcbb3647260a3ff706fcffc1 /dotfiles
parent40d22ecc9ec5884664b2a2e29cf40370af0a839d (diff)
downloadswayrice-7b8854b566447d85bb003d43e53e0ad83ba15a62.tar.gz
swayrice-7b8854b566447d85bb003d43e53e0ad83ba15a62.zip
xdg-open shortcut
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.config/mimeapps.list4
-rw-r--r--dotfiles/.config/zsh/shortcuts1
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";}