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