1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 15:01:59 +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
- ansible >= 2.4
- ansible >= 2.7
#### Role list
@ -81,7 +81,7 @@ It could be run as ``root``.
#### Dependencies
- ansible >= 2.4
- ansible >= 2.7
#### 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
copy:
src: ssh-add.sh
dest: ~/.xprofile.d/
src: ssh-agent.service
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 --app="https://gmail.com"'
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####################################################

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