diff options
-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 |