Emacs.verticalScrollBars: off
Emacs.cursorBlink: off
Emacs.FontBackend: ftcrhb,x
-! Emacs.FontBackend: xft,x
-! Emacs.font: Inconsolata-18
-! Emacs.font: Inconsolata-16.5
Emacs.font: Source Code Pro Medium-10.5
-!Emacs.font: Source Code Pro Medium-14
-! Emacs.font: Source Code Pro Medium:size=14
-! Emacs.font: Drafting Mono:size=18
+! other sizes: 13, 14
*scrollTtyOutput: false
*saveLines: 100000
-!*faceName: Inconsolata
-!*faceSize: 18
-!*faceSize: 16.5
-!*renderFont: true
-!*faceName: Source Code Pro
-!*faceSize: 10
-!*renderFont: true
-*VT100.utf8Fonts.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
+*renderFont: true
+*faceName: Source Code Pro Medium
+*faceSize: 10.5
+! other sizes: 13, 14
+!*VT100.utf8Fonts.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
!*VT100.utf8Fonts.font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
!*VT100.utf8Fonts.font: -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1
set $mod3 Mod3
# window title and bar font (unless specified differently in 'bar {}'
-# font pango:Source Code Pro 9.5
-font pango:Inconsolata 11.5
+#font pango:Source Code Pro 9.5
+font pango:Source Code Pro Medium 10.5
# font -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1
# font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
#bindsym --release $mod+Shift+x exec xkill
# launcher and pass
-bindsym $mod+space exec dmenu_run
-bindsym $mod+backslash exec passmenu --type
+bindsym $mod+space exec dmenu_run -fn 'Source Code Pro Medium-10.5'
+bindsym $mod+backslash exec passmenu --type -fn 'Source Code Pro Medium-10.5'
# brightness
bindsym $mod+apostrophe exec dmenu-light # brightness chooser
(defalias 'yes-or-no-p #'y-or-n-p)
(when (display-graphic-p)
+ ;; (set-frame-font "Source Code Pro-10.5:weight=medium" nil t)
+ ;; (set-frame-font "FreeSans" nil t)
(set-fontset-font t 'arabic "Vazir"))
-;; ;; (set-frame-font "Drafting Mono-14:weight=light" nil t)
-;; (set-frame-font "Drafting Mono:pixelsize=16" nil t)
-;; (set-face-attribute 'bold nil :weight 'semi-bold)
;;;; Elisp-level customizations
(when (display-graphic-p)
(with-eval-after-load 'faces
(let ((grey "#e7e7e7"))
- (set-face-attribute 'fixed-pitch nil :family "Source Code Pro")
+ (set-face-attribute 'fixed-pitch nil
+ :font "Source Code Pro"
+ :weight 'medium)
(set-face-attribute 'mode-line nil
:background grey
:inherit 'fixed-pitch))))
#!/bin/sh
cur=$(light -G)
-val=$(dmenu -p "brightness ($cur):" < /dev/null)
+val=$(dmenu -fn 'Source Code Pro Medium-10.5' -p "brightness ($cur):" < /dev/null)
[ -n "$val" ] && light -S "$val"
#!/bin/sh
cur=$(pamixer --get-volume)
-val=$(dmenu -p "volume ($cur):" < /dev/null)
+val=$(dmenu -fn 'Source Code Pro Medium-10.5' -p "volume ($cur):" < /dev/null)
[ -n "$val" ] && pamixer --set-volume "$val"