1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Compare commits

...

3 Commits

5 changed files with 25 additions and 22 deletions

View File

@ -52,6 +52,7 @@ A repository of my personal configuration files.
- [[https://github.com/junegunn/fzf][fzf]]
- [[https://gnupg.org/][gnupg]]
- [[https://golang.org/][golang]]
- [[https://graphviz.org/][graphviz]]
- [[https://imagemagick.org/index.php][ImageMagick]]
- [[http://isync.sourceforge.net/mbsync.html][isync]]
- [[https://github.com/canonical/lightdm][LightDM]]

View File

@ -1,23 +1,31 @@
* Table of Contents :TOC_3:noexport:
- [[#general-settings][General settings]]
- [[#variable-font-sizes-depending-on-screen-width-set-font-to-jetbrains-mono][Variable font sizes depending on screen width. Set font to JetBrains Mono]]
- [[#theme-is-set-to-doom-molokai-from-doom-themes][Theme is set to doom-molokai from doom-themes]]
- [[#fetch-password-from-authinfo][Fetch password from authinfo]]
- [[#projectile][Projectile]]
- [[#set-default-paths-projectile-should-search][Set default paths projectile should search]]
- [[#circe][Circe]]
- [[#connect-to-znc-passwords-are-gotten-from-password-store][Connect to ZNC. Passwords are gotten from Password Store.]]
- [[#org-mode][Org mode]]
- [[#general-settings-1][General settings]]
- [[#when-moving-entries-up-and-down-in-the-buffer-use-j-and-k-instead-of--and-][When moving entries up and down in the buffer use `j` and `k` instead of `↑` and `↓`]]
- [[#auto-save-org-mode-files][Auto save org-mode files]]
- [[#org-protocol-capture-html][org-protocol-capture-html]]
- [[#require-package][Require package]]
- [[#org-capture-templates][org-capture-templates]]
- [[#capture-web-data-for-org-protocol-capture-html][Capture web data for org-protocol-capture-html]]
- [[#mu4e][mu4e]]
- [[#setup-mu4e-with-multiple-profiles][Setup mu4e with multiple profiles]]
- [[#elfeed][Elfeed]]
- [[#elfeed-and-elfeed-protocol-to-read-feeds][elfeed and elfeed-protocol to read feeds.]]
- [[#elfeed-org][elfeed-org]]
- [[#elfeed-goodies][elfeed-goodies]]
- [[#spelling][Spelling]]
- [[#set-dictionaries-for-languages-i-use][Set dictionaries for languages I use]]
* General settings
[[https://raw.githubusercontent.com/hlissner/emacs-doom-themes/screenshots/doom-molokai.png][doom-molokai screenshot]]
Variable font sizes depending on screen width. Set font to [[https://www.jetbrains.com/lp/mono/][JetBrains Mono]]
** Variable font sizes depending on screen width. Set font to [[https://www.jetbrains.com/lp/mono/][JetBrains Mono]]
#+BEGIN_SRC emacs-lisp
(when window-system
(if (> (x-display-pixel-width) 2560)
@ -25,12 +33,11 @@ Variable font sizes depending on screen width. Set font to [[https://www.jetbrai
(setq doom-font (font-spec :family "JetBrains Mono" :size 16))))
#+END_SRC
Theme is set to doom-molokai from [[https://github.com/hlissner/emacs-doom-themes][doom-themes]]
** Theme is set to doom-molokai from [[https://github.com/hlissner/emacs-doom-themes][doom-themes]]
#+BEGIN_SRC emacs-lisp
(setq doom-theme 'doom-molokai)
#+END_SRC
Fetch password from authinfo
** Fetch password from authinfo
#+BEGIN_SRC emacs-lisp
(defun my-fetch-password (&rest params)
(require 'auth-source)
@ -43,17 +50,14 @@ Fetch password from authinfo
(error "Password not found for %S" params))))
#+END_SRC
* [[https://www.projectile.mx/en/latest/][Projectile]]
Set default paths [[https://www.projectile.mx/en/latest/][projectile]] should search
** Set default paths [[https://www.projectile.mx/en/latest/][projectile]] should search
#+BEGIN_SRC emacs-lisp
(use-package! projectile
:config
(setq projectile-project-search-path '("~/devel/personal/" "~/devel/andthensome/" "~/Documents/" "~/dotfiles" "~/private-dotfiles"))) ; Default paths
#+END_SRC
* [[https://github.com/jorgenschaefer/circe][Circe]]
Connect to [[https://wiki.znc.in/ZNC][ZNC]]. Passwords are gotten from [[https://www.passwordstore.org/][Password Store]].
** Connect to [[https://wiki.znc.in/ZNC][ZNC]]. Passwords are gotten from [[https://www.passwordstore.org/][Password Store]].
#+BEGIN_SRC emacs-lisp
(use-package! circe
:config
@ -79,10 +83,9 @@ Connect to [[https://wiki.znc.in/ZNC][ZNC]]. Passwords are gotten from [[https:/
)
(add-hook 'circe-channel-mode-hook 'enable-lui-autopaste)
#+END_SRC
* [[https://orgmode.org/][Org mode]]
** General settings
When moving entries up and down in the buffer use `j` and `k` instead of `↑` and `↓`
*** When moving entries up and down in the buffer use `j` and `k` instead of `↑` and `↓`
#+BEGIN_SRC emacs-lisp
(after! org
(map! :map org-mode-map
@ -90,8 +93,7 @@ When moving entries up and down in the buffer use `j` and `k` instead of `↑` a
:n "M-k" #'org-metaup)
)
#+END_SRC
Auto save org-mode files
*** Auto save org-mode files
#+BEGIN_SRC emacs-lisp
(add-hook 'auto-save-hook 'org-save-all-org-buffers)
#+END_SRC
@ -106,7 +108,7 @@ Auto save org-mode files
org-startup-with-inline-images t)
#+END_SRC
** [[https://github.com/alphapapa/org-protocol-capture-html][org-protocol-capture-html]]
Require package
*** Require package
#+BEGIN_SRC emacs-lisp
(use-package! org-protocol-capture-html)
#+END_SRC
@ -120,7 +122,7 @@ Require package
)
#+END_SRC
* [[https://www.djcbsoftware.nl/code/mu/mu4e.html][mu4e]]
Setup mu4e with multiple profiles
** Setup mu4e with multiple profiles
#+BEGIN_SRC emacs-lisp
(use-package! mu4e
:config
@ -227,7 +229,7 @@ Setup mu4e with multiple profiles
(elfeed-goodies/setup))
#+END_SRC
* Spelling
Set dictionaries for languages I use
** Set dictionaries for languages I use
#+BEGIN_SRC emacs-lisp
(with-eval-after-load "ispell"
(setq ispell-program-name "hunspell")

View File

@ -77,11 +77,11 @@
ledger ; an accounting system in Emacs
markdown ; writing docs for people to ignore
(org ; organize your plain life in plain text
+roam
+dragndrop ; drag & drop files/images into org buffers
+ipython ; ipython/jupyter support for babel
+pandoc ; export-with-pandoc support
+present) ; using org-mode for presentations
(php
(php
+lsp) ; perl's insecure younger brother
(python
+lsp) ; beautiful is better than ugly

View File

@ -1,7 +1,7 @@
#!/usr/bin/env fish
# Prerequisite & inistalled apps
set prerequisiteApps bat broot brave caffeine-ng exa fzf go isync imagemagick lightdm-gtk-greeter mailcap mpv deadd-notification-center-bin npm pamixer pfetch pulseaudio pulsemixer python pywal stow sxiv tldr udisks xwallpaper zathura
set prerequisiteApps bat broot brave caffeine-ng exa fzf go graphviz isync imagemagick lightdm-gtk-greeter mailcap mpv deadd-notification-center-bin npm pamixer pfetch pulseaudio pulsemixer python pywal stow sxiv tldr udisks xwallpaper zathura
set prerequisiteFonts otf-nerd-fonts-fira-code noto-fonts ttf-unifont
set prerequisiteLsp bash-language-server ccls php-language-server python-language-server typescript-language-server vscode-css-languageserver vscode-html-languageserver nodejs-intelephense
set configuredApps alacritty bspwm castero emacs firejail git gnupg gtk lf deadd-notification-center-bin mpd ncmpcpp neomutt neovim picom redshift sxhkd tmux tuir weechat

View File

@ -1,3 +1,3 @@
#!/usr/bin/env sh
curl --silent "https://corona-stats.online/Netherlands?minimal=true" | sed -n '2p' | sed 's/\x1b\[[0-9;]*m//g' | awk '{ print "😷" $4, "💀" $7, "" $11, "ﯭ"$12 }'
curl --silent "https://corona-stats.online/Netherlands" | sed -n '4p' | sed 's/\x1b\[[0-9;]*m//g' | sed 's/[\ \t]//g' | awk -F '│' '{ print "😷" $3, "💀" $5, "" $8, "ﯭ" $9 }'