summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-09-26 10:55:22 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-09-30 22:34:04 -0700
commitab1dbe94462d611ce482d3d52ddd4262bdd69228 (patch)
treefb4307f62870cb235ccea11e7efd7a08e491b099 /.config
parent124632f7aca4beaca62ab10c711be3b1c65b851d (diff)
downloaddotfiles-ab1dbe94462d611ce482d3d52ddd4262bdd69228.tar.gz
gdbmacs instance, s.t. can always run Emacs under gdb, and for Gnus
Diffstat (limited to '.config')
-rw-r--r--.config/i3/config5
-rw-r--r--.config/sway/config4
2 files changed, 9 insertions, 0 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 4ec955ee..7c9291cd 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -64,6 +64,9 @@ mode "C-i-" {
# override the script's usual logic to start a fresh, non-debug daemon
bindsym Shift+e exec emacsclient -nc --spw/installed, mode "default"
+ # special daemon instance for debugging primary instance & Gnus
+ bindsym Mod1+e exec emacsclient -nc -sgdbmacs --spw/installed, mode "default"
+
# Fresh Emacs frame and get a shell in HOME. Without this it's
# C-i e M-& which is too many keys esp. compared to C-i DEL
bindsym Return exec emacsclient -nce \
@@ -352,6 +355,8 @@ bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
exec --no-startup-id emacsclient --spw/update-environment
+exec --no-startup-id emacsclient \
+ -sgdbmacs --spw/no-start --spw/update-environment
exec --no-startup-id xss-lock --transfer-sleep-lock -- \
i3lock --nofork --ignore-empty-password --color=FFFFF6
diff --git a/.config/sway/config b/.config/sway/config
index 0a38700d..e258f6b5 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -49,6 +49,9 @@ mode "C-i-" {
# override the script's usual logic to start a fresh, non-debug daemon
bindsym Shift+e exec emacsclient -nc --spw/installed, mode "default"
+ # special daemon instance for debugging primary instance & Gnus
+ bindsym Mod1+e exec emacsclient -nc -sgdbmacs --spw/installed, mode "default"
+
# Fresh Emacs frame and get a shell in HOME. Without this it's
# C-i e M-& which is too many keys esp. compared to C-i DEL
bindsym Return exec emacsclient -nce \
@@ -378,6 +381,7 @@ seat * hide_cursor 5000
exec mako
exec emacsclient --spw/update-environment
+exec emacsclient -sgdbmacs --spw/no-start --spw/update-environment
exec_always fcitx5 -d --replace