Add aclicky-recordmouseposition and aclicky-doclicks

This commit is contained in:
josh committed 2022-01-18 16:43:20 -05:00
1 parent 9311a44d70
commit ddaefad011
2 files changed
+22

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env ruby
o = `xdotool getmouselocation`
if o =~ /x:(\d+) y:(\d+)/
x, y = $1, $2
File.open("#{ENV["HOME"]}/aclicky-points", "a") do |fh|
fh.puts("#{x},#{y}")
end
end