mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
remove gnome stuff from debian
This commit is contained in:
parent
b0f2f40441
commit
21cae23ced
@ -4,6 +4,3 @@
|
|||||||
tags: ["packages"]
|
tags: ["packages"]
|
||||||
- import_tasks: configs.yml
|
- import_tasks: configs.yml
|
||||||
tags: ["configs"]
|
tags: ["configs"]
|
||||||
- import_tasks: gnome-settings/_main.yml
|
|
||||||
tags: ["configs"]
|
|
||||||
when: desktop == "gnome"
|
|
||||||
|
@ -1,51 +1,36 @@
|
|||||||
- name: Set desktop files to hide
|
#- name: Set desktop files to hide
|
||||||
include_tasks: ../include/hide-desktop.yml
|
# include_tasks: ../include/hide-desktop.yml
|
||||||
loop:
|
# loop:
|
||||||
- /usr/share/applications/wine-winhelp.desktop
|
# - /usr/share/applications/wine-winhelp.desktop
|
||||||
- /usr/share/applications/wine-mime-msi.desktop
|
# - /usr/share/applications/wine-mime-msi.desktop
|
||||||
- /usr/share/applications/wine-notepad.desktop
|
# - /usr/share/applications/wine-notepad.desktop
|
||||||
- /usr/share/applications/wine-oleview.desktop
|
# - /usr/share/applications/wine-oleview.desktop
|
||||||
- /usr/share/applications/wine-regedit.desktop
|
# - /usr/share/applications/wine-regedit.desktop
|
||||||
- /usr/share/applications/wine-uninstaller.desktop
|
# - /usr/share/applications/wine-uninstaller.desktop
|
||||||
- /usr/share/applications/wine-wineboot.desktop
|
# - /usr/share/applications/wine-wineboot.desktop
|
||||||
- /usr/share/applications/wine-winecfg.desktop
|
# - /usr/share/applications/wine-winecfg.desktop
|
||||||
- /usr/share/applications/wine-winefile.desktop
|
# - /usr/share/applications/wine-winefile.desktop
|
||||||
- /usr/share/applications/wine-winemine.desktop
|
# - /usr/share/applications/wine-winemine.desktop
|
||||||
- /usr/share/applications/wine-wordpad.desktop
|
# - /usr/share/applications/wine-wordpad.desktop
|
||||||
- /usr/share/applications/vifm.desktop
|
# - /usr/share/applications/vifm.desktop
|
||||||
- /usr/share/applications/dosbox-staging.desktop
|
# - /usr/share/applications/dosbox-staging.desktop
|
||||||
- /usr/share/applications/nvim.desktop
|
# - /usr/share/applications/nvim.desktop
|
||||||
- /usr/share/applications/syncthing-start.desktop
|
# - /usr/share/applications/syncthing-start.desktop
|
||||||
- /usr/share/applications/syncthing-ui.desktop
|
# - /usr/share/applications/syncthing-ui.desktop
|
||||||
- /usr/share/applications/cgnscalc.desktop
|
# - /usr/share/applications/cgnscalc.desktop
|
||||||
- /usr/share/applications/cgnsnodes.desktop
|
# - /usr/share/applications/cgnsnodes.desktop
|
||||||
- /usr/share/applications/cgnsplot.desktop
|
# - /usr/share/applications/cgnsplot.desktop
|
||||||
- /usr/share/applications/cgnsview.desktop
|
# - /usr/share/applications/cgnsview.desktop
|
||||||
- /usr/share/applications/qt5-assistant.desktop
|
# - /usr/share/applications/qt5-assistant.desktop
|
||||||
- /usr/share/applications/opencascade-draw.desktop
|
# - /usr/share/applications/opencascade-draw.desktop
|
||||||
- /usr/share/applications/unitconv.desktop
|
# - /usr/share/applications/unitconv.desktop
|
||||||
|
#
|
||||||
- name: Delete amd vulkan files
|
#- name: Delete amd vulkan files
|
||||||
ansible.builtin.file:
|
# ansible.builtin.file:
|
||||||
state: absent
|
# state: absent
|
||||||
path:
|
# path:
|
||||||
- /usr/share/vulkan/icd.d/amd_icd32.json
|
# - /usr/share/vulkan/icd.d/amd_icd32.json
|
||||||
- /usr/share/vulkan/icd.d/amd_icd64.json
|
# - /usr/share/vulkan/icd.d/amd_icd64.json
|
||||||
|
|
||||||
- name: Uninstall desktop bloat
|
|
||||||
apt:
|
|
||||||
name:
|
|
||||||
- yelp
|
|
||||||
- gnome-boxes
|
|
||||||
- rhythmbox
|
|
||||||
- gnome-photos
|
|
||||||
- totem
|
|
||||||
- gnome-text-editor
|
|
||||||
- cheese
|
|
||||||
- gnome-tour
|
|
||||||
- gnome-maps
|
|
||||||
state: absent
|
|
||||||
become: true
|
|
||||||
|
|
||||||
- name: Start and enable bluetooth
|
- name: Start and enable bluetooth
|
||||||
tags: ["once"]
|
tags: ["once"]
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
- name: Set custom gnome binding {{ index }}
|
|
||||||
dconf:
|
|
||||||
key: "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom{{ index }}/binding"
|
|
||||||
value: "{{ item.bind }}"
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: Set custom gnome command {{ index }}
|
|
||||||
dconf:
|
|
||||||
key: "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom{{ index }}/command"
|
|
||||||
value: "{{ item.command }}"
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: Set custom gnome name {{ index }}
|
|
||||||
dconf:
|
|
||||||
key: "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom{{ index }}/name"
|
|
||||||
value: "{{ index }}"
|
|
||||||
state: present
|
|
@ -1,6 +0,0 @@
|
|||||||
- import_tasks: extensions.yml
|
|
||||||
tags: ["gnome-extensions"]
|
|
||||||
- import_tasks: keybinds.yml
|
|
||||||
tags: ["configs"]
|
|
||||||
- import_tasks: window-management.yml
|
|
||||||
tags: ["configs"]
|
|
@ -1,11 +0,0 @@
|
|||||||
- name: Install gnome extensions
|
|
||||||
include_role:
|
|
||||||
name: ansible-role-customize-gnome
|
|
||||||
vars:
|
|
||||||
# For now extensions aren't enabled (https://github.com/PeterMosmans/ansible-role-customize-gnome/issues/25)
|
|
||||||
gnome_extensions:
|
|
||||||
- id: 779 # https://github.com/Tudmotu/gnome-shell-extension-clipboard-indicator
|
|
||||||
- id: 4362 # https://github.com/Noobsai/fullscreen-avoider
|
|
||||||
- id: 1460 # https://github.com/corecoding/Vitals
|
|
||||||
- id: 7 # https://gitlab.gnome.org/GNOME/gnome-shell-extensions
|
|
||||||
gnome_user: "{{ user }}"
|
|
@ -1,62 +0,0 @@
|
|||||||
- name: Unset particular default gnome keybinds
|
|
||||||
dconf:
|
|
||||||
key: "{{ item }}"
|
|
||||||
value: [""]
|
|
||||||
state: present
|
|
||||||
loop:
|
|
||||||
- "/org/gnome/shell/keybindings/switch-to-application-1"
|
|
||||||
- "/org/gnome/shell/keybindings/switch-to-application-2"
|
|
||||||
- "/org/gnome/shell/keybindings/switch-to-application-3"
|
|
||||||
- "/org/gnome/shell/keybindings/switch-to-application-4"
|
|
||||||
- "/org/gnome/shell/keybindings/switch-to-application-5"
|
|
||||||
- "/org/gnome/desktop/wm/keybindings/switch-input-source"
|
|
||||||
- "/org/gnome/desktop/wm/keybindings/switch-input-source-backwards"
|
|
||||||
- "/org/gnome/settings-daemon/plugins/media-keys/screensaver"
|
|
||||||
- "/org/gnome/desktop/wm/keybindings/switch-applications"
|
|
||||||
- "/org/gnome/desktop/wm/keybindings/switch-applications-backward"
|
|
||||||
- "/org/gnome/desktop/wm/keybindings/switch-windows"
|
|
||||||
- "/org/gnome/desktop/wm/keybindings/switch-windows-backward"
|
|
||||||
|
|
||||||
- name: Change existing gnome keybinds
|
|
||||||
dconf:
|
|
||||||
key: "{{ item.key }}"
|
|
||||||
value: "{{ item.value }}"
|
|
||||||
state: present
|
|
||||||
loop:
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/switch-to-workspace-1", value: ["<Super>1"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/switch-to-workspace-2", value: ["<Super>2"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/switch-to-workspace-3", value: ["<Super>3"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/switch-to-workspace-4", value: ["<Super>4"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/switch-to-workspace-5", value: ["<Super>5"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/move-to-workspace-1", value: ["<Super><Shift>1"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/move-to-workspace-2", value: ["<Super><Shift>2"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/move-to-workspace-3", value: ["<Super><Shift>3"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/move-to-workspace-4", value: ["<Super><Shift>4"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/move-to-workspace-5", value: ["<Super><Shift>5"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/minimize", value: ["<Super>Space"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/toggle-fullscreen", value: ["<Super>F"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/close", value: ["<Super>Q"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/maximize-horizontally", value: ["<Super><Shift>H"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/maximize-vertically", value: ["<Super><Shift>V"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/move-to-center", value: ["<Super>C"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/switch-windows", value: ["<Super>Tab"]}
|
|
||||||
- {key: "/org/gnome/desktop/wm/keybindings/switch-windows-backward", value: ["<Super><Shift>Tab"]}
|
|
||||||
- {key: "/org/gnome/settings-daemon/plugins/media-keys/screensaver", value: ["<Super><Shift>L"]}
|
|
||||||
|
|
||||||
- name: Set custom gnome keybinds
|
|
||||||
include_tasks: _custom-bind.yml
|
|
||||||
loop:
|
|
||||||
- {command: "'gnome-terminal'", bind: "'<Super>Return'"}
|
|
||||||
- {command: "'firefox'", bind: "'<Super><Shift>B'"}
|
|
||||||
- {command: "'code'", bind: "'<Super><Shift>V'"}
|
|
||||||
loop_control:
|
|
||||||
index_var: index
|
|
||||||
|
|
||||||
# Gnome requires an array of strings with the custom keybinds
|
|
||||||
# this must match the number of keybinds defined above...
|
|
||||||
- name: Set custom-keybinds array
|
|
||||||
dconf:
|
|
||||||
key: /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings
|
|
||||||
value: "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/',
|
|
||||||
'/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/',
|
|
||||||
'/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/']"
|
|
@ -1,10 +0,0 @@
|
|||||||
|
|
||||||
- name: Set Static workspaces
|
|
||||||
dconf:
|
|
||||||
key: "/org/gnome/mutter/dynamic-workspaces"
|
|
||||||
value: "false"
|
|
||||||
|
|
||||||
- name: Set Number of workspaces
|
|
||||||
dconf:
|
|
||||||
key: "/org/gnome/desktop/wm/preferences/num-workspaces"
|
|
||||||
value: "5"
|
|
@ -4,8 +4,6 @@
|
|||||||
- mpv # Video player based on MPlayer/mplayer2
|
- mpv # Video player based on MPlayer/mplayer2
|
||||||
- ffmpeg # Decoding, encoding and streaming software
|
- ffmpeg # Decoding, encoding and streaming software
|
||||||
- firefox # Mozilla Firefox web browser
|
- firefox # Mozilla Firefox web browser
|
||||||
- gnome-tweaks
|
|
||||||
- evolution
|
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
@ -16,7 +14,6 @@
|
|||||||
- org.gimp.GIMP # Create images and edit photographs
|
- org.gimp.GIMP # Create images and edit photographs
|
||||||
- org.inkscape.Inkscape # Vector Graphics Editor
|
- org.inkscape.Inkscape # Vector Graphics Editor
|
||||||
- com.github.tchx84.Flatseal # Manage Flatpak permissions
|
- com.github.tchx84.Flatseal # Manage Flatpak permissions
|
||||||
- com.mattjakeman.ExtensionManager # A utility for browsing and installing GNOME Shell Extensions
|
|
||||||
- org.kde.kdenlive
|
- org.kde.kdenlive
|
||||||
- com.bitwarden.desktop
|
- com.bitwarden.desktop
|
||||||
state: present
|
state: present
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
- swayidle
|
- swayidle
|
||||||
- grim # screenshot functionality
|
- grim # screenshot functionality
|
||||||
- wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout
|
- wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout
|
||||||
- mako # notification system developed by swaywm maintainer
|
- mako-notifier # notification system developed by swaywm maintainer
|
||||||
- wdisplays # tool to configure displays
|
- wdisplays # tool to configure displays
|
||||||
- rofi
|
- rofi
|
||||||
- feh
|
- feh
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
- name: Add flatpak remote
|
- name: Add flatpak remote
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: Enable Multi-Arch
|
- name: Enable Multi-Arch
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user