aboutsummaryrefslogtreecommitdiff
path: root/ratpoison/clipboard
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2014-11-23 11:08:21 +0100
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2014-11-23 11:08:21 +0100
commit6d6e0462eb2dd1d770653f5e22582e3571c63c8f (patch)
tree897c90f8ef0290fe974a9381eeec964545607904 /ratpoison/clipboard
parent8dee1d67a9e2caa3a3286b13c86880c0757fcd16 (diff)
downloaddotfiles-6d6e0462eb2dd1d770653f5e22582e3571c63c8f.tar.gz
dotfiles-6d6e0462eb2dd1d770653f5e22582e3571c63c8f.tar.bz2
dotfiles-6d6e0462eb2dd1d770653f5e22582e3571c63c8f.zip
big ratpoison update
Diffstat (limited to 'ratpoison/clipboard')
-rwxr-xr-xratpoison/clipboard7
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
}