Skip to content

Commit

Permalink
Redo dconf configuring
Browse files Browse the repository at this point in the history
  • Loading branch information
rkiyanchuk committed Aug 23, 2021
1 parent 6a04c0f commit 7d62d7e
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 95 deletions.
67 changes: 67 additions & 0 deletions group_vars/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,73 @@ extra_aur_packages:
- tectonic
- visual-studio-code-bin

# Monitor settings with `dconf watch /` while configuring via UI, then update here.
# Run `dconf update` to manually update settings.
dconf:
"/org/gnome/desktop/interface/clock-show-date": "true"
"/org/gnome/desktop/interface/enable-hot-corners": "false"
"/org/gnome/desktop/interface/show-battery-percentage": "true"
"/org/gnome/desktop/notifications/show-in-lock-screen": "false"
"/org/gnome/settings-daemon/plugins/color/night-light-enabled": "true"
"/org/gnome/settings-daemon/plugins/color/night-light-temperature": "3700"
"/org/gnome/settings-daemon/plugins/power/sleep-inactive-ac-type": "'nothing'"

#[org/gnome/desktop/interface]
#gtk-scheme = "Breeze"
#icon-theme = "Breeze"
#cursor-theme = "Breeze_Snow"
#clock-show-weekday = true
#clock-show-seconds = true
#
## Date and time settings
#clock-show-date = true
#
## Battery settings
#show-battery-percentage = true
#
## Touchpad settings
#[org/gnome/desktop/peripherals/touchpad]
#tap-to-click = true
#natural-scroll = true
#disable-while-typing = true
#
#[org/gnome/desktop/peripherals/mouse]
#natural-scroll = true
#
#[org/gnome/desktop/input-sources]
#sources = [('xkb', 'us'), ('xkb', 'ua'), ('xkb', 'ru')]
#xkb-options = ['terminate:ctrl_alt_bksp', 'lv3:ralt_switch', 'compose:ralt']
#
#[org/gnome/mutter]
#dynamic-workspaces = false
#
#[org/gnome/shell/keybindings]
#switch-to-application-1=['<Super><Alt>1']
#switch-to-application-2=['<Super><Alt>2']
#switch-to-application-3=['<Super><Alt>3']
#switch-to-application-4=['<Super><Alt>4']
#
#
#[org/gnome/desktop/wm/keybindings]
#switch-to-workspace-1 = ['<Primary>1']
#switch-to-workspace-2 = ['<Primary>2']
#switch-to-workspace-3 = ['<Primary>3']
#switch-to-workspace-4 = ['<Primary>4']
#
#move-to-workspace-1 = ['<Primary><Super>1']
#move-to-workspace-2 = ['<Primary><Super>2']
#move-to-workspace-3 = ['<Primary><Super>3']
#move-to-workspace-4 = ['<Primary><Super>4']
#
#switch-applications = ['<Super>Tab']
#switch-applications-backward = ['<Shift><Super>Tab']
#
#switch-windows = ['<Alt>Tab']
#switch-windows-backward = ['<Shift><Alt>Tab']
#
#close = ['<Primary>q']
#

# dotfiles:
# repo: "https://github.com/rkiyanchuk/dotfiles"
# install_cmds:
Expand Down
94 changes: 0 additions & 94 deletions roles/gnome/tasks/dconf.yaml

This file was deleted.

7 changes: 6 additions & 1 deletion roles/gnome/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@
become: yes
become_user: "{{ user.name }}"

- import_tasks: dconf.yaml
- name: configure dconf
become: no
community.general.dconf:
key: "{{ item.key }}"
value: "{{ item.value }}"
with_dict: "{{ dconf }}"

# - import_tasks: bluetooth.yaml
# - import_tasks: themes.yaml
# - import_tasks: media.yaml
Expand Down

0 comments on commit 7d62d7e

Please sign in to comment.