1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-25 00:03:29 +00:00

Fish: MC java mount w/ caja; Qute: more JS perms

This commit is contained in:
Phantop 2020-02-23 19:38:46 -05:00
parent 7af6f3b631
commit b715978e69
2 changed files with 18 additions and 12 deletions

View file

@ -1,18 +1,22 @@
# Defined in /tmp/fish.ISD2gG/minecraft.fish @ line 2
# Defined in /tmp/fish.Yuay2h/minecraft.fish @ line 2
function minecraft
cd $D/Games/Minecraft/Game
rm (ff -e log)
if not test -e /run/media/glados/disk/jdk/bin/java
gnome-disk-image-mounter $D/Installs/squash/java
cd $D/Games/Minecraft/Game
rm (ff -e log)
if not test -e /run/media/glados/disk/jdk/bin/java
gnome-disk-image-mounter $D/Installs/squash/java
if not pgrep caja
caja & sleep 1
kj
end
bin/MultiMC -d . $argv
rm functions/*
for i in (ls -d instances/*/ | grep -v _MMC_TEMP | xargs -n1 basename)
echo > functions/$i.fish "function $i
minecraft -l $i; end"
end
bin/MultiMC -d . $argv
rm functions/*
for i in (ls -d instances/*/ | grep -v _MMC_TEMP | xargs -n1 basename)
echo > functions/$i.fish "function $i
minecraft -l $i; end"
end
for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1)
echo > functions/$i.fish function $i"
qb / \":quickmark-load $i\"; end"
end
end
end

View file

@ -171,7 +171,9 @@ settings:
content.javascript.can_access_clipboard:
global: false
content.javascript.can_open_tabs_automatically:
global: false
global: true
content.javascript.modal_dialog:
global: true
content.media_capture:
https://discordapp.com: true
content.pdfjs: