Revert "Replace keepassxc with enpass"

This reverts commit f9620c8131.
This commit is contained in:
Jake Howard 2020-05-14 16:35:24 +01:00
parent bee635b5d3
commit 7a83c26cc6
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 42 additions and 2 deletions

View file

@ -18,6 +18,7 @@
- import_tasks: tasks/ntp.yml
- import_tasks: tasks/fonts.yml
- import_tasks: tasks/security.yml
- import_tasks: tasks/keepassxc.yml
- import_tasks: tasks/python.yml
- import_tasks: tasks/vim.yml

View file

@ -27,10 +27,9 @@ bindsym $mod+F12 exec --no-startup-id redshift -O 3000
# Applications
bindsym $mod+K exec --no-startup-id enpass showassistant
bindsym $mod+Shift+K exec --no-startup-id enpass
bindsym $mod+l exec --no-startup-id betterlockscreen -l dimblur && sleep 1
bindsym $mod+Shift+l exec --no-startup-id pranklock
bindsym $mod+K exec --no-startup-id keepassxc
bindsym $mod+d exec --no-startup-id rofi -show drun -sidebar-mode
bindsym $mod+Tab exec --no-startup-id rofi -show window
bindsym $mod+c exec --no-startup-id rofi -show calc -modi calc -no-show-match -no-sort
@ -121,6 +120,7 @@ exec dex -as ~/.config/autostart
exec picom --dbus --xrender-sync-fence
exec tbg ~/Upload/bg/ -m 10 -c "betterlockscreen -u /_"
exec ssh-agent -Da /tmp/ssh-agent-$USER.sock
exec keepassxc
exec enpass
exec dunst
exec xfce4-power-manager --no-daemon

38
tasks/keepassxc.yml Normal file
View file

@ -0,0 +1,38 @@
- file:
state: directory
recurse: true
path: "{{ home }}/Private"
owner: "{{ user }}"
mode: 0700
- file:
state: directory
recurse: true
path: "{{ home }}/.config/keepassxc"
owner: "{{ user }}"
mode: 0700
- set_fact:
keepassxc_config:
- {section: General, option: "SSHAgent", value: "true"}
- {section: General, option: "AutoSaveAfterEveryChange", value: "true"}
- {section: General, option: "LastOpenedDatabases", value: "{{ home }}/Private/KeePass/Password Safe.kdbx"}
- {section: General, option: "SingleInstance", value: "true"}
- {section: Http, option: "Enabled", value: "false"}
- {section: GUI, option: "ShowTrayIcon", value: "true"}
- {section: GUI, option: "MinimizeToTray", value: "true"}
- {section: GUI, option: "MinimizeOnStartup", value: "true"}
- {section: security, option: "lockdatabasescreenlock", value: "true"}
- {section: Browser, option: "Enabled", value: "true"}
- {section: Browser, option: "AlwaysAllowAccess", value: "true"}
- {section: Browser, option: "AlwaysAllowUpdate", value: "true"}
- name: Set KeepassXC configuration
ini_file:
path: "{{ home }}/.config/keepassxc/keepassxc.ini"
mode: 0700
owner: "{{ user }}"
section: "{{ item.section }}"
option: "{{ item.option }}"
value: "{{ item.value }}"
with_items: "{{ keepassxc_config }}"

View file

@ -7,6 +7,7 @@
when: item not in installed_packages.stdout_lines
loop:
- enpass-bin
- keepassxc
- qomui
- wireguard-tools