]> git.armaanb.net Git - config.org.git/commitdiff
spectrwm: switch mail and irc keybindings to emacs
authorArmaan Bhojwani <me@armaanb.net>
Sun, 16 May 2021 23:31:50 +0000 (19:31 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Sun, 16 May 2021 23:31:50 +0000 (19:31 -0400)
config.org

index e649cafcbfbb5b432046cd683d8ce0396a61eb59..6a21b86036e8640eaa0f18444c225b1e0b3bfdc9 100644 (file)
@@ -735,15 +735,15 @@ No more clogging up init.el.
 #+end_src
 **** Programs
 #+begin_src conf :tangle ~/.spectrwm.conf
-  program[aerc] = alacritty -e aerc
-  program[catgirl] = alacritty --hold -e sh -c "while : ; do ssh root@armaanb.net -t abduco -A irc catgirl freenode; sleep 2; done"
+  program[email] = emacsclient -c --eval "(mu4e)"
+  program[irc] = emacsclient -c --eval '(switch-to-buffer "irc.armaanb.net:6697")'
   program[emacs] = emacsclient -c
   program[firefox] = firefox
   program[calc] = alacritty -e because -l
   program[emacs-anywhere] = emacsclient --eval "(emacs-everywhere)"
 
-  bind[aerc] = MOD+Control+1
-  bind[catgirl] = MOD+Control+2
+  bind[email] = MOD+Control+1
+  bind[irc] = MOD+Control+2
   bind[firefox] = MOD+Control+3
   bind[emacs-anywhere] = MOD+Control+4
   bind[calc] = MOD+Control+5