PURE WAYLAND BABY

This commit is contained in:
minhtrannhat 2021-12-22 18:13:43 -05:00
parent c60ce8997c
commit 92a440ac27
No known key found for this signature in database
GPG Key ID: 894C6A5801E01CA9
3 changed files with 16 additions and 5 deletions

View File

@ -24,7 +24,19 @@
(setq fancy-splash-image "/home/minhradz/.doom.d/marivector.png")
(setq doom-theme 'doom-nord)
(defun synchronize-theme ()
(let* ((light-theme 'doom-nord-light)
(dark-theme 'doom-nord)
(start-time-light-theme 6)
(end-time-light-theme 16)
(hour (string-to-number (substring (current-time-string) 11 13)))
(next-theme (if (member hour (number-sequence start-time-light-theme end-time-light-theme))
light-theme dark-theme)))
(when (not (equal doom-theme next-theme))
(setq doom-theme next-theme)
(load-theme next-theme t))))
(run-with-timer 0 900 'synchronize-theme)
(with-eval-after-load 'doom-themes
(doom-themes-treemacs-config))
@ -152,5 +164,3 @@
(map! :leader
:desc "Insert node immediately"
"n r I" #'org-roam-node-insert-immediate)
(setq inhibit-x-resources t)

View File

@ -150,7 +150,7 @@
;;php ; perl's insecure younger brother
;;plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional
python ; beautiful is better than ugly
(python +lsp +pyright +pyenv +poetry)
;;qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs
;;raku ; the artist formerly known as perl6

View File

@ -37,7 +37,8 @@ local linters = require("lvim.lsp.null-ls.linters")
formatters.setup({
{
exe = "black",
args = {},
filetypes = { "python" },
args = { "--quiet", "--fast", "-" },
},
{
exe = "clang_format",