Move ulauncher autostart our of gnome-shell role
This commit is contained in:
		
							parent
							
								
									fc0e933df6
								
							
						
					
					
						commit
						dfbfa7c170
					
				roles
@ -10,21 +10,6 @@
 | 
				
			|||||||
      - gnome-themes-extra
 | 
					      - gnome-themes-extra
 | 
				
			||||||
    state: latest
 | 
					    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
 | 
					- name: prefer dark mode
 | 
				
			||||||
  gsettings:
 | 
					  gsettings:
 | 
				
			||||||
    schema: org.gnome.desktop.interface
 | 
					    schema: org.gnome.desktop.interface
 | 
				
			||||||
 | 
				
			|||||||
@ -50,3 +50,5 @@
 | 
				
			|||||||
  apt:
 | 
					  apt:
 | 
				
			||||||
    name: ulauncher
 | 
					    name: ulauncher
 | 
				
			||||||
    state: latest
 | 
					    state: latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- include_tasks: linux-autostart.yaml
 | 
				
			||||||
 | 
				
			|||||||
@ -4,3 +4,5 @@
 | 
				
			|||||||
  dnf:
 | 
					  dnf:
 | 
				
			||||||
    name: ulauncher
 | 
					    name: ulauncher
 | 
				
			||||||
    state: latest
 | 
					    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