Add fzf completion and flameshot shortcut
parent
a34ff5f90f
commit
92b9405614
|
@ -103,6 +103,8 @@ bindsym Mod4+e exec nemo
|
||||||
bindsym Shift+Print exec ~/.config/i3/scripts/screenshot.py -s
|
bindsym Shift+Print exec ~/.config/i3/scripts/screenshot.py -s
|
||||||
# screenshot and upload to Lychee
|
# screenshot and upload to Lychee
|
||||||
bindsym Print exec ~/.config/i3/scripts/screenshot.py -u
|
bindsym Print exec ~/.config/i3/scripts/screenshot.py -u
|
||||||
|
# screenshot with flameshot
|
||||||
|
bindsym $mod+Print exec flameshot gui
|
||||||
|
|
||||||
mode "$film_mode" {
|
mode "$film_mode" {
|
||||||
bindsym u exec ~/.config/i3/scripts/film_mode.sh on
|
bindsym u exec ~/.config/i3/scripts/film_mode.sh on
|
||||||
|
|
13
.zshrc
13
.zshrc
|
@ -55,6 +55,7 @@ plugins=(
|
||||||
copydir
|
copydir
|
||||||
cp
|
cp
|
||||||
extract
|
extract
|
||||||
|
fzf
|
||||||
history
|
history
|
||||||
docker
|
docker
|
||||||
rand-quote
|
rand-quote
|
||||||
|
@ -116,3 +117,15 @@ alias lt='ls -lath'
|
||||||
export PATH=${PATH}:~/picasoft/pass:$HOME/go/bin/:$HOME/.local/bin
|
export PATH=${PATH}:~/picasoft/pass:$HOME/go/bin/:$HOME/.local/bin
|
||||||
|
|
||||||
source <(mmctl completion zsh)
|
source <(mmctl completion zsh)
|
||||||
|
|
||||||
|
## fzf conf
|
||||||
|
_fzf_compgen_path() {
|
||||||
|
fd --hidden --follow --exclude ".git" . "$1"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Use fd to generate the list for directory completion
|
||||||
|
_fzf_compgen_dir() {
|
||||||
|
fd --type d --hidden --follow --exclude ".git" . "$1"
|
||||||
|
}
|
||||||
|
|
||||||
|
export FZF_COMPLETION_OPTS='-m'
|
||||||
|
|
Loading…
Reference in New Issue