i3: favourite pdf shortcut
This commit is contained in:
		@@ -49,6 +49,9 @@ floating_modifier $mod
 | 
			
		||||
    # bluetooth dmenu
 | 
			
		||||
    bindsym $mod+b exec ~/.dotfiles/i3/scripts/dmenu_bt.sh
 | 
			
		||||
 | 
			
		||||
    # pdf favourites dmenu
 | 
			
		||||
    bindsym $mod+p exec ~/.dotfiles/i3/scripts/dir_dmenu.sh ~/.local/favpdf
 | 
			
		||||
 | 
			
		||||
    # kill focused window
 | 
			
		||||
    bindsym $mod+Shift+q kill
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -12,4 +12,4 @@ fi
 | 
			
		||||
DIRS=$(find -L "$1" -mindepth 1 -maxdepth 1 -type d | rev | cut -d "/" -f1 | rev)
 | 
			
		||||
FILES=$(find -L "$1" -mindepth 1 -maxdepth 1 -type f| rev | cut -d "/" -f1 | rev)
 | 
			
		||||
 | 
			
		||||
echo "$DIRS$FILES" | dmenu | xargs -I"{}" $0 "$1/{}"
 | 
			
		||||
echo -e "$DIRS\n$FILES" | dmenu | xargs -I"{}" $0 "$1/{}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user