From ab29381aa1a8fdb9542576635679eed4bb13e423 Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Thu, 30 Jan 2025 18:55:31 +0100 Subject: [PATCH] Updated emacs to version with emoji picker --- flake.lock | 6 +++--- nixos/modules/hyprland/default.nix | 2 +- nixos/modules/hyprland/hyprland.nix | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index dea56f7..15dacf0 100644 --- a/flake.lock +++ b/flake.lock @@ -147,11 +147,11 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1738237340, - "narHash": "sha256-AInwqwvsd58tX/c8BG4SKtEUuXU1uz6iKEq6sEJ3Czk=", + "lastModified": 1738259621, + "narHash": "sha256-5d9XO7gUYo/PeXVR365KdQQz39BOde4almBTBnvTrQ0=", "owner": "kylekrein", "repo": "emacs-config", - "rev": "e459041e925d1faaf0d224ff29247d14901a1161", + "rev": "c4843c90f77c29cc1af22d2c99bede6039e667b8", "type": "github" }, "original": { diff --git a/nixos/modules/hyprland/default.nix b/nixos/modules/hyprland/default.nix index fcea5b8..8d258cd 100644 --- a/nixos/modules/hyprland/default.nix +++ b/nixos/modules/hyprland/default.nix @@ -16,7 +16,7 @@ swaynotificationcenter libnotify swww - wofi + #wofi hyprpicker networkmanagerapplet hyprlock diff --git a/nixos/modules/hyprland/hyprland.nix b/nixos/modules/hyprland/hyprland.nix index f3bca50..2877676 100644 --- a/nixos/modules/hyprland/hyprland.nix +++ b/nixos/modules/hyprland/hyprland.nix @@ -62,19 +62,20 @@ in { "$fileManager" = "$emacs --eval '(dired \"/home/${username}\")'"; # "$terminal ${pkgs.yazi}/bin/yazi"; "$fileManager2" = "${pkgs.kdePackages.dolphin}/bin/dolphin"; "$browser" = "${pkgs.firefox}/bin/firefox"; - "$menu" = "emacsclient -cF '((visibility . nil))' -e '(emacs-run-launcher)'"; #"${pkgs.wofi}/bin/wofi --show drun"; + "$menu" = "emacsclient -cF '((visibility . nil))' -e '(emacs-run-app-launcher)'"; #"${pkgs.wofi}/bin/wofi --show drun"; + "$emojiPicker" = "emacsclient -cF '((visibility . nil))' -e '(emacs-run-emoji-picker)'"; "$clipboardManager" = "$terminal --class clipse -e 'clipse'"; "$makeRegionScreenshot" = "${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp -w 0)\" - | ${pkgs.satty}/bin/satty --early-exit --copy-command 'wl-copy' --filename '-' --initial-tool brush"; bind = [ "$mod, T, exec, $terminal" "$mod, Q, killactive," - "$mod, M, exit," "$mod, B, exec, $browser" "$mod SHIFT, V, togglefloating," "$mod, C, exec, $fileManager" "$mod SHIFT, C, exec, $fileManager2" "$mod, F, fullscreen," "$mod, R, exec, $menu" + "$mod, M, exec, $emojiPicker" "$mod, V, exec, $clipboardManager" #"CTRL, SPACE, global, kando:nix-hyprland" "$mod SHIFT, I, exec, source ${toggle_monitors}"