diff options
author | Rasmus Steinke <rasi@xssn.at> | 2021-01-25 21:49:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-25 21:49:50 +0100 |
commit | 916ac3bf5f50d0140a9839f523621c5d77bccf0e (patch) | |
tree | b230491e0f0bc0811c0c66928cd48114b91e2a7a /config.example | |
parent | 6e7fd8e3db831eedcea63aa1c1869c5fcb71f265 (diff) | |
parent | 3c90a957a4b0850e66f444a84faf5b7d7f82a1c3 (diff) | |
download | rofi-pass-916ac3bf5f50d0140a9839f523621c5d77bccf0e.tar.gz |
Merge pull request #205 from bjonnh/feature/generic-clipboard-support
[Feature] Customization of clipboard commands.
Diffstat (limited to 'config.example')
-rw-r--r-- | config.example | 25 |
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) |