Merge branch 'master' of gitlab.com:chriscochrun/dotfiles
This commit is contained in:
		
						commit
						665328f78e
					
				
					 1 changed files with 11 additions and 1 deletions
				
			
		
							
								
								
									
										12
									
								
								scripts/yt
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								scripts/yt
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -6,8 +6,18 @@
 | 
			
		|||
# yt search query		takes input from the passed arg, prompts using fzf
 | 
			
		||||
# yt -r					takes input and prompts using rofi ($guicmd)
 | 
			
		||||
 | 
			
		||||
if [ $(hostname) = "chris-linuxlaptop" ]; then
 | 
			
		||||
    style="laptop"
 | 
			
		||||
    #echo "this is hidpi"
 | 
			
		||||
else 
 | 
			
		||||
    style="desktop"
 | 
			
		||||
    #echo "this is not hidpi"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
-no-lazy-grab -show drun -modi drun -theme launchers-git/"$style".rasi
 | 
			
		||||
 | 
			
		||||
defcmd="fzf"
 | 
			
		||||
guicmd="rofi -dmenu -i" #uncomment next line for dmenu
 | 
			
		||||
guicmd="rofi -no-lazy-grab -dmenu -i -theme launchers-git/"$style".rasi" #uncomment next line for dmenu
 | 
			
		||||
#guicmd="dmenu -i -l 15"
 | 
			
		||||
promptcmd="$defcmd"
 | 
			
		||||
if [ -z "$*" ]; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue