Use setsid to spawn thunar/alacritty as non-child
This commit is contained in:
parent
1e0976215c
commit
d97622ed2a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user