Add internal border to Emacs frame
This commit is contained in:
parent
c9c1d77bc5
commit
6be84a24f4
2 changed files with 22 additions and 0 deletions
|
@ -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"))
|
(add-to-list 'default-frame-alist '(font . "Fantasque Sans Mono-13"))
|
||||||
#+END_SRC
|
#+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
|
* Menu bar
|
||||||
|
|
||||||
I don't use the menu bar, so it just takes up space.
|
I don't use the menu bar, so it just takes up space.
|
||||||
|
|
12
mpd/usr/bin/mpd-random-albums
Executable file
12
mpd/usr/bin/mpd-random-albums
Executable 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))))
|
Loading…
Reference in a new issue