Move 1password autostart our of gnome-shell role

This commit is contained in:
Kenneth Benzie 2024-07-07 11:59:21 +01:00
parent 37f9615643
commit fc0e933df6
4 changed files with 18 additions and 15 deletions

View File

@ -62,4 +62,5 @@
src: /mnt/c/Users/Benie/AppData/Local/1Password/cli/op.exe src: /mnt/c/Users/Benie/AppData/Local/1Password/cli/op.exe
dest: ~/.local/bin/op dest: ~/.local/bin/op
- include_tasks: linux-autostart.yaml
- include_tasks: zsh-completion.yaml - include_tasks: zsh-completion.yaml

View File

@ -20,3 +20,5 @@
dnf: dnf:
name: 1password name: 1password
state: latest state: latest
- include_tasks: linux-autostart.yaml

View File

@ -0,0 +1,15 @@
---
- name: create autostart desktop file
copy:
dest: '{{ansible_env.HOME}}/.config/autostart/1password.desktop'
content: |
[Desktop Entry]
Name=1Password
Exec=/opt/1Password/1password %U
Terminal=false
Type=Application
Icon=1password
StartupWMClass=1Password
Comment=Password manager and secure wallet
MimeType=x-scheme-handler/onepassword;x-scheme-handler/onepassword8;
Categories=Office;

View File

@ -10,21 +10,6 @@
- gnome-themes-extra - gnome-themes-extra
state: latest state: latest
- name: autostart 1password
copy:
dest: '{{ansible_env.HOME}}/.config/autostart/1password.desktop'
content: |
[Desktop Entry]
Name=1Password
Exec=/opt/1Password/1password %U
Terminal=false
Type=Application
Icon=1password
StartupWMClass=1Password
Comment=Password manager and secure wallet
MimeType=x-scheme-handler/onepassword;x-scheme-handler/onepassword8;
Categories=Office;
- name: autostart ulauncher - name: autostart ulauncher
copy: copy:
dest: '{{ansible_env.HOME}}/.config/autostart/ulauncher.desktop' dest: '{{ansible_env.HOME}}/.config/autostart/ulauncher.desktop'