Checkpoint
This commit is contained in:
parent
e17f84ad8a
commit
1e03c32201
32 changed files with 556 additions and 298 deletions
21
roles/firefox_dev/files/firefox-dev.desktop
Normal file
21
roles/firefox_dev/files/firefox-dev.desktop
Normal file
|
@ -0,0 +1,21 @@
|
|||
[Desktop Entry]
|
||||
Name=Firefox Developer Edition
|
||||
GenericName=Web Browser
|
||||
Exec=/home/jonathan/.local/bin/firefox-dev %u
|
||||
Icon=/home/jonathan/.local/opt/firefox/browser/chrome/icons/default/default128.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
|
||||
StartupNotify=true
|
||||
Categories=Network;WebBrowser;
|
||||
Keywords=web;browser;internet;
|
||||
Actions=new-window;new-private-window;
|
||||
StartupWMClass=Firefox Developer Edition
|
||||
|
||||
[Desktop Action new-window]
|
||||
Name=Open a New Window
|
||||
Exec=/home/jonathan/.local/bin/firefox-dev %u
|
||||
|
||||
[Desktop Action new-private-window]
|
||||
Name=Open a New Private Window
|
||||
Exec=/home/jonathan/.local/bin/firefox-dev --private-window %u
|
26
roles/firefox_dev/tasks/main.yml
Normal file
26
roles/firefox_dev/tasks/main.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
|
||||
- name: create ~/.local/opt/firefox/
|
||||
file:
|
||||
path: ~/.local/opt
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
- name: Fetch Firefox Developer Edition binary
|
||||
unarchive:
|
||||
src: https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64&lang=en-US
|
||||
dest: ~/.local/opt/
|
||||
mode: 0755
|
||||
remote_src: yes
|
||||
|
||||
- name: Link the binary
|
||||
file:
|
||||
src: ~/.local/opt/firefox/firefox
|
||||
dest: ~/.local/bin/firefox-dev
|
||||
state: link
|
||||
|
||||
- name: create firefox-dev.desktop
|
||||
copy:
|
||||
src: firefox-dev.desktop
|
||||
mode: "0644"
|
||||
dest: /home/jonathan/.local/share/applications/firefox-dev.desktop
|
Loading…
Add table
Add a link
Reference in a new issue