scripts: Add mimeapps.list
files for xdg-open
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
4ccf179467
commit
dd56eee6e4
10
deploy.sh
10
deploy.sh
|
@ -12,11 +12,11 @@ RSYNC="rsync --archive --info=name1"
|
|||
$RSYNC latexmkrc $HOME/.latexmkrc
|
||||
$RSYNC zshrc $HOME/.zshrc
|
||||
|
||||
DIRS="git nvim tmux"
|
||||
ITEMS="git nvim tmux"
|
||||
|
||||
[ "$MODE" != --headless ] && DIRS+=" alacritty sway swaylock waybar waybar mako wofi"
|
||||
[ "$MODE" != --headless ] && ITEMS+=" alacritty sway swaylock waybar waybar mako wofi mimeapps.list"
|
||||
|
||||
for d in $DIRS; do
|
||||
mkdir -p $HOME/.config/$d
|
||||
$RSYNC $d $HOME/.config/
|
||||
for i in $ITEMS; do
|
||||
[ -d $i ] && mkdir -p $HOME/.config/$i
|
||||
$RSYNC $i $HOME/.config/
|
||||
done
|
||||
|
|
10
mimeapps.list
Normal file
10
mimeapps.list
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Default Applications]
|
||||
x-scheme-handler/http=org.mozilla.firefox.desktop;
|
||||
x-scheme-handler/https=org.mozilla.firefox.desktop;
|
||||
application/pdf=org.pwmt.zathura.desktop
|
||||
image/png=imv.desktop
|
||||
image/bmp=imv.desktop
|
||||
image/tiff=imv.desktop
|
||||
image/jpeg=imv.desktop
|
||||
image/gif=imv.desktop
|
||||
text/html=elinks.desktop
|
Reference in a new issue