Use Emacs in daemon mode
This commit is contained in:
parent
9176c1f445
commit
ba480ea008
2 changed files with 9 additions and 3 deletions
|
|
@ -70,7 +70,7 @@ input type:touchpad {
|
|||
bindsym $launch+t exec $term zellij attach --create main
|
||||
|
||||
# Start Emacs
|
||||
bindsym $launch+e exec emacs
|
||||
bindsym $launch+e exec emacsclient --create-frame
|
||||
|
||||
# Start a browser
|
||||
bindsym $launch+f exec firefox --private-window
|
||||
|
|
@ -253,6 +253,12 @@ bindsym Print exec take-screenshot everything
|
|||
bindsym Shift+Print exec take-screenshot
|
||||
bindsym Pause exec kill -s INT $(pgrep wf-recorder)
|
||||
|
||||
#
|
||||
# Start an emacs daemon
|
||||
#
|
||||
|
||||
exec emacs --bg-daemon
|
||||
|
||||
#
|
||||
# Start a password manager in the scratchpad
|
||||
#
|
||||
|
|
|
|||
4
.profile
4
.profile
|
|
@ -36,8 +36,8 @@ if [ -d "$(systemd-path user-state-private)"/git-sync ] ; then
|
|||
fi
|
||||
|
||||
umask 0007
|
||||
export EDITOR="/usr/local/bin/emacs --no-init-file --no-splash --no-window-system"
|
||||
export VISUAL="/usr/local/bin/emacs --no-init-file --no-splash --no-window-system"
|
||||
export EDITOR="emacsclient"
|
||||
export VISUAL="emacsclient"
|
||||
export GTK_IM_MODULE="fcitx"
|
||||
export QT_IM_MODULE="fcitx"
|
||||
export XMODIFIERS="@im=fcitx"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue