diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2021-09-20 21:10:16 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2021-09-20 21:10:16 +0200 |
| commit | 59f56c4b8f47a0e8733289e8de31ea82bf956f11 (patch) | |
| tree | 8e9a17c55837ac714dc043eb8009c8549b4cb625 | |
| parent | c30ec2ed23b1815a113988270ac6d5516c3ba5ff (diff) | |
add keybinding to restart emacs
| -rw-r--r-- | home/config/i3/keybindings.nix | 6 |
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 + { })); }; } |
