diff options
author | Thanos Apollo <[email protected]> | 2024-01-09 11:38:43 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-01-09 11:39:04 +0200 |
commit | 79e03b5aab805083fc7d92f15bace86ff1e9223e (patch) | |
tree | 0bbb53bcc0fd9a6b07bd0120412c440c780edf99 | |
parent | cf3150cd2ca8c8e2677bf5ffd4f72ac67936a1da (diff) |
emacs:(org) use jinx
-rw-r--r-- | .config/qtile/config.py | 18 | ||||
-rw-r--r-- | .emacs.d/modules/thanos-org.el | 5 | ||||
-rw-r--r-- | .emacs.d/modules/thanos-packages.el | 12 |
3 files changed, 22 insertions, 13 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py index c698120..f5f2605 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -7,7 +7,6 @@ from libqtile.dgroups import simple_key_binder from libqtile.config import Key, KeyChord from libqtile.command import lazy from libqtile.config import Click, Drag -from colors import dracula from colors import monokai hostname = socket.gethostname() @@ -79,7 +78,7 @@ def init_widgets_list(): padding=3, margin=4, borderwidth=1, - active=monokai["cyan"], + active=monokai["orange"], inactive=monokai["grey"], rounded=False, highlight_method="line", @@ -88,7 +87,6 @@ def init_widgets_list(): widget.CurrentLayout( font="Noto Sans Bold", foreground=monokai["fg"], - # background="#5B4B8A", background=monokai["magenta"],), widget.Spacer(length=5), widget.WindowName( @@ -105,22 +103,22 @@ def init_widgets_list(): fontsize=15, fmt='{} ', background=monokai["bg"], - foreground=monokai['orange'], + foreground=monokai['yellow'], font="JetBrains Mono", margin=10,), widget.Spacer(length=7,padding=10,), widget.Image( - filename="~/.config/qtile/ram2.png", + filename="~/.config/qtile/pram2.png", scale=True,), widget.Memory( measure_mem="G", fontsize=15, - foreground=monokai["cyan"], + foreground=monokai["dark-cyan"], background=monokai["bg"], font='JetBrains Mono Bold',), widget.MemoryGraph( type='box', - graph_color=monokai["cyan"], + graph_color=monokai["yellow"], foreground=monokai["fg"], background=monokai["bg"],), widget.Spacer(length=7), @@ -129,11 +127,11 @@ def init_widgets_list(): threshold=50, fontsize=15, font='JetBrains Mono Bold', - foreground=monokai["cyan"], + foreground=monokai["dark-cyan"], background=monokai["bg"],), widget.CPUGraph( type='box', - graph_color=monokai["cyan"], + graph_color=monokai["yellow"], background=monokai["bg"],), widget.Spacer(length=5), widget.TextBox( @@ -145,7 +143,7 @@ def init_widgets_list(): fontsize=18), widget.Clock( font='JetBrains Mono Bold', - foreground=monokai["cyan"], + foreground=monokai["violet"], background=monokai["bg"], fontsize=16, format="%A %d/%m | %H:%M"), diff --git a/.emacs.d/modules/thanos-org.el b/.emacs.d/modules/thanos-org.el index 3e7d9b7..ad29a52 100644 --- a/.emacs.d/modules/thanos-org.el +++ b/.emacs.d/modules/thanos-org.el @@ -240,5 +240,10 @@ (setf org-download-screenshot-method "scrot --select %s") +;; Jinx +(require 'jinx) +(add-hook 'org-mode-hook #'jinx-mode) +(define-key jinx-mode-map (kbd "M-'") #'jinx-correct) + (provide 'thanos-org) ;;; thanos-org.el ends here diff --git a/.emacs.d/modules/thanos-packages.el b/.emacs.d/modules/thanos-packages.el index 342843c..c27457a 100644 --- a/.emacs.d/modules/thanos-packages.el +++ b/.emacs.d/modules/thanos-packages.el @@ -32,7 +32,9 @@ (require 'package) ;; Install straight.el + (defvar bootstrap-version) + (let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" @@ -59,14 +61,18 @@ visual-fill-column rainbow-delimiters eshell-git-prompt helpful password-store json-mode ement magit corfu orderless consult pdf-tools markdown-mode eat doom-themes org-auto-tangle sly eat nov eshell-syntax-highlighting emojify flycheck vterm doom-modeline - telega transmission gptel nerd-icons-dired sudo-edit mu4e-alert magit-todos) - "Packages to install.") + telega transmission gptel nerd-icons-dired sudo-edit mu4e-alert magit-todos jinx) + "List of packages to install.") + +(setf straight-recipe-overrides + '((transmission :type git :host nil :repo "[email protected]:/var/git/transmission") + (yeetube :type git :host nil :repo "[email protected]:/var/git/yeetube"))) (defvar thanos/custom-packages '((yeetube :local-repo "~/Dev/emacs-lisp/yeetube") (gnosis :local-repo "~/Dev/emacs-lisp/gnosis") (copilot :host github :repo "zerolfx/copilot.el" :files ("dist" "*.el"))) - "Pacakges I'm working on locally.") + "Custom package recipes.") ;; Get packages via straight (cl-loop for package in (append thanos/custom-packages thanos/packages) |