aboutsummaryrefslogtreecommitdiffstats
path: root/core/core-ui.el
diff options
context:
space:
mode:
Diffstat (limited to 'core/core-ui.el')
-rw-r--r--core/core-ui.el21
1 files changed, 21 insertions, 0 deletions
diff --git a/core/core-ui.el b/core/core-ui.el
new file mode 100644
index 0000000..f0190fd
--- /dev/null
+++ b/core/core-ui.el
@@ -0,0 +1,21 @@
+;; -*- lexical-binding: t; -*-
+(display-time-mode 1)
+
+(setq custom-safe-themes t
+ ring-bell-function 'ignore
+ cursor-type 'box
+ fringes-outside-margins t
+ display-time-24hr-format t ; 时间使用 24 小时制
+ display-time-day-and-date t ; 时间显示包括日期和时间
+ display-time-interval 60 ; 刷新频率
+ display-time-format "%a %b %-e %H:%M" ; 时间格式
+ scroll-step 1
+ scroll-conservatively 10000)
+
+(load-theme 'doom-Iosvkem)
+
+(when (display-graphic-p)
+ (set-frame-size (selected-frame) 143 40))
+
+(global-display-line-numbers-mode t)
+(provide 'core-ui)