diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-04-28 14:52:18 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-04-28 14:52:18 +0200 |
commit | 010a14c4d12af624c00d257d27d53a14abd2b7e1 (patch) | |
tree | 81f48535448bfc8159c78b6c609b8a643a47597b | |
parent | 5d967667ad91bfff9cc663d84316699963bf4905 (diff) | |
download | myconfigs-010a14c4d12af624c00d257d27d53a14abd2b7e1.tar.gz myconfigs-010a14c4d12af624c00d257d27d53a14abd2b7e1.tar.bz2 myconfigs-010a14c4d12af624c00d257d27d53a14abd2b7e1.zip |
Add xshot and clip X utility scripts
-rwxr-xr-x | install | 8 | ||||
-rwxr-xr-x | local/bin/clip | 2 | ||||
-rwxr-xr-x | local/bin/xshot | 2 |
3 files changed, 8 insertions, 4 deletions
@@ -101,10 +101,10 @@ if [[ $REPLY =~ ^[Yy]?$ ]]; then inst local/bin/sys-reboot ~/.local/bin/ inst local/bin/sys-shutdown ~/.local/bin/ inst local/bin/sys-suspend ~/.local/bin/ -fi - -read -p "Install Gtk+ and Qt theme setup? (Y/n) " -if [[ $REPLY =~ ^[Yy]?$ ]]; then + # Some small Xserver tools + inst local/bin/clip ~/.local/bin/ + inst local/bin/xshot ~/.local/bin/ + # Theme inst gtk-2.0/gtkrc ~/.gtkrc-2.0 inst gtk-3.0/ ~/.config/gtk-3.0/ inst config/Trolltech.conf ~/.config/Trolltech.conf diff --git a/local/bin/clip b/local/bin/clip new file mode 100755 index 0000000..1281090 --- /dev/null +++ b/local/bin/clip @@ -0,0 +1,2 @@ +#!/bin/sh +xclip -selection clipboard diff --git a/local/bin/xshot b/local/bin/xshot new file mode 100755 index 0000000..90f91af --- /dev/null +++ b/local/bin/xshot @@ -0,0 +1,2 @@ +#!/bin/sh +import -window "$(xdotool selectwindow)" ~/xshot_$(date +%F_%H%M%S_%N).png |