From e76643fac723915a203adf3f0188cd6f2cdc7af0 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Mon, 14 Aug 2023 10:56:00 -0400 Subject: [PATCH] Enable emacs scratchpad --- home-manager/linux/programs/hyprland.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/home-manager/linux/programs/hyprland.nix b/home-manager/linux/programs/hyprland.nix index f1ac6b8..cdd97b9 100644 --- a/home-manager/linux/programs/hyprland.nix +++ b/home-manager/linux/programs/hyprland.nix @@ -357,11 +357,6 @@ in with lib; { exec emacsclient -c --frame-parameters='(quote (name . "scratchmacs"))' ''; # https://github.com/hyprland-community/pyprland/issues/6 - # "emacs": { - # "command": "${emacsStart}", - # "animation": "", - # "unfocus": "hide" - # } in { text = '' { @@ -375,6 +370,12 @@ in with lib; { "command": "alacritty --class alacritty-dropterm --working-directory ~ -e tmux new -A -s scratch", "animation": "" }, + "emacs": { + "command": "${emacsStart}", + "animation": "", + "lazy": true, + "class": "emacs" + }, "ario": { "command": "ario", "animation": ""