Updated firefox customization
- Get default profile and add user.js
This commit is contained in:
parent
2714f44007
commit
0c729f122c
1
playbook/roles/role-one/files/user.js
Normal file
1
playbook/roles/role-one/files/user.js
Normal file
|
@ -0,0 +1 @@
|
|||
user_pref("browser.uiCustomization.state", "{\"placements\":{\"widget-overflow-fixed-list\":[],\"nav-bar\":[\"back-button\",\"forward-button\",\"stop-reload-button\",\"customizableui-special-spring1\",\"urlbar-container\",\"customizableui-special-spring2\",\"new-tab-button\",\"save-to-pocket-button\",\"downloads-button\",\"fxa-toolbar-menu-button\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"alltabs-button\"],\"PersonalToolbar\":[\"import-button\",\"personal-bookmarks\"]},\"seen\":[\"save-to-pocket-button\",\"developer-button\"],\"dirtyAreaCache\":[\"nav-bar\",\"PersonalToolbar\",\"toolbar-menubar\",\"TabsToolbar\"],\"currentVersion\":17,\"newElementCount\":6}");
|
|
@ -19,3 +19,15 @@
|
|||
- name: Customize Firefox | Run Firefox Tweaks
|
||||
shell: "cd {{ home_directory }}/Downloads/WhiteSur-gtk-theme/ && ./tweaks.sh -f"
|
||||
when: firefox_check.rc == 0
|
||||
|
||||
- name: Customize Firefox | Get the name of default profile
|
||||
shell:
|
||||
cmd: "ls ~/.mozilla/firefox/ | grep 'default-release'"
|
||||
register: firefox_profile
|
||||
when: firefox_check.rc == 0
|
||||
|
||||
- name: Customize Firefox | Place user.js in profile
|
||||
copy:
|
||||
src: user.js
|
||||
dest: "{{ home_directory }}/.mozilla/firefox/{{ firefox_profile.stdout }}/user.js"
|
||||
when: firefox_check.rc == 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user