Move 1password autostart our of gnome-shell role
This commit is contained in:
parent
37f9615643
commit
fc0e933df6
@ -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
|
||||||
|
@ -20,3 +20,5 @@
|
|||||||
dnf:
|
dnf:
|
||||||
name: 1password
|
name: 1password
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
|
- include_tasks: linux-autostart.yaml
|
||||||
|
15
roles/1password/tasks/linux-autostart.yaml
Normal file
15
roles/1password/tasks/linux-autostart.yaml
Normal 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;
|
@ -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'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user