doom font fix, org templates, i3 picom fix

This commit is contained in:
Joachim Nielandt 2022-06-21 11:12:37 +02:00
parent 45eac401de
commit 2a61c4f4bd
3 changed files with 19 additions and 8 deletions

View File

@ -37,13 +37,16 @@
(setq doom-theme 'doom-gruvbox)
;; Set font
(setq doom-font (font-spec :family "FiraCode Nerd Font Mono" :size 12 :weight 'semi-light)
doom-unicode-font (font-spec :family "FiraCode Nerd Font Mono" :size 12 :weight 'semi-light)
doom-variable-pitch-font (font-spec :family "Fira Sans" :size 13))
;; (setq doom-font (font-spec :family "FiraCode Nerd Font Mono" :size 12 :weight 'semi-light)
;; doom-unicode-font (font-spec :family "FiraCode Nerd Font Mono" :size 12 :weight 'semi-light)
;; doom-variable-pitch-font (font-spec :family "Fira Sans" :size 13))
(setq doom-font (font-spec :family "FiraCode Nerd Font Mono")
doom-unicode-font (font-spec :family "FiraCode Nerd Font Mono")
doom-variable-pitch-font (font-spec :family "Fira Sans"))
;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type t)
(setq display-line-numbers-type 'relative)
;; If you use `org' and don't want your org files in the default location below,
;; change `org-directory'. It must be set before org loads!
@ -102,15 +105,17 @@
("p" "person" plain (file "~/org-roam/templates/person.org")
:if-new
(file+head "%<%Y%m%d%H%M%S>-${slug}.org"
"#+name: ${title}\n#+created: %U\n\n")
"#+title: ${title}\n#+created: %U\n#+filetags: person\n\n")
:immediate-finish t
:unnarrowed t)
("m" "meeting" plain (file "~/org-roam/templates/meeting.org")
:if-new
(file+head "%<%Y%m%d%H%M%S>-${slug}.org"
"#+title: ${title}\n#+created: %U\n#+filetags: \n\n")
"#+title: ${title}\n#+created: %U\n#+filetags: meeting\n\n")
:unnarrowed t)
)))
))
; adapt indentation in org files for _all_ lines (headings and content)
(setq org-adapt-indentation t))
; enable chezmoi
(use-package chezmoi)

View File

@ -61,4 +61,5 @@
(package! typescript-mode)
; chezmoi management functions
(package! chezmoi)
; powershell support
(package! powershell)

View File

@ -442,7 +442,12 @@ exec --no-startup-id xfce4-power-manager
exec_always --no-startup-id sh ~/.fehbg
# start picom: compositor that allows, for example, transparency
# on g8 nvidia laptop, experimental-backends seems to be laggy
{{- if eq .chezmoi.hostname "nielanjo" }}
exec_always --no-startup-id picom
{{ else }}
exec_always --no-startup-id picom --experimental-backends
{{- end }}
# start greenclip, this somehow fails to start at launch (sometimes?)
# exec --no-startup-id systemctl --user start greenclip