aboutsummaryrefslogtreecommitdiff
path: root/gui/conf/xmonad.hs
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-06-22 00:34:17 +0200
committerAdrian Kummerlaender2020-06-22 00:34:17 +0200
commit5fcd04ac67c94d4ca249a8f212ebb5b423716454 (patch)
treed9e83dd428002d735a5666eebef217fec0ed4090 /gui/conf/xmonad.hs
parentcf8075b7b2f5cd049c0a0ef46b9c8627daab4d09 (diff)
downloadnixos_home-5fcd04ac67c94d4ca249a8f212ebb5b423716454.tar
nixos_home-5fcd04ac67c94d4ca249a8f212ebb5b423716454.tar.gz
nixos_home-5fcd04ac67c94d4ca249a8f212ebb5b423716454.tar.bz2
nixos_home-5fcd04ac67c94d4ca249a8f212ebb5b423716454.tar.lz
nixos_home-5fcd04ac67c94d4ca249a8f212ebb5b423716454.tar.xz
nixos_home-5fcd04ac67c94d4ca249a8f212ebb5b423716454.tar.zst
nixos_home-5fcd04ac67c94d4ca249a8f212ebb5b423716454.zip
Setup emacs daemon and client
It seems like I finally got my setup to a state where Emacs is there to stay.
Diffstat (limited to 'gui/conf/xmonad.hs')
-rw-r--r--gui/conf/xmonad.hs4
1 files changed, 2 insertions, 2 deletions
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-<Space>" , spawn "rofi -show combi")
, ("M-<Return>" , spawn "kitty")
- , ("M-S-<Return>" , spawn "nvim-qt --no-ext-tabline")
+ , ("M-S-<Return>" , spawn "emacsclient --create-frame")
, ("<Print>" , spawn "flameshot gui")
-- password management