Turns out that the screenshot stuff was still broken
This commit is contained in:
parent
88db64361a
commit
b01c7b2202
9
fetch
9
fetch
|
@ -259,21 +259,20 @@ xoffset=0
|
||||||
# Enable screenshot on script run
|
# Enable screenshot on script run
|
||||||
# Whether or not to always take a screenshot
|
# Whether or not to always take a screenshot
|
||||||
# You can manually take a screenshot with "--scrot" or "-s"
|
# You can manually take a screenshot with "--scrot" or "-s"
|
||||||
# --enable_scrot on/off
|
|
||||||
scrot="off"
|
scrot="off"
|
||||||
|
|
||||||
# Screenshot program to launch
|
# Screenshot program to launch
|
||||||
# --scrotcmd
|
# --scrot_cmd
|
||||||
scrot_cmd="scrot -c -d 3"
|
scrot_cmd="scrot -c -d 3"
|
||||||
|
|
||||||
# Scrot dir
|
# Scrot dir
|
||||||
# Where to save the screenshots
|
# Where to save the screenshots
|
||||||
# --scrotdir /path/to/screenshot/folder
|
# --scrot_dir /path/to/screenshot/folder
|
||||||
scrot_dir="$HOME/Pictures"
|
scrot_dir="$HOME/Pictures"
|
||||||
|
|
||||||
# Scrot filename
|
# Scrot filename
|
||||||
# What to name the screenshots
|
# What to name the screenshots
|
||||||
# --scrot str
|
# --scrot_name str
|
||||||
scrot_name="fetch-%Y-%m-%d-%H:%M.png"
|
scrot_name="fetch-%Y-%m-%d-%H:%M.png"
|
||||||
|
|
||||||
|
|
||||||
|
@ -1102,7 +1101,7 @@ getimage () {
|
||||||
}
|
}
|
||||||
|
|
||||||
takescrot () {
|
takescrot () {
|
||||||
$scrotcmd "$scrotdir/$scrotname"
|
$scrot_cmd "$scrot_dir/$scrot_name"
|
||||||
}
|
}
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
Reference in New Issue