autostart keepassxc

This commit is contained in:
Pim Kunis 2023-02-25 18:09:15 +01:00
parent 3d5044ab1b
commit 3905102939
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,17 @@
[Desktop Entry]
Name=KeePassXC
GenericName=Password Manager
Exec=/usr/bin/keepassxc
TryExec=/usr/bin/keepassxc
Icon=keepassxc
StartupWMClass=keepassxc
StartupNotify=true
Terminal=false
Type=Application
Version=1.0
Categories=Utility;Security;Qt;
MimeType=application/x-keepass2;
X-GNOME-Autostart-enabled=true
X-GNOME-Autostart-Delay=2
X-KDE-autostart-after=panel
X-LXQt-Need-Tray=true

View file

@ -28,3 +28,7 @@
option: AuthSockOverride option: AuthSockOverride
value: "{{ ssh_agent_socket }}" value: "{{ ssh_agent_socket }}"
no_extra_spaces: true no_extra_spaces: true
- name: Autostart keepassxc
copy:
src: "{{ role_path }}/files/org.keepassxc.KeePassXC.desktop"
dest: ~/.config/autostart/org.keepassxc.KeePassXC.desktop