diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-10-31 14:26:27 +0100 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-10-31 14:26:27 +0100 |
| commit | f415723a18c546b69f74ec2695d4f71c5a61b953 (patch) | |
| tree | dad301aacddc41d2c22b0d7df24fd9486a578819 | |
| parent | 794b4764781f0f0142cd0021fedf74dbe4520056 (diff) | |
| download | dotfiles-f415723a18c546b69f74ec2695d4f71c5a61b953.tar.gz dotfiles-f415723a18c546b69f74ec2695d4f71c5a61b953.zip | |
Update zathura and screenshot script
| -rwxr-xr-x | bin/screenshot | 4 | ||||
| -rwxr-xr-x | bin/zathura-fzf | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/screenshot b/bin/screenshot index bc7bd6e..6707090 100755 --- a/bin/screenshot +++ b/bin/screenshot @@ -18,9 +18,9 @@ case "$MODE" in *save*) cd $DIR timestamp=$(date +"%Y-%m-%d_%H-%M-%S") - /usr/share/sway-contrib/grimshot save area "$timestamp.png" + grimshot save area "$timestamp.png" ;; *copy*) - /usr/share/sway-contrib/grimshot copy area + grimshot copy area ;; esac diff --git a/bin/zathura-fzf b/bin/zathura-fzf index 502477e..c68fa4b 100755 --- a/bin/zathura-fzf +++ b/bin/zathura-fzf @@ -3,7 +3,7 @@ # find "$@" -type f -iname '*pdf' > ~/.pdffiles.txt fd --type f --extension pdf . $@ > ~/.pdffiles.txt -cat ~/.pdffiles.txt | rofi -dmenu > ~/.zathurafile.txt +cat ~/.pdffiles.txt | rofi -i -dmenu > ~/.zathurafile.txt selected_file=$(cat ~/.zathurafile.txt) |