1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-25 08:13:11 +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 function minecraft
cd $D/Games/Minecraft/Game cd $D/Games/Minecraft/Game
rm (ff -e log) rm (ff -e log)
if not test -e /run/media/glados/disk/jdk/bin/java if not test -e /run/media/glados/disk/jdk/bin/java
gnome-disk-image-mounter $D/Installs/squash/java gnome-disk-image-mounter $D/Installs/squash/java
if not pgrep caja
caja & sleep 1
kj
end end
bin/MultiMC -d . $argv end
rm functions/* bin/MultiMC -d . $argv
for i in (ls -d instances/*/ | grep -v _MMC_TEMP | xargs -n1 basename) rm functions/*
echo > functions/$i.fish "function $i for i in (ls -d instances/*/ | grep -v _MMC_TEMP | xargs -n1 basename)
minecraft -l $i; end" echo > functions/$i.fish "function $i
minecraft -l $i; end"
end end
for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1) for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1)
echo > functions/$i.fish function $i" echo > functions/$i.fish function $i"
qb / \":quickmark-load $i\"; end" qb / \":quickmark-load $i\"; end"
end end
end end

View file

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