doing a thing

This commit is contained in:
2025-12-14 08:36:50 -08:00
parent b04cbd578f
commit d46b62c623
4 changed files with 51 additions and 38 deletions

View File

@@ -5,8 +5,8 @@ TERM = "xterm-256color"
size = 16
[font.normal]
family = "Monospace"
style = "Regular"
family = "Victor Mono"
style = "Medium Italic"
[font.offset]
x = 0

View File

@@ -28,7 +28,7 @@
(setq vterm-shell "/bin/zsh")
;; Theme & background color
(load-theme 'doom-earl-grey t)
(load-theme 'doom-gruvbox t)
;;(set-face-background 'default "#E8D8B0")
;; Lockfiles
@@ -36,15 +36,26 @@
;; Remove line numbers from specific modes
(dolist (mode '(org-mode-hook
term-mode-hook
shell-mode-hook
eshell-mode-hook))
(add-hook mode (lambda () (display-line-numbers-mode 0))))
;; Font configuration
(set-face-attribute 'default nil :font "Monospace" :height 170)
(set-face-attribute 'fixed-pitch nil :font "Monospace" :height 1.0)
(set-face-attribute 'variable-pitch nil :font "ETBembo" :height 1.0)
;; Font Config
(set-face-attribute 'default nil
:family "Victor Mono"
:weight 'medium
:slant 'italic
:height 170)
(set-face-attribute 'fixed-pitch nil
:family "Victor Mono"
:weight 'medium
:slant 'italic
:height 1.0)
(set-face-attribute 'variable-pitch nil
:family "Victor Mono"
:weight 'medium
:slant 'italic
:height 1.0)
(defun opal/org-font-setup ()
;; Replace list hyphen with dot
@@ -52,8 +63,7 @@
'(("^ *\\([-]\\) "
(0 (prog1 () (compose-region (match-beginning 1) (match-end 1)
""))))))
;; Set faces for heading levels
;; Set faces for heading levels - all Victor Mono now
(dolist (face '((org-level-1 . 1.2)
(org-level-2 . 1.1)
(org-level-3 . 1.05)
@@ -62,31 +72,33 @@
(org-level-6 . 1.1)
(org-level-7 . 1.1)
(org-level-8 . 1.1)))
(set-face-attribute (car face) nil :font "ETBembo" :weight 'regular :height (cdr face)))
(set-face-attribute (car face) nil
:family "Victor Mono"
:weight 'medium
:slant 'italic
:height (cdr face)))
;; Set properties and scheduling faces to inherit variable-pitch and be smaller
;; Comment out these lines because mixed-pitch-mode will handle these.
(set-face-attribute 'org-property-value nil :inherit 'variable-pitch :height 150)
(set-face-attribute 'org-special-keyword nil :inherit 'variable-pitch :height 150)
(set-face-attribute 'org-scheduled-today nil :inherit 'variable-pitch :height 150)
(set-face-attribute 'org-drawer nil :inherit 'variable-pitch :height 150)
(set-face-attribute 'org-date nil :inherit 'variable-pitch :height 150)
;; Set properties and scheduling faces
(set-face-attribute 'org-property-value nil :inherit 'default :height 150)
(set-face-attribute 'org-special-keyword nil :inherit 'default :height 150)
(set-face-attribute 'org-scheduled-today nil :inherit 'default :height 150)
(set-face-attribute 'org-drawer nil :inherit 'default :height 150)
(set-face-attribute 'org-date nil :inherit 'default :height 150)
;; Ensure that all agenda items use fixed-pitch font
;; Ensure that all agenda items inherit default
(custom-set-faces
'(org-agenda-date-today ((t (:inherit fixed-pitch :weight bold))))
'(org-agenda-date ((t (:inherit fixed-pitch))))
'(org-agenda-date-weekend ((t (:inherit fixed-pitch :weight bold))))
'(org-agenda-done ((t (:inherit fixed-pitch :strike-through t))))
'(org-agenda-dimmed-todo-face ((t (:inherit fixed-pitch))))
'(org-agenda-structure ((t (:inherit fixed-pitch))))
'(org-scheduled ((t (:inherit fixed-pitch))))
'(org-scheduled-today ((t (:inherit fixed-pitch))))
'(org-scheduled-previously ((t (:inherit fixed-pitch))))
'(org-upcoming-deadline ((t (:inherit fixed-pitch))))
'(org-deadline-announce ((t (:inherit fixed-pitch))))
'(org-time-grid ((t (:inherit fixed-pitch)))))
)
'(org-agenda-date-today ((t (:inherit default :weight bold))))
'(org-agenda-date ((t (:inherit default))))
'(org-agenda-date-weekend ((t (:inherit default :weight bold))))
'(org-agenda-done ((t (:inherit default :strike-through t))))
'(org-agenda-dimmed-todo-face ((t (:inherit default))))
'(org-agenda-structure ((t (:inherit default))))
'(org-scheduled ((t (:inherit default))))
'(org-scheduled-today ((t (:inherit default))))
'(org-scheduled-previously ((t (:inherit default))))
'(org-upcoming-deadline ((t (:inherit default))))
'(org-deadline-announce ((t (:inherit default))))
'(org-time-grid ((t (:inherit default))))))
(defun opal/org-mode-setup ()
(org-indent-mode)

View File

@@ -1,4 +1,4 @@
max-gamma = 100
max-gamma = 200
profile {
time = 7:00
@@ -7,5 +7,5 @@ profile {
profile {
time = 18:00
temperature = 2000
temperature = 3000
}

View File

@@ -17,19 +17,20 @@ video/vnd.avi=mpv.desktop;
[Default Applications]
video/mp4=mpv.desktop
video/quicktime=mpv.desktop
text/html=librewolf.desktop
text/html=brave-browser.desktop
application/xhtml+xml=librewolf.desktop
application/xml=librewolf.desktop
text/xml=librewolf.desktop
text/xsl=librewolf.desktop
application/rss+xml=librewolf.desktop
application/atom+xml=librewolf.desktop
x-scheme-handler/http=librewolf.desktop
x-scheme-handler/https=librewolf.desktop
x-scheme-handler/http=brave-browser.desktop
x-scheme-handler/https=brave-browser.desktop
x-scheme-handler/ftp=librewolf.desktop
x-scheme-handler/chrome=librewolf.desktop
x-scheme-handler/about=librewolf.desktop
x-scheme-handler/about=brave-browser.desktop
x-scheme-handler/mailto=librewolf.desktop
image/jpeg=userapp-lximage-qt-KLEC62.desktop
application/x-zerosize=userapp-lximage-qt-KLEC62.desktop
application/pdf=org.pwmt.zathura-pdf-poppler.desktop
x-scheme-handler/unknown=brave-browser.desktop