Move ulauncher autostart our of gnome-shell role
This commit is contained in:
parent
fc0e933df6
commit
dfbfa7c170
@ -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
|
||||
|
@ -50,3 +50,5 @@
|
||||
apt:
|
||||
name: ulauncher
|
||||
state: latest
|
||||
|
||||
- include_tasks: linux-autostart.yaml
|
||||
|
@ -4,3 +4,5 @@
|
||||
dnf:
|
||||
name: ulauncher
|
||||
state: latest
|
||||
|
||||
- include_tasks: linux-autostart.yaml
|
||||
|
15
roles/ulauncher/tasks/linux-autostart.yaml
Normal file
15
roles/ulauncher/tasks/linux-autostart.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user