From 4f5a315521ddd0523dd5f4244b1ab1b89790c346 Mon Sep 17 00:00:00 2001 From: k Date: Wed, 10 Dec 2025 00:27:49 -0500 Subject: [PATCH] added some emacs bindings --- hosts/home/hyprland.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/home/hyprland.nix b/hosts/home/hyprland.nix index bba634b..07d1b6c 100644 --- a/hosts/home/hyprland.nix +++ b/hosts/home/hyprland.nix @@ -102,6 +102,13 @@ "$mainMod, Space, exec, toggle_float" "$mainMod, Escape, exec, ${pkgs.hyprlock}/bin/hyprlock" + #emacs + "$mainMod, E, exec, ${pkgs.emacs-pgtk}/bin/emacsclient -c" + "$mainMod, C, exec, ${pkgs.emacs-pgtk}/bin/emacsclient -c -e\ \"(org-roam-capture)\"" + "$mainMod, B, exec, ${pkgs.emacs-pgtk}/bin/emacsclient -c -e\ \"(call-interactively #'bookmark-jump)\"" + "$mainMod, P, exec, ${pkgs.emacs-pgtk}/bin/emacsclient -c -e\ \"(project-dired)\"" + "$mainMod, M, exec, ${pkgs.emacs-pgtk}/bin/emacsclient -c -e \"(mingus)\"" + # switch focus "$mainMod, left, movefocus, l" "$mainMod, right, movefocus, r"