Add internal border to Emacs frame

This commit is contained in:
Tom Willemse 2016-09-18 00:03:16 +02:00
parent c9c1d77bc5
commit 6be84a24f4
2 changed files with 22 additions and 0 deletions

View file

@ -183,6 +183,16 @@ To start off, first I need to enable lexical binding.
(add-to-list 'default-frame-alist '(font . "Fantasque Sans Mono-13"))
#+END_SRC
* Internal border
For aesthetics I like to have a thick border on the inside of my
Emacs window. I have the same border in URxvt, but I haven't found
out how to add it to Conkeror yet.
#+BEGIN_SRC emacs-lisp
(add-to-list 'default-frame-alist '(internal-border-width . 15))
#+END_SRC
* Menu bar
I don't use the menu bar, so it just takes up space.

12
mpd/usr/bin/mpd-random-albums Executable file
View file

@ -0,0 +1,12 @@
#!/usr/local/bin/scsh -s
!#
(define (add-album album)
(run (mpc findadd album ,album)))
(run (mpc clear))
(for-each (lambda (album)
(run (mpc findadd album ,album)))
(run/strings (pipe (mpc list album)
(shuf))))