Add configuration of autostart applications

This commit is contained in:
Kenneth Benzie 2024-07-07 11:49:36 +01:00
parent 3e9b32b32f
commit cf9bc807d6

View File

@ -10,6 +10,36 @@
- gnome-themes-extra - gnome-themes-extra
state: latest state: latest
- name: autostart 1password
copy:
dest: '{{ansible_env.HOME}}/.config/autostart/1password.desktop'
content: |
[Desktop Entry]
Name=1Password
Exec=/opt/1Password/1password %U
Terminal=false
Type=Application
Icon=1password
StartupWMClass=1Password
Comment=Password manager and secure wallet
MimeType=x-scheme-handler/onepassword;x-scheme-handler/onepassword8;
Categories=Office;
- name: autostart ulauncher
copy:
dest: '{{ansible_env.HOME}}/.config/autostart/ulauncher.desktop'
content: |
[Desktop Entry]
Name=Ulauncher
Comment=Application launcher for Linux
GenericName=Launcher
Categories=GNOME;GTK;Utility;
TryExec=/usr/bin/ulauncher
Exec=env GDK_BACKEND=x11 /usr/bin/ulauncher --hide-window
Icon=ulauncher
Terminal=false
Type=Application
- name: prefer dark mode - name: prefer dark mode
gsettings: gsettings:
schema: org.gnome.desktop.interface schema: org.gnome.desktop.interface