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:
parent
7af6f3b631
commit
b715978e69
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue