about summary refs log tree commit diff
path: root/home/profiles/gui/config/sway.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles/gui/config/sway.nix')
-rw-r--r--home/profiles/gui/config/sway.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/home/profiles/gui/config/sway.nix b/home/profiles/gui/config/sway.nix
index 5dbe7a7..d5e0704 100644
--- a/home/profiles/gui/config/sway.nix
+++ b/home/profiles/gui/config/sway.nix
@@ -14,6 +14,9 @@ in
   # HACK: https://todo.sr.ht/~emersion/kanshi/35
   exec_always "systemctl --user restart kanshi.service"
 
+  # Link keychain: https://github.com/systemd/systemd/issues/5522#issuecomment-309226589
+  exec [ -x "$(command -v keyctl)" ] && keyctl link @u @s
+
   # set modifiers
   set $mod Mod4
   set $alt Mod1