Use setsid to spawn thunar/alacritty as non-child

This commit is contained in:
Adam Goldsmith 2023-09-29 23:08:03 -04:00
parent 1e0976215c
commit d97622ed2a
1 changed files with 2 additions and 2 deletions

View File

@ -46,11 +46,11 @@
;;;; not sure where to put this
(defun open-thunar-in-current-directory ()
(interactive)
(call-process "thunar" nil 0 nil "."))
(call-process "setsid" nil 0 nil "thunar" "."))
(defun open-term-in-current-directory ()
(interactive)
(call-process "alacritty" nil 0 nil))
(call-process "setsid" nil 0 nil "alacritty"))
(bind-key "<s-return>" 'open-term-in-current-directory)
(bind-key "s-t" 'open-thunar-in-current-directory)