parent
bee635b5d3
commit
7a83c26cc6
4 changed files with 42 additions and 2 deletions
|
@ -18,6 +18,7 @@
|
||||||
- import_tasks: tasks/ntp.yml
|
- import_tasks: tasks/ntp.yml
|
||||||
- import_tasks: tasks/fonts.yml
|
- import_tasks: tasks/fonts.yml
|
||||||
- import_tasks: tasks/security.yml
|
- import_tasks: tasks/security.yml
|
||||||
|
- import_tasks: tasks/keepassxc.yml
|
||||||
|
|
||||||
- import_tasks: tasks/python.yml
|
- import_tasks: tasks/python.yml
|
||||||
- import_tasks: tasks/vim.yml
|
- import_tasks: tasks/vim.yml
|
||||||
|
|
|
@ -27,10 +27,9 @@ bindsym $mod+F12 exec --no-startup-id redshift -O 3000
|
||||||
|
|
||||||
|
|
||||||
# Applications
|
# 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+l exec --no-startup-id betterlockscreen -l dimblur && sleep 1
|
||||||
bindsym $mod+Shift+l exec --no-startup-id pranklock
|
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+d exec --no-startup-id rofi -show drun -sidebar-mode
|
||||||
bindsym $mod+Tab exec --no-startup-id rofi -show window
|
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
|
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 picom --dbus --xrender-sync-fence
|
||||||
exec tbg ~/Upload/bg/ -m 10 -c "betterlockscreen -u /_"
|
exec tbg ~/Upload/bg/ -m 10 -c "betterlockscreen -u /_"
|
||||||
exec ssh-agent -Da /tmp/ssh-agent-$USER.sock
|
exec ssh-agent -Da /tmp/ssh-agent-$USER.sock
|
||||||
|
exec keepassxc
|
||||||
exec enpass
|
exec enpass
|
||||||
exec dunst
|
exec dunst
|
||||||
exec xfce4-power-manager --no-daemon
|
exec xfce4-power-manager --no-daemon
|
||||||
|
|
38
tasks/keepassxc.yml
Normal file
38
tasks/keepassxc.yml
Normal 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 }}"
|
|
@ -7,6 +7,7 @@
|
||||||
when: item not in installed_packages.stdout_lines
|
when: item not in installed_packages.stdout_lines
|
||||||
loop:
|
loop:
|
||||||
- enpass-bin
|
- enpass-bin
|
||||||
|
- keepassxc
|
||||||
- qomui
|
- qomui
|
||||||
- wireguard-tools
|
- wireguard-tools
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue