From ad767e4f378590427822557b3d3b209355004760 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Tue, 21 May 2024 12:38:31 +0300 Subject: [PATCH] Changed default font. And added gnome role (dconf) Signed-off-by: Sagi Dayan --- .gitignore | 1 + files/dotfiles/alacritty/alacritty.toml | 6 +- files/dotfiles/dconf | 102 ------------------------ playbooks/workstation.yml | 1 + roles/gnome/tasks/main.yml | 15 ++++ 5 files changed, 20 insertions(+), 105 deletions(-) create mode 100644 .gitignore create mode 100644 roles/gnome/tasks/main.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..30d0742 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +report.xml diff --git a/files/dotfiles/alacritty/alacritty.toml b/files/dotfiles/alacritty/alacritty.toml index 4675149..e05b84a 100644 --- a/files/dotfiles/alacritty/alacritty.toml +++ b/files/dotfiles/alacritty/alacritty.toml @@ -18,15 +18,15 @@ TERM = "xterm-256color" size = 10 [font.normal] - family = "Hack Nerd Font" + family = "JetBrainsMono Nerd Font Mono" style = "Regular" [font.bold] - family = "Hack Nerd Font" + family = "JetBrainsMono Nerd Font Mono" style = "Bold" [font.italic] - family = "Hack Nerd Font" + family = "JetBrainsMono Nerd Font Mono" style = "Italic" [mouse] diff --git a/files/dotfiles/dconf b/files/dotfiles/dconf index 4cf33f1..df4d22a 100644 --- a/files/dotfiles/dconf +++ b/files/dotfiles/dconf @@ -1,39 +1,3 @@ -[org/gnome/GWeather] -temperature-unit='centigrade' - -[org/gnome/Geary] -ask-open-attachment=true -compose-as-html=true -formatting-toolbar-visible=false -migrated-config=true -optional-plugins=['sent-sound'] -startup-notifications=true -window-height=1384 -window-maximize=false -window-width=1702 - -[org/gnome/Weather] -locations=[<(uint32 2, <('Tel Aviv', 'LLSD', true, [(0.5605076372626584, 0.60706429505960713)], [(0.55966891929061258, 0.60679280909445943)])>)>] - -[org/gnome/calendar] -active-view='week' -window-maximized=false -window-position=(26, 23) -window-size=(3416, 1384) - -[org/gnome/clocks] -world-clocks=[{'location': <(uint33 2, <('San Francisco', 'KOAK', true, [(0.65832848982162007, -2.133408063190589)], [(0.659296885757089, -2.1366218601153339)])>)>}, {'location': <(uint32 2, <('New York', 'KNYC', true, [(0.71180344078725644, -1.2909618758762367)], [(0.71059804659265924, -1.2916478949920254)])>)>}] - -[org/gnome/desktop/background] -color-shading-type='solid' -picture-options='zoom' -picture-uri='file:///usr/share/backgrounds/gnome/LightBulb.jpg' -primary-color='#ffffff' -secondary-color='#000000' - -[org/gnome/desktop/calendar] -show-weekdate=false - [org/gnome/desktop/input-sources] current=uint32 0 mru-sources=[('xkb', 'us'), ('xkb', 'il')] @@ -61,17 +25,6 @@ natural-scroll=false tap-to-click=true two-finger-scrolling-enabled=true -[org/gnome/desktop/privacy] -disable-microphone=false -report-technical-problems=false - -[org/gnome/desktop/screensaver] -color-shading-type='solid' -picture-options='zoom' -picture-uri='file:///usr/share/backgrounds/gnome/LightBulb.jpg' -primary-color='#ffffff' -secondary-color='#000000' - [org/gnome/desktop/wm/keybindings] move-to-monitor-left=@as [] move-to-workspace-left=['h', 'Left'] @@ -104,60 +57,5 @@ binding='t' command='alacritty' name='Terminal' -[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1] -binding='F9' -command='flatpak run net.christianbeier.Gromit-MPX --toggle' -name='gromit-mpx-wayland-hotkey --toggle' - -[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2] -binding='F9' -command='flatpak run net.christianbeier.Gromit-MPX --clear' -name='gromit-mpx-wayland-hotkey --clear' - -[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3] -binding='F9' -command='flatpak run net.christianbeier.Gromit-MPX --visibility' -name='gromit-mpx-wayland-hotkey --visibility' - -[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4] -binding='F9' -command='flatpak run net.christianbeier.Gromit-MPX --quit' -name='gromit-mpx-wayland-hotkey --quit' - -[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5] -binding='F8' -command='flatpak run net.christianbeier.Gromit-MPX --undo' -name='gromit-mpx-wayland-hotkey --undo' - -[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom6] -binding='F8' -command='flatpak run net.christianbeier.Gromit-MPX --redo' -name='gromit-mpx-wayland-hotkey --redo' - [org/gnome/shell/extensions/clipboard-indicator] toggle-menu=['grave'] - -[org/gnome/shell/extensions/mediacontrols] -extension-index=1 -extension-position='left' -max-widget-width=300 -mouse-actions=['toggle_play', 'toggle_menu', 'none', 'none', 'none', 'none', 'none', 'none'] -seperator-chars=['|', '|'] -show-control-icons=false -show-player-icon=false -show-seperators=false -show-sources-menu=false -track-label=['track', '-', 'artist'] - -[org/gnome/shell/extensions/user-theme] -name='' - -[org/gnome/shell/weather] -automatic-location=true -locations=[<(uint32 2, <('Tel Aviv', 'LLSD', true, [(0.5605076372626584, 0.60706429505960713)], [(0.55966891929061258, 0.60679280909445943)])>)>] - -[org/gnome/shell/world-clocks] -locations=[<(uint32 2, <('San Francisco', 'KOAK', true, [(0.65832848982162007, -2.133408063190589)], [(0.659296885757089, -2.1366218601153339)])>)>, <(uint32 2, <('New York', 'KNYC', true, [(0.71180344078725644, -1.2909618758762367)], [(0.71059804659265924, -1.2916478949920254)])>)>] - -[org/gnome/system/location] -enabled=false diff --git a/playbooks/workstation.yml b/playbooks/workstation.yml index 58432bb..58c8743 100644 --- a/playbooks/workstation.yml +++ b/playbooks/workstation.yml @@ -11,6 +11,7 @@ roles: - environment - base + - gnome - fonts - tmux_user - vim_user diff --git a/roles/gnome/tasks/main.yml b/roles/gnome/tasks/main.yml new file mode 100644 index 0000000..520db7c --- /dev/null +++ b/roles/gnome/tasks/main.yml @@ -0,0 +1,15 @@ +--- +- name: Installing packages (GNOME) + become: true + package: + name: + - dconf + state: present + +- name: Dconf loader + ansible.builtin.shell: "dconf load / < {{ playbook_dir }}/files/dotfiles/dconf" + failed_when: false + # ansible.builtin.command: + # argv: + # - dconf load / < + # - "{{ playbook_dir }}/files/dotfiles/dconf"