From 489b75855484a14f280dfcae943f11ce01a1b8cb Mon Sep 17 00:00:00 2001 From: qvalentin Date: Mon, 6 Dec 2021 14:51:59 +0100 Subject: [PATCH 1/3] gitignore --- .doom.d/init.el | 2 +- .gitignore | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.doom.d/init.el b/.doom.d/init.el index 60f7f2d..1bda616 100644 --- a/.doom.d/init.el +++ b/.doom.d/init.el @@ -139,7 +139,7 @@ ;;(java +meghanada) ; the poster child for carpal tunnel syndrome ;;javascript ; all(hope(abandon(ye(who(enter(here)))))) ;;julia ; a better, faster MATLAB - ;;kotlin ; a better, slicker Java(Script) + (kotlin +lsp) ; a better, slicker Java(Script) ;;latex ; writing papers in Emacs has never been so fun ;;lean ; for folks with too much to prove ;;ledger ; be audit you can be diff --git a/.gitignore b/.gitignore index 384ea23..54878b3 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ !.config/xmonad !.config/xmobar/* !.config/fish/* +.config/xmobar/xmobarrc From 748452a0f4dd8bee8cfbc532a22ae92050b2fce4 Mon Sep 17 00:00:00 2001 From: qvalentin Date: Mon, 6 Dec 2021 14:53:05 +0100 Subject: [PATCH 2/3] gitignore --- .config/xmobar/xmobarrc | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .config/xmobar/xmobarrc diff --git a/.config/xmobar/xmobarrc b/.config/xmobar/xmobarrc deleted file mode 100644 index 5d60da2..0000000 --- a/.config/xmobar/xmobarrc +++ /dev/null @@ -1,35 +0,0 @@ -Config { overrideRedirect = False - , font = "xft:FiraCode Nerd Font:size=10", - additionalFonts = [ "xft:FiraCode Nerd Font:bold:pixelsize=19:antialias=true:hinting=true" - , "xft:FiraCode Nerd Font:bold:pixelsize=25:antialias=true:hinting=true" - , "xft:FiraCode Nerd Font:bold:pixelsize=20:antialias=true:hinting=true" ] - - , bgColor = "#05151A" - , fgColor = "#c8c1c1" - , position = TopW L 100 - , iconRoot = ".config/xmobar/xpm/" - , commands = [Run Cpu - [ "--template", "%" - ,"-w", "2" - ] 10 - , Run Alsa "default" "Master" - [ "--template", "" - , "--suffix" , "True" - , "--" - , "--on", "" - ] - , Run Memory ["--template", ""] 10 - , Run Date "%a %Y-%m-%d%H:%M" "date" 10 - , Run XMonadLog - , Run Com "get_music_info" [] "" 10 - , Run Com "wttr" [] "" 360 - ] - , sepChar = "%" - , alignSep = "}{" - , template = "  %XMonadLog% }{\ - \%get_music_info%\ - \ %alsa:default:Master%\ - \﬙ %cpu%\ - \ %memory%\ - \%date%\ - \%wttr%" From 6ce7df00d1673a9249425fb2615cca648916d95b Mon Sep 17 00:00:00 2001 From: qvalentin Date: Sun, 19 Dec 2021 14:56:16 +0100 Subject: [PATCH 3/3] (doom) theme, use magit for org-mode pdf creation --- .doom.d/config.el | 13 ++++++++++++- .doom.d/custom.el | 2 +- .doom.d/packages.el | 2 ++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.doom.d/config.el b/.doom.d/config.el index ec4aa8f..116f594 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -25,7 +25,7 @@ ;; There are two ways to load a theme. Both assume the theme is installed and ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: -(setq doom-theme 'doom-henna) +(setq doom-theme 'ewal-doom-one) ;; 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! @@ -72,3 +72,14 @@ (map! :leader :desc "Magit Push" "g P" #'magit-push-current-to-pushremote) + + +(require 'ox-latex) +(add-to-list 'org-latex-packages-alist '("" "minted")) +(add-to-list 'org-latex-packages-alist '("" "listingsutf8")) +(setq org-latex-listings 'minted) + +(setq org-latex-pdf-process + '("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" + "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" + "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f")) diff --git a/.doom.d/custom.el b/.doom.d/custom.el index be9d5fe..549ce38 100644 --- a/.doom.d/custom.el +++ b/.doom.d/custom.el @@ -6,7 +6,7 @@ '(ansi-color-names-vector ["#282828" "#fb4934" "#b8bb26" "#fabd2f" "#83a598" "#cc241d" "#8ec07c" "#ebdbb2"]) '(custom-safe-themes - '("6c531d6c3dbc344045af7829a3a20a09929e6c41d7a7278963f7d3215139f6a7" default)) + '("8a379e7ac3a57e64de672dd744d4730b3bdb88ae328e8106f95cd81cbd44e0b6" "6c531d6c3dbc344045af7829a3a20a09929e6c41d7a7278963f7d3215139f6a7" default)) '(exwm-floating-border-color "#504945") '(fci-rule-color "#7c6f64") '(highlight-tail-colors ((("#363627" "#363627") . 0) (("#323730" "#323730") . 20))) diff --git a/.doom.d/packages.el b/.doom.d/packages.el index 3892a08..d903532 100644 --- a/.doom.d/packages.el +++ b/.doom.d/packages.el @@ -49,3 +49,5 @@ ;; ...Or *all* packages (NOT RECOMMENDED; will likely break things) ;(unpin! t) (package! exec-path-from-shell) +(package! ewal) +(package! ewal-doom-themes)