mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Added draft for desk-copyq (untested)
This commit is contained in:
27
roles/desk-copyq/tasks/main.yml
Normal file
27
roles/desk-copyq/tasks/main.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
- name: Install CopyQ clipboard manager
|
||||
community.general.pacman:
|
||||
name:
|
||||
- copyq
|
||||
state: present
|
||||
|
||||
- name: Ensure autostart directory exists
|
||||
file:
|
||||
path: "{{ ansible_env.HOME }}/.config/autostart"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
become: false
|
||||
|
||||
- name: Add CopyQ to user autostart
|
||||
copy:
|
||||
dest: "{{ ansible_env.HOME }}/.config/autostart/copyq.desktop"
|
||||
content: |
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Exec=copyq
|
||||
Hidden=false
|
||||
NoDisplay=false
|
||||
X-GNOME-Autostart-enabled=true
|
||||
Name=CopyQ Clipboard Manager
|
||||
Comment=Advanced clipboard manager with searchable and editable history
|
||||
mode: '0644'
|
||||
become: false
|
Reference in New Issue
Block a user