aboutsummaryrefslogtreecommitdiffstats
path: root/config.example
diff options
context:
space:
mode:
Diffstat (limited to 'config.example')
-rw-r--r--config.example25
1 files changed, 25 insertions, 0 deletions
diff --git a/config.example b/config.example
index cb32391..ef045dc 100644
--- a/config.example
+++ b/config.example
@@ -20,6 +20,31 @@ _image_viewer () {
# display
}
+# It is possible to use wl-copy and wl-paste from wl-clipboard
+# Just uncomment the lines with wl-copy and wl-paste
+# and comment the xclip lines
+#
+_clip_in_primary() {
+ xclip
+ # wl-copy-p
+}
+
+_clip_in_clipboard() {
+ xclip -selection clipboard
+ # wl-copy
+}
+
+_clip_out_primary() {
+ xclip -o
+ # wl-paste -p
+}
+
+_clip_out_clipboard() {
+ xclip --selection clipboard -o
+ # wl-paste
+}
+
+
# xdotool needs the keyboard layout to be set using setxkbmap
# You can do this in your autostart scripts (e.g. xinitrc)