You are not logged in.
My keybind is:
awful.key({"Mod1"}, "Print", function() awful.util.spawn("scrot-select") end)
where scrot-select is this script:
#!/bin/sh
scrot -s 'screenshot-%s.png' -e 'mv $f ~/images/ && gimp ~/images/$f'
This does not work. But if I launch scrot-select from a terminal then it does work. I have a different keybind that just screenshots the entire screen and that works fine. Something about the -s flag is problematic.
--
Solution, put a sleep 1s before the scrot command:
https://bbs.archlinux.org/viewtopic.php … 4#p1219944
Last edited by anonymous_user (2013-01-20 03:18:28)
Offline
using the -s flag doesn't work for me, either.
and it should be a comma after "Mod1", i don't know why but without it the keybinding doesn't work
Arch64/DWM || My Dropbox referral link
Offline
The keybind works for me regardless of that comma. Whats not working is scrot.
Offline
edit: I can confirm that too. Works from the command line, but it doesn't work as keybind. Other options seem to work.
Last edited by Boris Bolgradov (2010-11-01 16:20:59)
Offline