summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-10-18 20:06:55 -0700
committerSean Whitton <spwhitton@spwhitton.name>2019-10-18 20:09:27 -0700
commitd8dec63a6c84244325c0d6624f21f08183ca21a8 (patch)
tree82f705b50300a9148badbbe6050fdf9d3d77fb51 /.config
parentaa1a987f5f67c640b08fd0c8d39055db818f2d4c (diff)
downloaddotfiles-d8dec63a6c84244325c0d6624f21f08183ca21a8.tar.gz
don't use set-window-dedicated-p for dedicated Org-agenda frame
Using that can mean that the buffer for composing an Org note, triggered by a todo status change, shows up in a frame on another workspace. Instead, compensate for lack of set-window-dedicated-p by trying to redisplay the correct agenda buffer in the frame.
Diffstat (limited to '.config')
-rw-r--r--.config/i3/config4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 11393177..e72e74e1 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -367,5 +367,5 @@ for_window [class="^Xfce4-terminal$" title="^irssi$"] floating enable, resize se
bindsym $mod+n [class="^Xfce4-terminal$" title="^irssi$"] scratchpad show
# Org-mode agenda
-bindsym $mod+Shift+u exec --no-startup-id ~/bin/i3-fresh-workspace, exec emacsclient -e '(spw--dedicated-org-agenda-window)'
-bindsym $mod+u [class="^Emacs$" title="^Org-mode agenda$"] focus
+bindsym $mod+Shift+u exec --no-startup-id ~/bin/i3-fresh-workspace, exec emacsclient -e '(spw--dedicated-org-agenda-window t)'
+bindsym $mod+u [class="^Emacs$" title="^Org-mode agenda$"] focus, exec emacsclient -e '(spw--dedicated-org-agenda-window nil)'