okshot 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 662c261d79f519a7aea72744143f0ed3a05b0f4a5051deb205e06209689f031b
4
- data.tar.gz: 416b7c053d9528b91ba94d0f74b65fd5230b79dcf2136b198fa9281c6f0d3018
3
+ metadata.gz: 3779b73a09c5841b6c98731300dad286e36191ce5b97af4345ae9eeb644ecbc4
4
+ data.tar.gz: f9350c2863dc423896db54be135322742f2e0a2933ff6cb904a76668a279b628
5
5
  SHA512:
6
- metadata.gz: 20bd1a5dd9b717c4f1e32bda9932e49696e6bf7dc27a67e194eed9b3d9b37827a8d63d917e73d2fe1fc17884289f3a71ef01187731a00b2c5113ea8802ab7782
7
- data.tar.gz: 20325ee6c378d621c19cebf139484e109f8d8c5c31f81f424f829bdf4ab8110b9bba5ca30c9504b2fcd6e40243a34413f86cbd3ea394301c67820ee7b59fba07
6
+ metadata.gz: eb242769569c4bf1fd1c7b5a602924873cc1e173cd395f0ae2861037e746bc55ac14afa7f719223115b0afd8342b4d9ed3a10d7dfcc2f5090a2ccf96929d17e9
7
+ data.tar.gz: bd55a425d8bc90024fd7b6a6f1bf907715c509907e09fd3a4a3e3192195ab6570458f1dd5b171e4f6f3eecba64d1086afe4b3c30aae0ba0d62e8e6f31e66ac38
data/README.org CHANGED
@@ -29,7 +29,6 @@ accessible URL to your clipboard. Optionally, the screenshot can be
29
29
  annotated using Inkscape.
30
30
 
31
31
  This gem is inspired by the lack of good screenshot tooling in Linux.
32
- However, it's so very easy to build =okshot=, because
33
32
 
34
33
  For uploading the files via FTP, it needs these environment variables set:
35
34
 
@@ -56,11 +55,12 @@ export OKSHOT_URL_PREFIX=https://okshot.your_domain.ch
56
55
  gem install okshot
57
56
  #+end_example
58
57
 
59
- It assumes you're using the [[https://i3wm.org/][i3wm]] tiling window manager and uses
60
- standard Linux tools. For all flags, it requires:
58
+ It uses the following standard Linux tools. For all flags, it requires:
61
59
 
62
60
  - [[https://imagemagick.org/][imagemagick]]
63
61
  - [[https://linux.die.net/man/1/ftp][ftp]]
62
+ - [[https://linux.die.net/man/1/uuidgen][uuigen]]
63
+ - [[https://linux.die.net/man/1/xclip][xclip]]
64
64
 
65
65
  For the flag =-i=, it additionally requires:
66
66
 
@@ -71,7 +71,7 @@ For the flag =-i=, it additionally requires:
71
71
  Install dependencies:
72
72
 
73
73
  #+begin_src shell
74
- apt-get install imagemagick ftp inkscape wmctrl
74
+ apt-get install imagemagick ftp inkscape wmctrl uuid-runtime xclip
75
75
  #+end_src
76
76
 
77
77
  * DEVELOPMENT
@@ -48,7 +48,7 @@ elif [[ $1 == -i ]]; then
48
48
  wmctrl -ia "${winid}"
49
49
 
50
50
  # Make it fullscreen
51
- i3-msg fullscreen enable > /dev/null;
51
+ wmctrl -ia "${winid}" -b toggle,fullscreen
52
52
 
53
53
  # Wait for the application to quit
54
54
  wait "${pid}";
@@ -1,5 +1,5 @@
1
1
  module OK
2
2
  module Shot
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: okshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alain M. Lafon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-09 00:00:00.000000000 Z
11
+ date: 2021-01-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Take and annotate screenshots in Linux with standard tools.
14
14
  email: