Complete Computing Environment: Twittering-Mode

Table of Contents

Twitter and Microblogging

(provide 'cce-twitter)

I use twitter as a source of entertainment, and as an Idle Action to throw new things in to my reading list, and to communicate with certain folks in my friend circles. For this I use a custom Matrix.org bot I made which pushes Twitter timelines in to my chat client. As such, there isn't an insane amount of configuration that must happen.

A big hunk of this plays in to my WM configuration for XMonad with which I want to put all of my idle things in a single workspace, but it is not super easy to do this even with XMonad configuration, so I have a small wrapper that I use

set -x
wmctrl -s 2
$@
link-this $PWD/out/ws.sh ~/bin/ws
chmod +x ~/bin/ws
(setq cce/fun-buffers
      '("*Sauron*"
        "Mentions"
        "Home Timeline"
        "Work Twitter"
        "Kickass Systems Common"
        "Cyberdelia"
        "Emacs Twitter"
        "Computer Twitter"
        "Devops Twitter"
        "Artists Twitter"
        "Alerts"))

(defun cce/make-fun-buffer-frames ()
  (interactive)
  (let ((display-buffer-alist '((".*Async.*" display-buffer-no-window)))
        (async-shell-command-buffer 'rename-buffer))
    (mapc (lambda (bname)
            (async-shell-command (format "wmctrl -s 2; emacsclient -nce '(display-buffer-same-window (get-buffer \"%s\") nil)'" bname)))
          cce/fun-buffers)))

Author: Ryan Rix

Created: 2017-03-31 Fri 15:22

Validate XHTML 1.0