|
|
|
|
@ -105,13 +105,19 @@ |
|
|
|
|
later on for dealing with bold weight. To avoid flickering one |
|
|
|
|
should also set the font in .Xresources |
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
|
(set-face-font 'default "-xos4-hackminus-medium-r-normal--20-200-72-72-c-100-ISO10646-1") |
|
|
|
|
(set-face-font 'fixed-pitch "-xos4-hackminus-medium-r-normal--20-200-72-72-c-100-ISO10646-1") |
|
|
|
|
(set-face-font 'fixed-pitch-serif "-xos4-hackminus-medium-r-normal--20-200-72-72-c-100-ISO10646-1") |
|
|
|
|
(set-face-font 'variable-pitch "-xos4-hackminus-medium-r-normal--20-200-72-72-c-100-ISO10646-1") |
|
|
|
|
#+end_src |
|
|
|
|
(set-face-font 'default "Hackminus") |
|
|
|
|
(set-face-font 'fixed-pitch "Hackminus") |
|
|
|
|
(set-face-font 'fixed-pitch-serif "Hackminus") |
|
|
|
|
(set-face-font 'variable-pitch "Hackminus") |
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
* Global settings |
|
|
|
|
** server name |
|
|
|
|
I prefer to keep one server for each KDE activity, so |
|
|
|
|
set the server name to be the name of the current activity |
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
|
; (setq server-name (kde-current-activity-name)) |
|
|
|
|
#+end_src |
|
|
|
|
** Global helper functions |
|
|
|
|
This is a helper function used to set several global keys given in |
|
|
|
|
provided as a parameter in ~binding-alist~ |
|
|
|
|
@ -134,7 +140,7 @@ |
|
|
|
|
(set-face-attribute face nil :weight 'normal) |
|
|
|
|
(set-face-attribute face nil :slant 'normal)) |
|
|
|
|
(face-list)) |
|
|
|
|
(set-face-font 'default "-xos4-hackminus-medium-r-normal--20-200-72-72-c-100-ISO10646-1")) |
|
|
|
|
(set-face-font 'default "Hackminus")) |
|
|
|
|
#+end_src |
|
|
|
|
This function saves the current buffer after the specified amount |
|
|
|
|
of idle time, unless something calls it again and then the timer |
|
|
|
|
|