Move ulauncher autostart our of gnome-shell role

This commit is contained in:
Kenneth Benzie 2024-07-07 12:01:31 +01:00
parent fc0e933df6
commit dfbfa7c170
4 changed files with 19 additions and 15 deletions

View File

@ -10,21 +10,6 @@
- gnome-themes-extra
state: latest
- 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
gsettings:
schema: org.gnome.desktop.interface

View File

@ -50,3 +50,5 @@
apt:
name: ulauncher
state: latest
- include_tasks: linux-autostart.yaml

View File

@ -4,3 +4,5 @@
dnf:
name: ulauncher
state: latest
- include_tasks: linux-autostart.yaml

View File

@ -0,0 +1,15 @@
---
- name: create autostart desktop file
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