adds docker ce
All checks were successful
Nix Format Check / check-format (pull_request) Successful in 39s

adds pano extension alpha
This commit is contained in:
2025-01-20 11:02:00 +01:00
parent 9442cba158
commit 02c70010bd
5 changed files with 98 additions and 8 deletions

View File

@@ -0,0 +1,36 @@
- name: Check if Pano - Clipboard Manager is installed
ansible.builtin.stat:
path: "{{ ansible_user_dir }}/.local/share/gnome-shell/extensions/pano@elhan.io"
register: pano_check
- name: Create Pano - Clipboard Manager directory
ansible.builtin.file:
path: "{{ ansible_user_dir }}/.local/share/gnome-shell/extensions/pano@elhan.io"
state: directory
mode: '0755'
when: pano_check.stat.exists == False
# To update Pano, delete the existing directory and re-download the latest release
# Replace the URL with the latest release URL and rerun the playbook/dotf update
- name: Download Pano - Clipboard Manager
ansible.builtin.get_url:
url: https://github.com/oae/gnome-shell-pano/releases/download/v23-alpha3/pano@elhan.io.zip
dest: "{{ ansible_user_dir }}/.local/share/gnome-shell/extensions/pano@elhan.io/release.zip"
when: pano_check.stat.exists == False
- name: Extract Pano - Clipboard Manager
ansible.builtin.unarchive:
src: "{{ ansible_user_dir }}/.local/share/gnome-shell/extensions/pano@elhan.io/release.zip"
dest: "{{ ansible_user_dir }}/.local/share/gnome-shell/extensions/pano@elhan.io/"
when: pano_check.stat.exists == False
- name: Cleanup post Pan - Clipboard Manager installation
ansible.builtin.file:
path: "{{ ansible_user_dir }}/.local/share/gnome-shell/extensions/pano@elhan.io/release.zip"
state: absent
when: pano_check.stat.exists == False
- name: Enable Pano - Clipboard Manager
ansible.builtin.command: gnome-extensions enable pano@elhan.io
when: pano_check.stat.exists == False