diff options
author | EuAndreh <eu@euandre.org> | 2018-07-06 18:38:47 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2018-07-06 18:39:39 -0300 |
commit | b3fcc602a9093aa49b71be4ef5f69d81bcfe79d4 (patch) | |
tree | 913f03be03e7376c7e53878da431b02b6d18149b | |
parent | Add NEXTCLOUD env var (diff) | |
download | dotfiles-b3fcc602a9093aa49b71be4ef5f69d81bcfe79d4.tar.gz dotfiles-b3fcc602a9093aa49b71be4ef5f69d81bcfe79d4.tar.xz |
Add xdg.sh bash file to start routine
-rw-r--r-- | bash/bashrc.sh | 1 | ||||
-rw-r--r-- | bash/xdg.sh | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/bash/bashrc.sh b/bash/bashrc.sh index 319220d..177311f 100644 --- a/bash/bashrc.sh +++ b/bash/bashrc.sh @@ -16,6 +16,7 @@ source $DOTFILES/bash/facepalm/rotten-apple.sh source $DOTFILES/bash/npm.sh source $DOTFILES/bash/x.sh source $DOTFILES/encrypted/env.sh +source $DOTFILES/bash/xdg.sh set -h source ~/dev/nu/nucli/nu.bashcompletion diff --git a/bash/xdg.sh b/bash/xdg.sh new file mode 100644 index 0000000..ca8ee57 --- /dev/null +++ b/bash/xdg.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +mkdir -p ~/.local/share/applications/ + +cat << EOF > ~/.local/share/applications/evince-andreh.desktop +[Desktop Entry] +Type=Application +Name=evince +Comment=Evince PDF viewer +Terminal=false +Exec=evince +Categories=Network;WebBrowserEOF +EOF + +xdg-mime default evince-andreh.desktop application/pdf |