Use one web-browser object either for -esr or normal
This commit is contained in:
parent
ff5ff99f0e
commit
6572974d49
2 changed files with 3 additions and 9 deletions
|
@ -9,3 +9,4 @@
|
||||||
dest: "{{ ansible_env.HOME }}/.local/share/mate-panel/layouts/acp.layout"
|
dest: "{{ ansible_env.HOME }}/.local/share/mate-panel/layouts/acp.layout"
|
||||||
vars:
|
vars:
|
||||||
prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}"
|
prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}"
|
||||||
|
esr: "{{ '-esr' if ansible_distribution == 'Debian' else '' }}"
|
||||||
|
|
|
@ -30,18 +30,11 @@ toplevel-id=top
|
||||||
position=30
|
position=30
|
||||||
locked=true
|
locked=true
|
||||||
|
|
||||||
[Object web-browser-esr]
|
|
||||||
object-type=launcher
|
|
||||||
launcher-location={{ prefix }}/share/applications/firefox-esr.desktop
|
|
||||||
toplevel-id=top
|
|
||||||
position=40
|
|
||||||
locked=true
|
|
||||||
|
|
||||||
[Object web-browser]
|
[Object web-browser]
|
||||||
object-type=launcher
|
object-type=launcher
|
||||||
launcher-location={{ prefix }}/share/applications/firefox.desktop
|
launcher-location={{ prefix }}/share/applications/firefox{{ esr }}.desktop
|
||||||
toplevel-id=top
|
toplevel-id=top
|
||||||
position=41
|
position=40
|
||||||
locked=true
|
locked=true
|
||||||
|
|
||||||
[Object window-list]
|
[Object window-list]
|
||||||
|
|
Loading…
Reference in a new issue