]> git.armaanb.net Git - config.org.git/commitdiff
Switch to scratch buffer before launching things
authorArmaan Bhojwani <me@armaanb.net>
Sat, 29 May 2021 20:35:16 +0000 (16:35 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Sat, 29 May 2021 20:35:16 +0000 (16:35 -0400)
config.org

index 4bd3fc4b7c65d5a0ca0631d28905768ae8634c9e..deb1c21d670c6b14721293f107cc310a0d7ed13d 100644 (file)
@@ -474,7 +474,8 @@ Circe is a really nice IRC client that claims to be above RCIRC and below ERC in
     (interactive)
     (if (get-buffer "irc.armaanb.net:6696")
         (switch-to-buffer "irc.armaanb.net:6696")
-      (progn (circe "libera")
+      (progn (switch-to-buffer "*scratch*")
+             (circe "libera")
              (circe "oftc")
              (circe "tilde"))))
 
@@ -798,7 +799,7 @@ I'm not a huge fan of how spectrwm handles keybindings, probably my biggest grip
 #+end_src
 **** Programs
 #+begin_src conf :tangle ~/.spectrwm.conf
-  program[email] = emacsclient -ce "(mu4e)"
+  program[email] = emacsclient -ce '(progn (switch-to-buffer "*scratch*") (mu4e))'
   program[irc] = emacsclient -ce '(acheam-irc)'
   program[rss] = emacsclient -ce '(elfeed)'
   program[calendar] = emacsclient -ce '(acheam-calendar)'