Compare commits
2 Commits
30569c4019
...
caf13e5126
| Author | SHA1 | Date | |
|---|---|---|---|
|
caf13e5126
|
|||
|
49c7149ed9
|
41
config/ansible/tasks/workstations/cliphist.yml
Normal file
41
config/ansible/tasks/workstations/cliphist.yml
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
- name: Ensure wl-clipboard and cliphist are installed
|
||||||
|
become: true
|
||||||
|
package:
|
||||||
|
name:
|
||||||
|
- wl-clipboard
|
||||||
|
- cliphist
|
||||||
|
- wofi
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Create systemd user service for cliphist
|
||||||
|
become: false
|
||||||
|
copy:
|
||||||
|
dest: "{{ ansible_env.HOME }}/.config/systemd/user/cliphist-store.service"
|
||||||
|
mode: "0644"
|
||||||
|
content: |
|
||||||
|
[Unit]
|
||||||
|
Description=Store clipboard history with cliphist
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/sh -c 'wl-paste --watch cliphist store'
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
|
||||||
|
- name: Reload systemd user daemon
|
||||||
|
become: false
|
||||||
|
systemd:
|
||||||
|
daemon_reload: yes
|
||||||
|
scope: user
|
||||||
|
|
||||||
|
# TO ENABLE READING, ADD A KEYBOARD SHORTCUT SOMEWHERE IN YOUR WM CONFIGURATION
|
||||||
|
# cliphist list | wofi -S dmenu | cliphist decode | wl-copy
|
||||||
|
- name: Enable and start cliphist-store service
|
||||||
|
become: false
|
||||||
|
systemd:
|
||||||
|
name: cliphist-store.service
|
||||||
|
enabled: yes
|
||||||
|
state: started
|
||||||
|
scope: user
|
||||||
@@ -56,6 +56,8 @@
|
|||||||
- io.github.equicord.equibop
|
- io.github.equicord.equibop
|
||||||
|
|
||||||
# Utilities
|
# Utilities
|
||||||
|
- com.ranfdev.DistroShelf
|
||||||
|
- io.missioncenter.MissionCenter
|
||||||
- io.gitlab.elescoute.spacelaunch
|
- io.gitlab.elescoute.spacelaunch
|
||||||
- org.fkoehler.KTailctl
|
- org.fkoehler.KTailctl
|
||||||
- com.usebottles.bottles
|
- com.usebottles.bottles
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
- name: Include workstation symlinks tasks
|
- name: Include workstation symlinks tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/symlinks.yml
|
ansible.builtin.import_tasks: tasks/workstations/symlinks.yml
|
||||||
|
|
||||||
|
- name: Include workstation cliphist tasks
|
||||||
|
ansible.builtin.import_tasks: tasks/workstations/cliphist.yml
|
||||||
|
|
||||||
- name: Include GNOME Extensions tasks
|
- name: Include GNOME Extensions tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/gnome-extensions.yml
|
ansible.builtin.import_tasks: tasks/workstations/gnome-extensions.yml
|
||||||
when: ansible_facts.env.XDG_CURRENT_DESKTOP is defined and 'GNOME' in ansible_facts.env.XDG_CURRENT_DESKTOP
|
when: ansible_facts.env.XDG_CURRENT_DESKTOP is defined and 'GNOME' in ansible_facts.env.XDG_CURRENT_DESKTOP
|
||||||
@@ -58,5 +61,7 @@
|
|||||||
- nemo-font-manager
|
- nemo-font-manager
|
||||||
- nemo-gtkhash
|
- nemo-gtkhash
|
||||||
- nemo-python
|
- nemo-python
|
||||||
|
# DistroBox
|
||||||
|
- distrobox
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ in
|
|||||||
# GUI Application
|
# GUI Application
|
||||||
## Utilities
|
## Utilities
|
||||||
tea # A Gitea official CLI client
|
tea # A Gitea official CLI client
|
||||||
mission-center # Task Manager like Windows 11
|
|
||||||
pinta # Paint.NET alternative
|
pinta # Paint.NET alternative
|
||||||
smile # Emoji picker
|
smile # Emoji picker
|
||||||
deja-dup # Backup tool
|
deja-dup # Backup tool
|
||||||
|
|||||||
Reference in New Issue
Block a user