From dbb3cd222578658add40236f27d7cab741d60180 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 11 Apr 2022 21:59:13 +0200 Subject: [PATCH] home: i3: add shortcut to open org-agenda --- home/x/i3.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/x/i3.nix b/home/x/i3.nix index d528a24..dd2cab1 100644 --- a/home/x/i3.nix +++ b/home/x/i3.nix @@ -87,7 +87,8 @@ in { keybindings = mkOptionDefault { "${modifier}+Shift+e" = ''mode "${logoutMode}"''; - "${modifier}+i" = "exec emacsclient -c"; + "${modifier}+i" = "exec emacsclient --create-frame"; + "${modifier}+o" = "exec emacsclient --create-frame --eval '(load \"${config.xdg.configHome}/doom/launch-agenda.el\")'"; # Volume handling "XF86AudioRaiseVolume" = "exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%";