1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 23:12:32 +01:00

updated README, ssh-agent, sway

This commit is contained in:
eoli3n 2019-12-12 20:33:42 +01:00
parent 08d13c0a85
commit 68e8f4ec1a
8 changed files with 35 additions and 8 deletions

@ -42,7 +42,7 @@ Should not be used as ``root``.
#### Dependencies #### Dependencies
- ansible >= 2.4 - ansible >= 2.7
#### Role list #### Role list
@ -81,7 +81,7 @@ It could be run as ``root``.
#### Dependencies #### Dependencies
- ansible >= 2.4 - ansible >= 2.7
#### Role list #### Role list

@ -0,0 +1 @@
SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/ssh-agent.socket"

@ -1,2 +0,0 @@
eval $(ssh-agent)
ssh-add &

@ -0,0 +1,10 @@
[Unit]
Description=SSH key agent
[Service]
Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Install]
WantedBy=default.target

@ -1,5 +1,17 @@
--- ---
- name: Configure ssh-agent - name: Configure ssh-agent
copy: copy:
src: ssh-add.sh src: ssh-agent.service
dest: ~/.xprofile.d/ dest: ~/.config/systemd/user/
- name: Configure pam environment
copy:
src: pam_environment
dest: ~/.pam_environment
- name: Start and enable ssh-agent service
systemd:
name: ssh-agent
state: started
enabled: yes
scope: user

7
roles/sway/TODO Normal file

@ -0,0 +1,7 @@
- variety
- systray
- waybar
- move to screen bug
- look des apps Qt
- autostart sway at login tty1
- Wofi focusing on current screen

@ -32,5 +32,5 @@ exec --no-startup-id swaymsg 'exec variety &'
exec --no-startup-id swaymsg 'exec google-chrome-stable' exec --no-startup-id swaymsg 'exec google-chrome-stable'
exec --no-startup-id swaymsg 'exec google-chrome-stable --app="https://gmail.com"' exec --no-startup-id swaymsg 'exec google-chrome-stable --app="https://gmail.com"'
exec --no-startup-id swaymsg 'workspace $tag4; exec termite -e "screen -rd weechat &"' exec --no-startup-id swaymsg 'workspace $tag4; exec termite -e "screen -rd weechat &"'
exec --no-startup-id swaymsg 'workspace $tag2; exec termite -e "ssh-add"' exec --no-startup-id swaymsg 'workspace $tag2; exec termite -e "ssh-add" && termite'
#INCLUDE#################################################### #INCLUDE####################################################

@ -20,7 +20,6 @@ smart_gaps on
gaps inner 4 gaps inner 4
gaps outer -4 gaps outer -4
# start a terminal # start a terminal
bindsym $mod+Return exec termite bindsym $mod+Return exec termite