\f
;;; whoami
-(setq ;; user-full-name "bandali"
+(setq user-full-name "Amin Bandali"
user-mail-address "bandali@gnu.org")
\f
;; (package-generate-description-file d "refinery-theme-pkg.el"))
(run-with-idle-timer 0.01 nil #'require 'package)
(with-eval-after-load 'package
- (csetq
- ;; package-archives
- ;; `(,@package-archives
- ;; ("bndl" . "https://p.bndl.org/elpa/"))
- package-load-list
- '(;; GNU ELPA
- (debbugs "0.29")
- (delight "1.7")
- (emms "7.7")
- (expand-region "0.11.0")
- (rt-liberation "2.4")
- (yasnippet "0.14.0")))
+ ;; (csetq
+ ;; ;; package-archives
+ ;; ;; `(,@package-archives
+ ;; ;; ("bndl" . "https://p.bndl.org/elpa/"))
+ ;; package-load-list
+ ;; '(;; GNU ELPA
+ ;; (debbugs "0.29")
+ ;; (delight "1.7")
+ ;; (emms "7.7")
+ ;; (expand-region "0.11.0")
+ ;; (rt-liberation "2.4")
+ ;; (yasnippet "0.14.0")))
(package-initialize))
(csetq package-archive-upload-base "/ssh:caffeine:~/www/p/elpa")
display-time-mail-icon '(image :type xpm
:file "gnus/gnus-pointer.xpm"
:ascent center)
- display-time-use-mail-icon t)
+ display-time-use-mail-icon t
+ zoneinfo-style-world-list
+ `(,@zoneinfo-style-world-list
+ ("Etc/UTC" "UTC")
+ ("Asia/Tehran" "Tehran")
+ ("Australia/Melbourne" "Melbourne")))
(display-time-mode))
(run-with-idle-timer 0.1 nil #'require 'battery)
(require 'winner)
(winner-mode 1)
+(run-with-idle-timer 0.1 nil #'require 'windmove)
+(with-eval-after-load 'windmove
+ (csetq windmove-wrap-around t)
+ (global-set-key (kbd "M-H") #'windmove-left)
+ (global-set-key (kbd "M-L") #'windmove-right)
+ (global-set-key (kbd "M-K") #'windmove-up)
+ (global-set-key (kbd "M-J") #'windmove-down))
+
(with-eval-after-load 'compile
;; don't display *compilation* buffer on success. based on
;; https://stackoverflow.com/a/17788551, with changes to use `cl-letf'
;; info
(with-eval-after-load 'info
- (add-to-list
- 'Info-directory-list
- (expand-file-name
- (convert-standard-filename "info/") source-directory)))
+ (csetq
+ Info-directory-list
+ `(,@Info-directory-list
+ ,(expand-file-name
+ (convert-standard-filename "info/") source-directory)
+ "/usr/share/info/")))
;; faces
(when (display-graphic-p)
;; `(;; :line-width -1
;; :style released-button))
)
+ ;; (set-face-attribute 'fixed-pitch nil :family "Source Code Pro")
+ (set-face-attribute 'fixed-pitch nil :family "Inconsolata")
(set-face-attribute 'mode-line nil
:background grey ;; :box box
- )
+ :inherit 'fixed-pitch)
;; (set-face-attribute 'mode-line-inactive nil
;; :background darker-grey :box box)
)))