diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-01-31 15:32:27 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-01-31 15:33:25 +0100 |
| commit | 949f072ae5e4234d8469ff1cb608dedcd65a8a78 (patch) | |
| tree | 6978a5933fa68869eb2b5b83168dd2e4d8afc8c2 /roles/clipse | |
| parent | 80d47420cdea14f224fcd51c7d3d7196bea00e59 (diff) | |
Install clipse clipboard manager role with hyprland binding/rules
Diffstat (limited to 'roles/clipse')
| -rw-r--r-- | roles/clipse/meta/argument_specs.yml | 6 | ||||
| -rw-r--r-- | roles/clipse/meta/main.yml | 12 | ||||
| -rw-r--r-- | roles/clipse/tasks/main.yml | 21 |
3 files changed, 39 insertions, 0 deletions
diff --git a/roles/clipse/meta/argument_specs.yml b/roles/clipse/meta/argument_specs.yml new file mode 100644 index 00000000..5216c3af --- /dev/null +++ b/roles/clipse/meta/argument_specs.yml @@ -0,0 +1,6 @@ +--- +argument_specs: + main: + short_description: "Install clipse on ArchLinux" + description: "Install clipse on ArchLinux" + options: {} diff --git a/roles/clipse/meta/main.yml b/roles/clipse/meta/main.yml new file mode 100644 index 00000000..dd553dbb --- /dev/null +++ b/roles/clipse/meta/main.yml @@ -0,0 +1,12 @@ +--- +dependencies: + - role: "yay" +galaxy_info: + author: "a14m" + description: "Install clipse on ArchLinux" + license: "MIT" + min_ansible_version: "2.18" + platforms: + - name: "ArchLinux" + versions: + - "all" diff --git a/roles/clipse/tasks/main.yml b/roles/clipse/tasks/main.yml new file mode 100644 index 00000000..8bbc567f --- /dev/null +++ b/roles/clipse/tasks/main.yml @@ -0,0 +1,21 @@ +--- +- name: "Ensure wl-clipboard is installed" + become: true + ansible.builtin.package: + name: "wl-clipboard" + state: "present" + +- name: "Ensure clipse is installed" + become: true + become_user: "aur_builder" + kewlfft.aur.aur: + name: "clipse" + state: "present" + use: "yay" + +- name: "Configure system defaults" + become: true + ansible.builtin.template: + src: "config.json" + dest: "/etc/xdg/clipse/config.json" + mode: "0644" |
