From: Samir Benmendil Date: Tue, 14 Jan 2014 18:11:05 +0000 (+0100) Subject: dwb: load-on-focus X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/c90c4af9d17285776d242ed7db33de50e6026a91 dwb: load-on-focus --- diff --git a/dwb/settings b/dwb/settings index 3bb199e..1a4f3f2 100644 --- a/dwb/settings +++ b/dwb/settings @@ -51,7 +51,7 @@ enable-favicon=true hint-active-color=#00ff00 resizable-text-areas=true javascript-schemes=true -load-on-focus=false +load-on-focus=true download-gradient-start=#0000aa hint-normal-color=#ffff99 spell-checking-languages= diff --git a/dwb/userscripts/startup-noautoreload.js b/dwb/userscripts/startup-noautoreload.js deleted file mode 100644 index c8dfc24..0000000 --- a/dwb/userscripts/startup-noautoreload.js +++ /dev/null @@ -1,13 +0,0 @@ -//!javascript - -// Prevents previously-opened tabs from reloading all at once after a restart. - -execute("set load-on-focus true"); - -var sigId = Signal.connect("navigation", function(wv) { - if (wv == tabs.current) - { - execute("set load-on-focus false"); - Signal.disconnect(sigId); - } -});