let's make rofi work without needing two styles.
This commit is contained in:
		
							parent
							
								
									7853465f84
								
							
						
					
					
						commit
						c718abaa7f
					
				
					 2 changed files with 10 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -3,5 +3,6 @@
 | 
			
		|||
configuration {
 | 
			
		||||
  show-icons:         true;
 | 
			
		||||
  icon-theme:         "Papirus";
 | 
			
		||||
  dpi:                0;
 | 
			
		||||
}
 | 
			
		||||
@import "/home/chris/.dotfiles/rofi/launchers-git/blurry.rasi"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,12 +13,14 @@
 | 
			
		|||
# row		row_center		screen				row_dock		row_dropdown
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if [ $(hostname) = "chris-linuxlaptop" ]; then
 | 
			
		||||
    style="blurry-hidpi"
 | 
			
		||||
    #echo "this is hidpi"
 | 
			
		||||
else 
 | 
			
		||||
# if [ $(hostname) = "chris-linuxlaptop" ]; then
 | 
			
		||||
#     style="blurry-hidpi"
 | 
			
		||||
#     #echo "this is hidpi"
 | 
			
		||||
# else 
 | 
			
		||||
#     style="blurry"
 | 
			
		||||
#     #echo "this is not hidpi"
 | 
			
		||||
# fi
 | 
			
		||||
 | 
			
		||||
style="blurry"
 | 
			
		||||
    #echo "this is not hidpi"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
rofi -no-lazy-grab -show drun -modi drun,window,calc,ssh,run,emoji -theme launchers-git/"$style".rasi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue