Platform specific GUI settings #4
This commit is contained in:
parent
63b6442713
commit
e35560482b
3 changed files with 14 additions and 4 deletions
6
bundle/darwin-customs.el
Normal file
6
bundle/darwin-customs.el
Normal file
|
@ -0,0 +1,6 @@
|
|||
(if (eq system-type 'darwin)
|
||||
(add-to-list 'default-frame-alist '(font . "Hack Nerd Font Mono-13"))
|
||||
(add-to-list 'default-frame-alist '(height . 100))
|
||||
(add-to-list 'default-frame-alist '(width . 80))
|
||||
(global-hl-line-mode 'global-hl-line-highlight))
|
||||
(provide 'darwin-customs)
|
5
bundle/windows-customs.el
Normal file
5
bundle/windows-customs.el
Normal file
|
@ -0,0 +1,5 @@
|
|||
(if (eq system-type 'windows-nt)
|
||||
(add-to-list 'default-frame-alist '(font . "Hack NF-10:bold"))
|
||||
(add-to-list 'default-frame-alist '(height . 60))
|
||||
(add-to-list 'default-frame-alist '(width . 80)))
|
||||
(provide 'windows-customs)
|
7
init.el
7
init.el
|
@ -33,10 +33,9 @@
|
|||
(menu-bar-mode -1)
|
||||
(tool-bar-mode -1)
|
||||
(scroll-bar-mode -1)
|
||||
(global-hl-line-mode 'global-hl-line-highlight)
|
||||
(blink-cursor-mode -1)
|
||||
(add-to-list 'default-frame-alist '(font . "Hack NF-10:bold"))
|
||||
(add-to-list 'default-frame-alist '(height . 60))
|
||||
(add-to-list 'default-frame-alist '(width . 80))
|
||||
(setq visible-bell 1)
|
||||
(prefer-coding-system 'utf-8)
|
||||
|
||||
(require 'windows-customs)
|
||||
(require 'darwin-customs)
|
||||
|
|
Loading…
Add table
Reference in a new issue