瀏覽代碼

Add sample user scripts

master
Arun Prakash Jana 6 年之前
父節點
當前提交
5675edebc7
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 2 個檔案被更改,包括 16 行新增0 行删除
  1. +8
    -0
      scripts/user-scripts/fzy.sh
  2. +8
    -0
      scripts/user-scripts/sxiv.sh

+ 8
- 0
scripts/user-scripts/fzy.sh 查看文件

@@ -0,0 +1,8 @@
#!/usr/bin/env sh

# Description: Fuzzy find files in directory subtree with fzy and open using xdg-open
#
# Shell: generic
# Author: Arun Prakash Jana

xdg-open $(find -type f | fzy) >/dev/null 2>&1

+ 8
- 0
scripts/user-scripts/sxiv.sh 查看文件

@@ -0,0 +1,8 @@
#!/usr/bin/env sh

# Description: Open images in current directory in sxiv
#
# Shell: generic
# Author: Arun Prakash Jana

sxiv -q * >/dev/null 2>&1

Loading…
取消
儲存