summaryrefslogtreecommitdiff
path: root/home/config/i3
diff options
context:
space:
mode:
Diffstat (limited to 'home/config/i3')
-rw-r--r--home/config/i3/keybindings.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/home/config/i3/keybindings.nix b/home/config/i3/keybindings.nix
index b35f666..b35dc8a 100644
--- a/home/config/i3/keybindings.nix
+++ b/home/config/i3/keybindings.nix
@@ -44,6 +44,10 @@ in {
"${modifier}+d" = ''exec "${rofi} -modi drun,run,window -show drun"'';
"${modifier}+Shift+d" = "exec ${rofi} -show window";
} else
- { }));
+ { }) // (if config.services.emacs.client.enable then {
+ "${modifier}+Control+r" =
+ "exec systemctl --user restart emacs.service";
+ } else
+ { }));
};
}