Browse Source

enc clipboard

master
Markus Bergholz 2 years ago
parent
commit
81b554f6c4
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      bash/mb.bashrc

+ 8
- 0
bash/mb.bashrc View File

@@ -134,3 +134,11 @@ function _rip_audio() {
fi

}

function set_enc_clipboard() {
xclip -out -selection clipboard | redis-cli -h 10.0.0.59 -x SET A
}

function get_enc_clipboard() {
redis-cli -h 10.0.0.59 GET A | xclip -selection c
}

Loading…
Cancel
Save