Skip to content

Commit

Permalink
Update gnome role for debian
Browse files Browse the repository at this point in the history
  • Loading branch information
mfinelli committed Jan 7, 2024
1 parent 0461e90 commit a2b847e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 14 deletions.
8 changes: 4 additions & 4 deletions roles/gnome/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
- key: use-system-font
value: "false"
- key: font
value: "'JetBrainsMono Nerd Font Mono 12'"
value: "'{{ gnome_terminal_font[ansible_os_family] }} 12'"
- key: use-theme-colors
value: "false"
- key: audible-bell
Expand Down Expand Up @@ -84,10 +84,10 @@
when: ansible_os_family == 'Archlinux'
community.general.dconf:
key: /org/gnome/shell/enabled-extensions
value: "[{{ gnome_extensions | join(', ') }}]"
value: "[{{ gnome_extensions[ansible_os_family] | join(', ') }}]"

- name: Configuring GNOME Shell dash-to-dock extension
when: ansible_os_family == 'Archlinux'
when: ansible_os_family == 'Archlinux' or ansible_os_family == 'Debian'
community.general.dconf:
key: /org/gnome/shell/extensions/dash-to-dock/{{ item.key }}
value: "{{ item.value }}"
Expand Down Expand Up @@ -132,7 +132,7 @@
value: "[{{ gnome_personal_dock | join(', ') }}]"

- name: Configuring GNOME Shell Arc Menu extension
when: ansible_os_family == 'Archlinux'
when: ansible_os_family == 'Archlinux' || ansible_os_family == 'Debian'
community.general.dconf:
key: "{{ item.key }}"
value: "{{ item.value }}"
Expand Down
39 changes: 29 additions & 10 deletions roles/gnome/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,34 @@
---
gnome_terminal_font:
Archlinux: JetBrainsMono Nerd Font Mono
Debian: FiraMono Nerd Font Mono

gnome_extensions:
- "'appindicatorsupport@rgcjonas.gmail.com'"
- "'arch-update@RaphaelRochet'"
- "'arcmenu@arcmenu.com'"
- "'dash-to-dock@micxgx.gmail.com'"
- "'espresso@coadmunkee.github.com'"
- "'keymapper@houmain.github.com'"
- "'no-overview@fthx'"
- "'systemd-manager@hardpixel.eu'"
- "'ubuntu-dock@ubuntu.com'"
- "'weatherintheclock@JasonLG1979.github.io'"
Archlinux:
- "'appindicatorsupport@rgcjonas.gmail.com'"
- "'arch-update@RaphaelRochet'"
- "'arcmenu@arcmenu.com'"
- "'dash-to-dock@micxgx.gmail.com'"
- "'espresso@coadmunkee.github.com'"
- "'keymapper@houmain.github.com'"
- "'no-overview@fthx'"
- "'systemd-manager@hardpixel.eu'"
- "'ubuntu-dock@ubuntu.com'"
- "'weatherintheclock@JasonLG1979.github.io'"
Debian:
- "'arcmenu@arcmenu.com'"
- "'bluetooth-quick-connect@bjarosze.gmail.com'"
- "'dash-to-dock@micxgx.gmail.com'"
- "'debian-updates-indicator@glerro.pm.me'"
- "'gamemode@christian.kellner.me'"
- "'keymapper@houmain.github.com'"
- "'no-overview@fthx'"
- "'openWeatherMenu'"
- "'ubuntu-appindicators@ubuntu.com'"

gnome_arcmenu_icon:
Archlinux: "6"
Debian: "1"

gnome_personal_dock:
- "'firefox.desktop'"
Expand Down

0 comments on commit a2b847e

Please sign in to comment.