diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2014-11-23 11:08:21 +0100 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2014-11-23 11:08:21 +0100 |
commit | 6d6e0462eb2dd1d770653f5e22582e3571c63c8f (patch) | |
tree | 897c90f8ef0290fe974a9381eeec964545607904 /ratpoison/clipboard | |
parent | 8dee1d67a9e2caa3a3286b13c86880c0757fcd16 (diff) | |
download | dotfiles-6d6e0462eb2dd1d770653f5e22582e3571c63c8f.tar.gz dotfiles-6d6e0462eb2dd1d770653f5e22582e3571c63c8f.tar.bz2 dotfiles-6d6e0462eb2dd1d770653f5e22582e3571c63c8f.zip |
big ratpoison update
Diffstat (limited to 'ratpoison/clipboard')
-rwxr-xr-x | ratpoison/clipboard | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ratpoison/clipboard b/ratpoison/clipboard index 9033ac1..2cb6c2c 100755 --- a/ratpoison/clipboard +++ b/ratpoison/clipboard @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash # # Clipboard menu # @@ -28,14 +28,15 @@ function entries() { fi for i in $(seq 1 9); do - repr=$(xcb -p $i | tr '\n$*?"'\''' ' ' | cut --bytes 0-59) + repr=$(xcb -p $i | tr '\n$*?"'\''' ' ' | cut --bytes 1-59) if [ $command = menu_paste ]; then cmd_item="$0 paste $i" else cmd_item="$0 set $i" fi #printf '%q %q ' $i "$repr" "$cmd_item" - echo -n "\"$i $repr\" \"$cmd_item\" " +# echo -n "\"$i: $repr\" \"$cmd_item\" " + echo -n "\"$i:$repr \" \"$cmd_item\" " done } |