Ensure extension Dash To Dock exists, attempt 1.
This commit is contained in:
parent
143907c8ff
commit
90105c1b9d
@ -27,8 +27,66 @@
|
|||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
|
||||||
# Dash to Dock Extension
|
## Dash to Dock Extension ##
|
||||||
# Validate DtD by checking /org/gnome/shell/enabled-extensions for dash-to-dock@micxgx.gmail.com
|
# Note: Validate DtD by checking /org/gnome/shell/enabled-extensions for dash-to-dock@micxgx.gmail.com
|
||||||
|
|
||||||
|
- name: Workstation | Account Management | GNOME | Dash To Dock | Check
|
||||||
|
shell: "cd ~/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/"
|
||||||
|
become_user: ling
|
||||||
|
register: dash_to_dock_exists
|
||||||
|
ignore_errors: yes
|
||||||
|
|
||||||
|
# Install #
|
||||||
|
# https://micheleg.github.io/dash-to-dock/download.html
|
||||||
|
|
||||||
|
- name: Workstation | Account Management | GNOME | Dash To Dock | Install | Clone Repo
|
||||||
|
git:
|
||||||
|
repo: https://github.com/micheleg/dash-to-dock.git
|
||||||
|
dest: "~/TRASH/dash-to-dock/"
|
||||||
|
clone: yes
|
||||||
|
force: no
|
||||||
|
version: master
|
||||||
|
become_user: ling
|
||||||
|
when: dash_to_dock_exists.failed
|
||||||
|
|
||||||
|
- name: Workstation | Account Management | GNOME | Dash To Dock | Install | Make
|
||||||
|
shell: "cd ~/TRASH/dash-to-dock/; make; make install"
|
||||||
|
when: dash_to_dock_exists.failed
|
||||||
|
|
||||||
|
- name: Workstation | Account Management | GNOME | Dash To Dock | Icon Size
|
||||||
|
dconf:
|
||||||
|
key: /org/gnome/shell/enabled-extensions
|
||||||
|
state: read
|
||||||
|
become_user: ling
|
||||||
|
register: gnome_enabled_extensions
|
||||||
|
when: dash_to_dock_exists.failed
|
||||||
|
|
||||||
|
- debug:
|
||||||
|
var: gnome_enabled_extensions
|
||||||
|
|
||||||
|
- name: Workstation | Account Management | GNOME | Dash To Dock | Icon Size
|
||||||
|
dconf:
|
||||||
|
key: /org/gnome/shell/enabled-extensions
|
||||||
|
value: "{{ gnome_enabled_extensions.value }}, 'dash-to-dock@micxgx.gmail.com'"
|
||||||
|
state: present
|
||||||
|
become_user: ling
|
||||||
|
when: gnome_enabled_extensions is defined
|
||||||
|
|
||||||
|
# Settings #
|
||||||
|
|
||||||
|
- name: Workstation | Account Management | GNOME | Dash To Dock | Icon Size
|
||||||
|
dconf:
|
||||||
|
key: /org/gnome/shell/extensions/dash-to-dock/dock-position
|
||||||
|
value: "LEFT"
|
||||||
|
state: present
|
||||||
|
become_user: ling
|
||||||
|
|
||||||
|
- name: Workstation | Account Management | GNOME | Dash To Dock | Icon Size
|
||||||
|
dconf:
|
||||||
|
key: /org/gnome/shell/extensions/dash-to-dock/dock-fixed
|
||||||
|
value: true
|
||||||
|
state: present
|
||||||
|
become_user: ling
|
||||||
|
|
||||||
- name: Workstation | Account Management | GNOME | Dash To Dock | Icon Size
|
- name: Workstation | Account Management | GNOME | Dash To Dock | Icon Size
|
||||||
dconf:
|
dconf:
|
||||||
@ -37,13 +95,12 @@
|
|||||||
state: present
|
state: present
|
||||||
become_user: ling
|
become_user: ling
|
||||||
|
|
||||||
# Favorites Bar (Terminal, Files, Firefox, Thunderbird, LBRY, Discord, VS Code, Android Studio, Lutris, Steam)
|
|
||||||
- name: Workstation | Account Management | GNOME | Favorites (Linux)
|
- name: Workstation | Account Management | GNOME | Favorites (Linux)
|
||||||
dconf:
|
dconf:
|
||||||
key: /org/gnome/shell/favorite-apps
|
key: /org/gnome/shell/favorite-apps
|
||||||
value: "['org.gnome.Terminal.desktop', 'gnome-system-monitor.desktop', 'org.gnome.Nautilus.desktop',
|
value: "['org.gnome.Terminal.desktop', 'gnome-system-monitor.desktop', 'org.gnome.Nautilus.desktop',
|
||||||
'{{ browser }}', 'org.mozilla.Thunderbird.desktop', 'org.telegram.desktop.desktop', 'com.discordapp.Discord.desktop',
|
'{{ browser }}', 'org.mozilla.Thunderbird.desktop', 'org.telegram.desktop.desktop', 'com.discordapp.Discord.desktop',
|
||||||
'rhythmbox.desktop', 'io.lbry.lbry-app.desktop', 'com.visualstudio.code-oss.desktop', 'codium.desktop',
|
'rhythmbox.desktop', 'io.lbry.lbry-app.desktop', 'codium.desktop', 'com.visualstudio.code-oss.desktop',
|
||||||
'org.shotcut.Shotcut.desktop', 'com.valvesoftware.Steam.desktop', 'net.lutris.Lutris.desktop']"
|
'org.shotcut.Shotcut.desktop', 'com.valvesoftware.Steam.desktop', 'net.lutris.Lutris.desktop']"
|
||||||
state: present
|
state: present
|
||||||
become_user: ling
|
become_user: ling
|
||||||
@ -58,7 +115,9 @@
|
|||||||
when: ansible_system == "FreeBSD"
|
when: ansible_system == "FreeBSD"
|
||||||
|
|
||||||
|
|
||||||
# Top Bar Settings (Battery Percentage, Clock Weekday+Seconds, Calendar Week Numbers)
|
## Top Bar Settings ##
|
||||||
|
# (Battery Percentage, Clock Weekday+Seconds, Calendar Week Numbers)
|
||||||
|
|
||||||
- name: Workstation | Account Management | GNOME | Interface - Show Date
|
- name: Workstation | Account Management | GNOME | Interface - Show Date
|
||||||
dconf:
|
dconf:
|
||||||
key: /org/gnome/desktop/interface/clock-show-date
|
key: /org/gnome/desktop/interface/clock-show-date
|
||||||
|
Loading…
x
Reference in New Issue
Block a user