summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2022-01-10 23:44:45 -0600
committerCase Duckworth2022-01-10 23:44:45 -0600
commit3379638199bf15bb1439209c1d5ace8daa560cfd (patch)
tree6aa3315e26d9d6c67dd10c019ce0acb53bc92f6f /init.el
parentAdd a few packages and .. stuff (diff)
downloademacs-3379638199bf15bb1439209c1d5ace8daa560cfd.tar.gz
emacs-3379638199bf15bb1439209c1d5ace8daa560cfd.zip
Change mode-line and tab-bar
Diffstat (limited to 'init.el')
-rw-r--r--init.el52
1 files changed, 31 insertions, 21 deletions
diff --git a/init.el b/init.el index f4d6533..f0a93a6 100644 --- a/init.el +++ b/init.el
@@ -1278,27 +1278,32 @@ See also `crux-reopen-as-root-mode'."
1278(setup (:straight (simple-modeline 1278(setup (:straight (simple-modeline
1279 :fork (:host github :repo "duckwork/simple-modeline"))) 1279 :fork (:host github :repo "duckwork/simple-modeline")))
1280 (:require +modeline) 1280 (:require +modeline)
1281 (:option simple-modeline-segments `((;; left 1281 (:option simple-modeline-segments
1282 +modeline-ace-window-display 1282 `(( ; left
1283 +modeline-modified 1283 +modeline-ace-window-display
1284 ,(+modeline-concat 1284 +modeline-modified
1285 '(+modeline-god-mode 1285 +modeline-buffer-name
1286 +modeline-reading-mode 1286 (lambda () (+modeline-vc ": "))
1287 +modeline-narrowed) 1287 ,(+modeline-concat
1288 ",") 1288 '(+modeline-minions
1289 +modeline-buffer-name 1289 +modeline-major-mode))
1290 +modeline-position 1290 +modeline-anzu
1291 +modeline-anzu 1291 )
1292 ) 1292 ( ; right
1293 (;; right 1293 (lambda ()
1294 +modeline-track 1294 (unless +tab-bar-misc-info-mode
1295 +modeline-vc 1295 (+modeline-concat
1296 simple-modeline-segment-misc-info 1296 '(+modeline-track
1297 simple-modeline-segment-process 1297 simple-modeline-segment-misc-info))))
1298 +modeline-text-scale 1298
1299 +modeline-minions 1299 simple-modeline-segment-process
1300 +modeline-major-mode 1300 +modeline-text-scale
1301 ))) 1301 ,(+modeline-concat
1302 '(+modeline-god-mode
1303 +modeline-reading-mode
1304 +modeline-narrowed)
1305 ",")
1306 +modeline-position)))
1302 (simple-modeline-mode +1)) 1307 (simple-modeline-mode +1))
1303 1308
1304(setup (:straight smartscan) 1309(setup (:straight smartscan)
@@ -1469,3 +1474,8 @@ See also `crux-reopen-as-root-mode'."
1469 (:require +zzz-to-char) 1474 (:require +zzz-to-char)
1470 (:option zzz-to-char-reach 1024) 1475 (:option zzz-to-char-reach 1024)
1471 (:global "M-z" #'+zzz-to-char)) 1476 (:global "M-z" #'+zzz-to-char))
1477
1478(setup tab-bar
1479 (:require +tab-bar)
1480 (tab-bar-mode +1)
1481 (+tab-bar-misc-info-mode +1))