128 lines
3.9 KiB
YAML
128 lines
3.9 KiB
YAML
---
|
|
# GNOME settings, extensions, and setup.
|
|
|
|
# Make sure Gnome-Tweaks is installed
|
|
- name: General | Account Management | GNOME | Install Settings Editors
|
|
package:
|
|
name:
|
|
- "{{ gnome_tweaks }}"
|
|
- "{{ dconf_editor }}"
|
|
state: present
|
|
|
|
|
|
# Dash to Dock Extension
|
|
# Validate DtD by checking /org/gnome/shell/enabled-extensions for dash-to-dock@micxgx.gmail.com
|
|
|
|
|
|
# Setup Favorites Bar (Terminal, Files, Firefox, Thunderbird, LBRY, Discord, VS Code, Android Studio, Lutris, Steam)
|
|
- name: General | Account Management | GNOME | Favorites (Linux)
|
|
dconf:
|
|
key: /org/gnome/shell/favorite-apps
|
|
value: "['org.gnome.Terminal.desktop', 'org.gnome.Nautilus.desktop', 'firefox.desktop', 'org.mozilla.Thunderbird.desktop', 'io.lbry.lbry-app.desktop', 'com.discordapp.Discord.desktop', 'code.desktop', 'com.google.AndroidStudio.desktop', 'net.lutris.Lutris.desktop', 'steam.desktop']"
|
|
state: present
|
|
become_user: ling
|
|
when: ansible_system == "Linux"
|
|
|
|
- name: General | Account Management | GNOME | Favorites (FreeBSD)
|
|
dconf:
|
|
key: /org/gnome/shell/favorite-apps
|
|
value: "['org.gnome.Terminal.desktop', 'org.gnome.Nautilus.desktop', 'firefox.desktop', 'org.mozilla.Thunderbird.desktop', 'code.desktop']"
|
|
state: present
|
|
become_user: ling
|
|
when: ansible_system == "FreeBSD"
|
|
|
|
|
|
# Top Bar Settings (Battery Percentage, Clock Weekday+Seconds, Calendar Week Numbers)
|
|
- name: General | Account Management | GNOME | Interface - Show Date
|
|
dconf:
|
|
key: /org/gnome/desktop/interface/clock-show-date
|
|
value: true
|
|
state: present
|
|
become_user: ling
|
|
|
|
- name: General | Account Management | GNOME | Interface - 24h Format
|
|
dconf:
|
|
key: /org/gnome/desktop/interface/clock-format
|
|
value: "'24h'"
|
|
state: present
|
|
become_user: ling
|
|
|
|
- name: General | Account Management | GNOME | Interface - Show Seconds
|
|
dconf:
|
|
key: /org/gnome/desktop/interface/clock-show-seconds
|
|
value: true
|
|
state: present
|
|
become_user: ling
|
|
|
|
- name: General | Account Management | GNOME | Interface - Show Weekday
|
|
dconf:
|
|
key: /org/gnome/desktop/interface/clock-show-weekday
|
|
value: true
|
|
state: present
|
|
become_user: ling
|
|
|
|
- name: General | Account Management | GNOME | Interface - 24h Format
|
|
dconf:
|
|
key: /org/gnome/desktop/interface/show-battery-percentage
|
|
value: true
|
|
state: present
|
|
become_user: ling
|
|
|
|
- name: General | Account Management | GNOME | Interface - Show Week Date
|
|
dconf:
|
|
key: /org/gnome/desktop/calendar/show-weekdate
|
|
value: true
|
|
state: present
|
|
become_user: ling
|
|
|
|
|
|
# Never Prompt for Removal Media
|
|
|
|
|
|
|
|
# Dark theme?
|
|
#Pop-dark on Pop
|
|
#Adwaita-dark on everything else
|
|
|
|
|
|
|
|
# Window Titlebars (Titlebar Buttons Minimize)
|
|
- name: General | Account Management | GNOME | Window Buttons
|
|
dconf:
|
|
key: /org/gnome/desktop/wm/preferences/button-layout
|
|
value: "'appmenu:minimize,close'"
|
|
state: present
|
|
become_user: ling
|
|
|
|
|
|
# Security- name: General | Account Management | GNOME | Window Buttons
|
|
- name: General | Account Management | GNOME | Privacy - Camera
|
|
dconf:
|
|
key: /org/gnome/desktop/privacy/disable-camera
|
|
value: true
|
|
state: present
|
|
become_user: ling
|
|
|
|
- name: General | Account Management | GNOME | Privacy - Microphone
|
|
dconf:
|
|
key: /org/gnome/desktop/privacy/disable-microphone
|
|
value: true
|
|
state: present
|
|
become_user: ling
|
|
|
|
|
|
|
|
# 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 |