doom font fix, org templates, i3 picom fix
This commit is contained in:
parent
45eac401de
commit
2a61c4f4bd
@ -37,13 +37,16 @@
|
|||||||
(setq doom-theme 'doom-gruvbox)
|
(setq doom-theme 'doom-gruvbox)
|
||||||
|
|
||||||
;; Set font
|
;; Set font
|
||||||
(setq doom-font (font-spec :family "FiraCode Nerd Font Mono" :size 12 :weight 'semi-light)
|
;; (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-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))
|
;; 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
|
;; 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'.
|
;; 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,
|
;; 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!
|
;; change `org-directory'. It must be set before org loads!
|
||||||
@ -102,15 +105,17 @@
|
|||||||
("p" "person" plain (file "~/org-roam/templates/person.org")
|
("p" "person" plain (file "~/org-roam/templates/person.org")
|
||||||
:if-new
|
:if-new
|
||||||
(file+head "%<%Y%m%d%H%M%S>-${slug}.org"
|
(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
|
:immediate-finish t
|
||||||
:unnarrowed t)
|
:unnarrowed t)
|
||||||
("m" "meeting" plain (file "~/org-roam/templates/meeting.org")
|
("m" "meeting" plain (file "~/org-roam/templates/meeting.org")
|
||||||
:if-new
|
:if-new
|
||||||
(file+head "%<%Y%m%d%H%M%S>-${slug}.org"
|
(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)
|
:unnarrowed t)
|
||||||
)))
|
))
|
||||||
|
; adapt indentation in org files for _all_ lines (headings and content)
|
||||||
|
(setq org-adapt-indentation t))
|
||||||
|
|
||||||
; enable chezmoi
|
; enable chezmoi
|
||||||
(use-package chezmoi)
|
(use-package chezmoi)
|
||||||
|
|||||||
@ -61,4 +61,5 @@
|
|||||||
(package! typescript-mode)
|
(package! typescript-mode)
|
||||||
; chezmoi management functions
|
; chezmoi management functions
|
||||||
(package! chezmoi)
|
(package! chezmoi)
|
||||||
|
; powershell support
|
||||||
|
(package! powershell)
|
||||||
|
|||||||
@ -442,7 +442,12 @@ exec --no-startup-id xfce4-power-manager
|
|||||||
exec_always --no-startup-id sh ~/.fehbg
|
exec_always --no-startup-id sh ~/.fehbg
|
||||||
|
|
||||||
# start picom: compositor that allows, for example, transparency
|
# 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
|
exec_always --no-startup-id picom --experimental-backends
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
# start greenclip, this somehow fails to start at launch (sometimes?)
|
# start greenclip, this somehow fails to start at launch (sometimes?)
|
||||||
# exec --no-startup-id systemctl --user start greenclip
|
# exec --no-startup-id systemctl --user start greenclip
|
||||||
Loading…
Reference in New Issue
Block a user