From 54de4d1d9b55a6c9a1dfdfe68660fc9a48a06b98 Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Thu, 26 Aug 2021 20:33:48 +0200 Subject: [PATCH] Use SSH keychain to manage ssh agent --- roles/dotfiles/files/fish/config.fish | 2 ++ roles/dotfiles/files/i3_config | 2 +- roles/dotfiles/files/i3status_config | 2 +- roles/dotfiles/tasks/main.yml | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/roles/dotfiles/files/fish/config.fish b/roles/dotfiles/files/fish/config.fish index fe170e5..11cdc01 100644 --- a/roles/dotfiles/files/fish/config.fish +++ b/roles/dotfiles/files/fish/config.fish @@ -6,3 +6,5 @@ if status --is-login exec startx end end + +eval (keychain --eval --agents ssh --quick) diff --git a/roles/dotfiles/files/i3_config b/roles/dotfiles/files/i3_config index 97b6df8..ddd3656 100644 --- a/roles/dotfiles/files/i3_config +++ b/roles/dotfiles/files/i3_config @@ -25,7 +25,7 @@ floating_modifier $mod new_window 1pixel # start a terminal -bindsym $mod+Return exec i3-sensible-terminal +bindsym $mod+Return exec gnome-terminal # lock bindsym Mod1+l exec i3lock-fancy diff --git a/roles/dotfiles/files/i3status_config b/roles/dotfiles/files/i3status_config index d34a17a..d77a9d0 100644 --- a/roles/dotfiles/files/i3status_config +++ b/roles/dotfiles/files/i3status_config @@ -22,7 +22,7 @@ ethernet _first_ { } battery all { - format = "Battery %status %percentage %remaining remain" + format = "Battery %status %percentage %remaining" } load { diff --git a/roles/dotfiles/tasks/main.yml b/roles/dotfiles/tasks/main.yml index 75e4cf4..fccce40 100644 --- a/roles/dotfiles/tasks/main.yml +++ b/roles/dotfiles/tasks/main.yml @@ -14,6 +14,7 @@ - ispell - i3 - i3lock-fancy + - keychain - nitrogen - pass - polybar