mirror of
				https://github.com/davatorium/rofi.git
				synced 2025-10-30 23:47:19 -04:00 
			
		
		
		
	Add desktop files as per complaint.
A desktop file for theme-selector and rofi itself.
This commit is contained in:
		
							parent
							
								
									11875f7e69
								
							
						
					
					
						commit
						72a632bef5
					
				
					 5 changed files with 30 additions and 2 deletions
				
			
		
							
								
								
									
										8
									
								
								data/rofi-theme-selector.desktop
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								data/rofi-theme-selector.desktop
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
[Desktop Entry]
 | 
			
		||||
Encoding=UTF-8
 | 
			
		||||
Version=1.0
 | 
			
		||||
Type=Application
 | 
			
		||||
Terminal=false
 | 
			
		||||
Exec=rofi-theme-selector
 | 
			
		||||
Name=Rofi Theme Selector
 | 
			
		||||
Icon=rofi
 | 
			
		||||
							
								
								
									
										8
									
								
								data/rofi.desktop
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								data/rofi.desktop
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
[Desktop Entry]
 | 
			
		||||
Encoding=UTF-8
 | 
			
		||||
Version=1.0
 | 
			
		||||
Type=Application
 | 
			
		||||
Terminal=false
 | 
			
		||||
Exec=rofi -show
 | 
			
		||||
Name=Rofi
 | 
			
		||||
Icon=rofi
 | 
			
		||||
| 
		 Before Width: | Height: | Size: 6 KiB After Width: | Height: | Size: 6 KiB  | 
| 
		 Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB  | 
							
								
								
									
										16
									
								
								meson.build
									
										
									
									
									
								
							
							
						
						
									
										16
									
								
								meson.build
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -29,8 +29,10 @@ foreach f : flags
 | 
			
		|||
    endif
 | 
			
		||||
endforeach
 | 
			
		||||
 | 
			
		||||
plugindir = join_paths(get_option('libdir'), meson.project_name())
 | 
			
		||||
themedir = join_paths(get_option('datadir'), meson.project_name(), 'themes')
 | 
			
		||||
plugindir  = join_paths(get_option('libdir'), meson.project_name())
 | 
			
		||||
themedir   = join_paths(get_option('datadir'), meson.project_name(), 'themes')
 | 
			
		||||
desktop_install_dir = join_paths(get_option('datadir'), 'applications')
 | 
			
		||||
icondir    = join_paths(get_option('datadir'), 'icons','hicolor', 'scalable', 'apps')
 | 
			
		||||
 | 
			
		||||
glib_min_major=2
 | 
			
		||||
glib_min_minor=40
 | 
			
		||||
| 
						 | 
				
			
			@ -130,6 +132,16 @@ install_data(
 | 
			
		|||
    install_dir: join_paths(get_option('prefix'), get_option('bindir'))
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
install_data(
 | 
			
		||||
  'data/rofi-theme-selector.desktop',
 | 
			
		||||
  'data/rofi.desktop',
 | 
			
		||||
  install_dir: desktop_install_dir
 | 
			
		||||
  )
 | 
			
		||||
install_data(
 | 
			
		||||
  'data/rofi.svg',
 | 
			
		||||
  install_dir: icondir
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
flex = generator(find_program('flex'),
 | 
			
		||||
    output: '@BASENAME@.c',
 | 
			
		||||
    arguments: [ '-o', '@OUTPUT@', '@INPUT@' ]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue