154 lines
4.8 KiB
YAML
Raw Normal View History

2021-02-06 15:33:26 -06:00
---
# GNOME settings, extensions, and setup.
2021-04-10 11:44:34 -05:00
# Check for special software that may need added to favorites.
- name: Workstation | Account Management | GNOME | Checks | Defaults
set_fact:
- browser: "com.github.Eloston.UngoogledChromium.desktop"
- name: Workstation | Account Management | GNOME | Checks | Brave | Locate
shell: which brave-browser
register: brave
ignore_errors: yes
- name: Workstation | Account Management | GNOME | Checks | Brave | Set As Browser
set_fact:
- browser: brave-browser.desktop
when: not brave.failed
2021-02-06 15:33:26 -06:00
# Make sure Gnome-Tweaks is installed
- name: Workstation | Account Management | GNOME | Install Dependencies
2021-02-06 15:33:26 -06:00
package:
name:
- "{{ gnome_tweaks }}"
- "{{ dconf_editor }}"
- "{{ psutil }}"
2021-02-06 15:33:26 -06:00
state: present
# Dash to Dock Extension
# Validate DtD by checking /org/gnome/shell/enabled-extensions for dash-to-dock@micxgx.gmail.com
2021-03-28 07:50:41 -05:00
- name: Workstation | Account Management | GNOME | Dash To Dock | Icon Size
dconf:
2021-03-28 08:33:26 -05:00
key: /org/gnome/shell/extensions/dash-to-dock/dash-max-icon-size
2021-03-28 07:50:41 -05:00
value: "32"
state: present
become_user: ling
2021-02-06 15:33:26 -06:00
2021-02-14 08:02:14 -06:00
# Favorites Bar (Terminal, Files, Firefox, Thunderbird, LBRY, Discord, VS Code, Android Studio, Lutris, Steam)
2021-02-06 16:40:41 -06:00
- name: Workstation | Account Management | GNOME | Favorites (Linux)
2021-02-06 16:33:16 -06:00
dconf:
key: /org/gnome/shell/favorite-apps
2021-02-23 19:01:52 -06:00
value: "['org.gnome.Terminal.desktop', 'gnome-system-monitor.desktop', 'org.gnome.Nautilus.desktop',
2021-04-10 11:44:34 -05:00
'{{ brave_browser }}', 'org.mozilla.Thunderbird.desktop',
2021-02-14 19:53:11 -06:00
'com.discordapp.Discord.desktop', 'io.lbry.lbry-app.desktop', 'com.visualstudio.code-oss.desktop', 'com.google.AndroidStudio.desktop',
'org.shotcut.Shotcut.desktop', 'com.obsproject.Studio.desktop', 'com.valvesoftware.Steam.desktop', 'net.lutris.Lutris.desktop']"
2021-02-06 16:33:16 -06:00
state: present
become_user: ling
2021-02-06 15:33:26 -06:00
when: ansible_system == "Linux"
2021-02-06 16:33:16 -06:00
2021-02-06 16:40:41 -06:00
- name: Workstation | Account Management | GNOME | Favorites (FreeBSD)
2021-02-06 16:33:16 -06:00
dconf:
key: /org/gnome/shell/favorite-apps
value: "['org.gnome.Terminal.desktop', 'org.gnome.Nautilus.desktop', 'firefox.desktop', 'org.mozilla.Thunderbird.desktop', 'code-oss.desktop']"
2021-02-06 16:33:16 -06:00
state: present
become_user: ling
2021-02-06 15:33:26 -06:00
when: ansible_system == "FreeBSD"
# Top Bar Settings (Battery Percentage, Clock Weekday+Seconds, Calendar Week Numbers)
2021-02-06 16:40:41 -06:00
- name: Workstation | Account Management | GNOME | Interface - Show Date
2021-02-06 16:33:16 -06:00
dconf:
key: /org/gnome/desktop/interface/clock-show-date
2021-02-06 16:34:40 -06:00
value: "true"
2021-02-06 16:33:16 -06:00
state: present
become_user: ling
2021-02-06 15:33:26 -06:00
2021-02-06 16:40:41 -06:00
- name: Workstation | Account Management | GNOME | Interface - 24h Format
2021-02-06 16:33:16 -06:00
dconf:
key: /org/gnome/desktop/interface/clock-format
value: "'24h'"
state: present
become_user: ling
2021-02-06 15:33:26 -06:00
2021-02-06 16:40:41 -06:00
- name: Workstation | Account Management | GNOME | Interface - Show Seconds
2021-02-06 16:33:16 -06:00
dconf:
key: /org/gnome/desktop/interface/clock-show-seconds
2021-02-06 16:34:40 -06:00
value: "true"
2021-02-06 16:33:16 -06:00
state: present
become_user: ling
2021-02-06 15:33:26 -06:00
2021-02-06 16:40:41 -06:00
- name: Workstation | Account Management | GNOME | Interface - Show Weekday
2021-02-06 16:33:16 -06:00
dconf:
key: /org/gnome/desktop/interface/clock-show-weekday
2021-02-06 16:34:40 -06:00
value: "true"
2021-02-06 16:33:16 -06:00
state: present
become_user: ling
2021-02-06 15:33:26 -06:00
2021-02-06 16:40:41 -06:00
- name: Workstation | Account Management | GNOME | Interface - 24h Format
2021-02-06 16:33:16 -06:00
dconf:
key: /org/gnome/desktop/interface/show-battery-percentage
2021-02-06 16:34:40 -06:00
value: "true"
2021-02-06 16:33:16 -06:00
state: present
become_user: ling
2021-02-06 15:33:26 -06:00
2021-02-06 16:40:41 -06:00
- name: Workstation | Account Management | GNOME | Interface - Show Week Date
2021-02-06 16:33:16 -06:00
dconf:
key: /org/gnome/desktop/calendar/show-weekdate
2021-02-06 16:34:40 -06:00
value: "true"
2021-02-06 16:33:16 -06:00
state: present
become_user: ling
2021-02-06 15:33:26 -06:00
# Never Prompt for Removal Media
# Dark theme?
#Pop-dark on Pop
#Adwaita-dark on everything else
# Window Titlebars (Titlebar Buttons Minimize)
2021-02-06 16:40:41 -06:00
- name: Workstation | Account Management | GNOME | Window Buttons
dconf:
2021-02-06 16:12:56 -06:00
key: /org/gnome/desktop/wm/preferences/button-layout
value: "'appmenu:minimize,close'"
state: present
2021-02-06 16:25:49 -06:00
become_user: ling
2021-02-06 15:33:26 -06:00
2021-02-06 16:40:41 -06:00
# Security
- name: Workstation | Account Management | GNOME | Privacy - Camera
2021-02-06 16:33:16 -06:00
dconf:
key: /org/gnome/desktop/privacy/disable-camera
2021-02-06 16:34:40 -06:00
value: "true"
2021-02-06 16:33:16 -06:00
state: present
become_user: ling
2021-02-06 15:33:26 -06:00
2021-02-06 16:40:41 -06:00
- name: Workstation | Account Management | GNOME | Privacy - Microphone
2021-02-06 16:33:16 -06:00
dconf:
key: /org/gnome/desktop/privacy/disable-microphone
2021-02-06 16:34:40 -06:00
value: "true"
2021-02-06 16:33:16 -06:00
state: present
become_user: ling
2021-02-06 15:33:26 -06:00
# Schemas to try after looking at gsettings list-schemas | sort
# org.gnome.ControlCenter -- not very interesting
# org.gnome.desktop.default-applications -- nothing?? Where do we set Firefox and Evolution?
# org.gnome.desktop.interface -- Good stuff in here.
# org.gnome.desktop.peripherals -- Nothing :(
# org.gnome.desktop.privacy -- Good stuff here too!! Cool!
# org.gnome.desktop.session
# org.gnome.desktop.wm.keybindings
# org.gnome.desktop.wm.preferences
# org.gnome.power-manager
# org.gnome.SessionManager
# org.gnome.shell
# org.gnome.shell.extensions.pop-shell
# org.gnome.shell.keybindings