My scripts for startup, dmenu, and the command line
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

screenshot.sh 246 B

4 年前
1234567
  1. #!/bin/sh
  2. method=$(printf "clipboard\nfile\nboth" | dmenu -l 3)
  3. if test $method = "file"; then
  4. scrot --note "-f 'LiterationSans Nerd Font Book/11' -x 10 -y 20 -c 255,0,0,255 -t 'Hi'" -s ~/Pictures/screenshots/screenshot-%Y-%m-%d_$wx$h.png
  5. fi