summaryrefslogtreecommitdiffstats
path: root/scripts/firstrun/10-firefox/main
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-05-03 22:14:46 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-05-03 22:14:46 +0200
commit6d3c9990032a3da598a428f73b2cdf684958dad7 (patch)
tree22e2caec8a1c49941b798d0389837e47c1b79cf5 /scripts/firstrun/10-firefox/main
parent460236f5fe9a37c27c74d6ac5872a63315fa814d (diff)
downloaddotfiles-6d3c9990032a3da598a428f73b2cdf684958dad7.tar.gz
dotfiles-6d3c9990032a3da598a428f73b2cdf684958dad7.tar.xz
dotfiles-6d3c9990032a3da598a428f73b2cdf684958dad7.zip
Firefox settings: automate feed button in the bottom toolbar
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'scripts/firstrun/10-firefox/main')
-rw-r--r--scripts/firstrun/10-firefox/main10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/firstrun/10-firefox/main b/scripts/firstrun/10-firefox/main
index 5f10a43..9661bfa 100644
--- a/scripts/firstrun/10-firefox/main
+++ b/scripts/firstrun/10-firefox/main
@@ -64,7 +64,7 @@ echo created "${PROFILE}"
cp.write(stdout)
EOF
-echo "Please set security.dialog_enable_delay to zero (highly recommended)"
+echo "Please set security.dialog_enable_delay to zero (recommended to save time)"
${FIREFOX} about:config
for plugin in $plugins; do
@@ -128,13 +128,19 @@ EOF
mkdir -p "${PROFILE}/chrome"
cat > "${PROFILE}/chrome/userContent.css" <<-EOF
+ /* increase the size of checkboxes */
input[type=checkbox]
{
- -moz-transform: scale(2);
+ -moz-transform: scale(1.5);
padding: 10px;
}
EOF
+mv "${PROFILE}/localstore.rdf{,.orig}"
+# add feed button to bottom toolbar
+xsltproc toolbar-layout.xsl -o "${PROFILE}/localstore.rdf{,.orig}"
+rm -f -- "${PROFILE}/localstore.rdf.orig"
+
sleep 2 \
&& ${FIREFOX} -pentadactyl "++cmd 'source pentadactylrc-firstrun' +c 'mkvimruntime'"