From 5fcd04ac67c94d4ca249a8f212ebb5b423716454 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 22 Jun 2020 00:34:17 +0200 Subject: Setup emacs daemon and client It seems like I finally got my setup to a state where Emacs is there to stay. --- gui/conf/xmonad.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/conf/xmonad.hs') diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs index 8de9429..6d7b513 100644 --- a/gui/conf/xmonad.hs +++ b/gui/conf/xmonad.hs @@ -118,7 +118,7 @@ scratchpads host = (customFloating $ hideScreenBorder host sideBarLeft) , NS "messaging" "telegram-desktop" ((className =? "TelegramDesktop") <&&> (title /=? "Media viewer")) (customFloating $ hideScreenBorder host sideBarRight) - , NS "notes" "emacs --title=notemacs ~/org/inbox.org" (title =? "notemacs") + , NS "notes" "emacsclient --create-frame --frame-parameters='(quote (name . \"notemacs\"))' ~/org/inbox.org" (title =? "notemacs") (customFloating $ hideScreenBorder host dropDownLarge) ] @@ -163,7 +163,7 @@ commonKeybindings host = -- application launchers , ("M-" , spawn "rofi -show combi") , ("M-" , spawn "kitty") - , ("M-S-" , spawn "nvim-qt --no-ext-tabline") + , ("M-S-" , spawn "emacsclient --create-frame") , ("" , spawn "flameshot gui") -- password management -- cgit v1.2.3