diff --git a/.ansible/roles/linux_desktop/tasks/config.yaml b/.ansible/roles/linux_desktop/tasks/config.yaml index b1c0755..f5747b0 100644 --- a/.ansible/roles/linux_desktop/tasks/config.yaml +++ b/.ansible/roles/linux_desktop/tasks/config.yaml @@ -120,3 +120,14 @@ loop: "{{ gnome_custom_keybindings }}" loop_control: index_var: index + +- name: 'Shell: Clipboard aliases' + tags: + - config + - shell + copy: + content: | + [[ -x /usr/bin/copyq ]] && function pbpaste() { /usr/bin/copyq clipboard; } && export -f pbpaste + [[ -x /usr/bin/copyq ]] && function pbcopy() { /usr/bin/copyq add -; } && export -f pbcopy + dest: '~/.bashrc.d/alias.clipboard' + mode: '0400' diff --git a/.ansible/roles/linux_desktop/vars/main.yaml b/.ansible/roles/linux_desktop/vars/main.yaml index 1f74be7..a64a0b5 100644 --- a/.ansible/roles/linux_desktop/vars/main.yaml +++ b/.ansible/roles/linux_desktop/vars/main.yaml @@ -36,6 +36,7 @@ linux_packages: - gnome-shell-extension-dashtodock - gnome-shell-extension-weather - gnome-tweaks + - ipcalc - keybase - net-tools - netcat