diff --git a/Console.org b/Console.org index 489e80b..ccceea7 100644 --- a/Console.org +++ b/Console.org @@ -7,43 +7,6 @@ #+PROPERTY: header-args:bash :tangle-mode (identity #o755) :comments link :shebang "#!/usr/bin/env bash" #+OPTIONS: broken-links:auto h:6 toc:nil -* Contents :noexport: -:PROPERTIES: -:TOC: :include all :depth 3 -:END: -:CONTENTS: -- [[#contents][Contents]] -- [[#profile][.profile]] - - [[#environment][Environment]] - - [[#my-paths][My paths]] - - [[#guix-settings][Guix settings]] - - [[#other-package-managers][Other package managers]] - - [[#npm][npm]] - - [[#xresources][XResources]] - - [[#off-package-manager-paths][(OFF) Package manager paths]] -- [[#bash][Bash]] - - [[#bash_profile][.bash_profile]] - - [[#bashrc][.bashrc]] - - [[#startup--environment][Startup & environment]] - - [[#launch-fish][Launch fish]] - - [[#colors][Colors]] - - [[#settings][Settings]] - - [[#aliases][Aliases]] - - [[#anaconda][Anaconda]] - - [[#starship-prompt][Starship prompt]] -- [[#fish][Fish]] -- [[#nushell][Nushell]] -- [[#starship-prompt][Starship prompt]] -- [[#tmux][Tmux]] - - [[#term-settings][Term settings]] - - [[#keybindings][Keybindings]] - - [[#copy-to-clipboard][Copy to clipboard]] - - [[#ui][UI]] -- [[#alacritty][Alacritty]] -- [[#various-console-applications][Various console applications]] -- [[#guix-settings][Guix settings]] -:END: - * =.profile= :PROPERTIES: :header-args+: :tangle ./.profile diff --git a/Desktop.org b/Desktop.org index 67a871e..85c176a 100644 --- a/Desktop.org +++ b/Desktop.org @@ -17,140 +17,6 @@ Parts prefixed with (OFF) are not used, but kept for historic purposes. For some References: - [[https://sqrtminusone.xyz/posts/2022-02-12-literate/][A few cases of literate configuration]]. My blog post that explains some of techniques from this file. -* Contents :noexport: -:PROPERTIES: -:TOC: :include all :depth 3 -:END: -:CONTENTS: -- [[#global-customization][Global customization]] - - [[#colors][Colors]] - - [[#xresources][Xresources]] - - [[#colors-in-xresources][Colors in Xresources]] - - [[#fonts][Fonts]] - - [[#themes][Themes]] - - [[#mime][MIME]] - - [[#device-specific-settings][Device-specific settings]] -- [[#exwm][EXWM]] - - [[#startup--ui][Startup & UI]] - - [[#xsession][Xsession]] - - [[#startup-apps][Startup apps]] - - [[#pinentry][Pinentry]] - - [[#modeline][Modeline]] - - [[#windows][Windows]] - - [[#moving-windows][Moving windows]] - - [[#resizing-windows][Resizing windows]] - - [[#improving-splitting-windows][Improving splitting windows]] - - [[#perspectives][Perspectives]] - - [[#workspaces-and-multi-monitor-setup][Workspaces and multi-monitor setup]] - - [[#tracking-recently-used-workspaces][Tracking recently used workspaces]] - - [[#the-monitor-list][The monitor list]] - - [[#switch-to-another-monitor][Switch to another monitor]] - - [[#move-the-workspace-to-another-monitor][Move the workspace to another monitor]] - - [[#windmove-between-monitors][Windmove between monitors]] - - [[#completions][Completions]] - - [[#ivy-posframe][ivy-posframe]] - - [[#linux-app][Linux app]] - - [[#ivy-pass][ivy-pass]] - - [[#keybindings][Keybindings]] - - [[#exwm-keybindings][EXWM keybindings]] - - [[#app-shortcuts][App shortcuts]] - - [[#locking-up][Locking up]] - - [[#fixes][Fixes]] - - [[#catch-and-report-all-errors-raised-when-invoking-command-hooks][Catch and report all errors raised when invoking command hooks]] - - [[#improve-floating-windows-behavior][Improve floating windows behavior]] - - [[#exwm-config][EXWM config]] -- [[#i3wm][i3wm]] - - [[#general-settings][General settings]] - - [[#managing-windows][Managing windows]] - - [[#workspaces][Workspaces]] - - [[#rules][Rules]] - - [[#scratchpad][Scratchpad]] - - [[#launch-script][Launch script]] - - [[#i3-config][i3 config]] - - [[#gaps--borders][Gaps & borders]] - - [[#keybindings][Keybindings]] - - [[#move--resize-windows][Move & resize windows]] - - [[#off-intergration-with-dmenu][(OFF) Intergration with dmenu]] - - [[#integration-with-rofi][Integration with rofi]] - - [[#launching-apps--misc-keybindings][Launching apps & misc keybindings]] - - [[#apps][Apps]] - - [[#media-controls--brightness][Media controls & brightness]] - - [[#screenshots][Screenshots]] - - [[#colors][Colors]] - - [[#off-i3blocks][(OFF) i3blocks]] - - [[#keyboard-layout][Keyboard Layout]] - - [[#autostart][Autostart]] -- [[#polybar][Polybar]] - - [[#general-settings][General settings]] - - [[#colors][Colors]] - - [[#glyph-settings][Glyph settings]] - - [[#defining-modules][Defining modules]] - - [[#generating-glyphs][Generating glyphs]] - - [[#generating-set-of-modules][Generating set of modules]] - - [[#global-bar-config][Global bar config]] - - [[#launch-script][Launch script]] - - [[#individual-modules][Individual modules]] - - [[#pulseaudio][pulseaudio]] - - [[#mpd][mpd]] - - [[#cpu][cpu]] - - [[#ram-memory][ram-memory]] - - [[#swap-memory][swap-memory]] - - [[#network][network]] - - [[#ipstack-vpn][ipstack-vpn]] - - [[#openvpn][openvpn]] - - [[#xkeyboard][xkeyboard]] - - [[#battery][battery]] - - [[#weather][weather]] - - [[#sun][sun]] - - [[#aw-afk][aw-afk]] - - [[#date][date]] - - [[#pomm][pomm]] - - [[#sep][SEP]] - - [[#tsep][TSEP]] - - [[#i3][i3]] -- [[#rofi][Rofi]] - - [[#theme][Theme]] - - [[#scripts][Scripts]] - - [[#buku-bookmarks][Buku bookmarks]] - - [[#man-pages][Man pages]] - - [[#emojis][Emojis]] - - [[#pass][pass]] -- [[#flameshot][Flameshot]] -- [[#dunst][dunst]] -- [[#keynav][keynav]] - - [[#config][Config]] - - [[#using-with-picom][Using with picom]] -- [[#picom][Picom]] - - [[#shadows][Shadows]] - - [[#fading][Fading]] - - [[#opacity][Opacity]] - - [[#general-settings][General settings]] -- [[#zathura][Zathura]] -- [[#various-software][Various software]] - - [[#browsers][Browsers]] - - [[#office--multimedia][Office & Multimedia]] - - [[#latex][LaTeX]] - - [[#dev][Dev]] - - [[#manifests][Manifests]] - - [[#flatpak][Flatpak]] - - [[#nix][Nix]] -- [[#services][Services]] - - [[#music][Music]] - - [[#gnu-mcron][GNU Mcron]] - - [[#activitywatch][ActivityWatch]] - - [[#pulseeffects][PulseEffects]] - - [[#xsettingsd][xsettingsd]] - - [[#nm-applet][nm-applet]] - - [[#discord-rich-presence][Discord rich presence]] - - [[#polkit-authentication-agent][Polkit Authentication agent]] - - [[#xmodmap][Xmodmap]] - - [[#vpn][VPN]] - - [[#davmail][Davmail]] - - [[#sqrt-data][sqrt-data]] - - [[#shepherd-config][Shepherd config]] - - [[#sync][Sync]] -- [[#guix-settings][Guix settings]] -:END: * Global customization ** Colors My favorite color theme is Palenight ([[https://github.com/JonathanSpeek/palenight-iterm2][color codes]]), and I want to have one source of truth for these colors. Except for Emacs itself, which has [[https://github.com/doomemacs/themes#theme-list][doom-palenight]] (and in which I occasionally switch to =doom-one-light=, e.g. when reading a long text), it can be done rather nicely with Org Mode. diff --git a/Emacs.org b/Emacs.org index 9b50343..ab9f74c 100644 --- a/Emacs.org +++ b/Emacs.org @@ -39,251 +39,6 @@ Of course, human minds share many similarities, so if you are an avid Emacs user If however, by some twist of fate, this document is one of the first things you see about Emacs, it won't be a good resource for you. And you definitely shouldn't try to launch this config as it is. If I could suggest only one resource, I'd advise David Wilson's [[https://www.youtube.com/c/SystemCrafters][System Crafters]] YouTube channel. -* Contents :noexport: -:PROPERTIES: -:TOC: :include all :depth 4 -:END: -:CONTENTS: -- [[#introduction][Introduction]] -- [[#some-remarks][Some remarks]] -- [[#bootstrap][Bootstrap]] - - [[#packages][Packages]] - - [[#straightel][straight.el]] - - [[#use-package][use-package]] - - [[#variables--environment][Variables & environment]] - - [[#performance][Performance]] - - [[#measure-startup-speed][Measure startup speed]] - - [[#garbage-collection][Garbage collection]] - - [[#run-garbage-collection-when-emacs-is-unfocused][Run garbage collection when Emacs is unfocused]] - - [[#native-compilation][Native compilation]] - - [[#anaconda][Anaconda]] - - [[#config-files][Config files]] - - [[#custom-file-location][Custom file location]] - - [[#authinfo][authinfo]] - - [[#private-config][Private config]] - - [[#no-littering][No littering]] - - [[#prevent-emacs-from-closing][Prevent Emacs from closing]] -- [[#general-settings][General settings]] - - [[#keybindings][Keybindings]] - - [[#generalel][general.el]] - - [[#which-key][which-key]] - - [[#evil][Evil]] - - [[#avy][Avy]] - - [[#my-keybindings][My keybindings]] - - [[#i3-integration][i3 integration]] - - [[#editing-text][Editing text]] - - [[#indentation--whitespace][Indentation & whitespace]] - - [[#settings][Settings]] - - [[#undo-tree][Undo Tree]] - - [[#snippets][Snippets]] - - [[#other-small-packages][Other small packages]] - - [[#working-with-projects][Working with projects]] - - [[#projectile][Projectile]] - - [[#git--magit][Git & Magit]] - - [[#editorconfig][Editorconfig]] - - [[#editing-files][Editing files]] - - [[#completion][Completion]] - - [[#ivy-counsel-swiper][Ivy, counsel, swiper]] - - [[#ivy-rich][ivy-rich]] - - [[#prescient][prescient]] - - [[#keybindings][keybindings]] - - [[#company][company]] - - [[#help][Help]] - - [[#time-trackers][Time trackers]] - - [[#wakatime][WakaTime]] - - [[#activitywatch][ActivityWatch]] -- [[#ui-settings][UI settings]] - - [[#general-settings][General settings]] - - [[#miscellaneous][Miscellaneous]] - - [[#line-numbers][Line numbers]] - - [[#word-wrapping][Word wrapping]] - - [[#custom-frame-format][Custom frame format]] - - [[#olivetti][Olivetti]] - - [[#keycast][Keycast]] - - [[#themes-and-colors][Themes and colors]] - - [[#doom-themes][Doom themes]] - - [[#custom-theme][Custom theme]] - - [[#dim-inactive-buffers][Dim inactive buffers]] - - [[#fonts][Fonts]] - - [[#frame-font][Frame font]] - - [[#ligatures][Ligatures]] - - [[#icons][Icons]] - - [[#text-highlight][Text highlight]] - - [[#doom-modeline][Doom Modeline]] - - [[#perspectiveel][perspective.el]] - - [[#functions-to-manage-buffers][Functions to manage buffers]] - - [[#automating-perspectives][Automating perspectives]] -- [[#programming][Programming]] - - [[#general-setup][General setup]] - - [[#treemacs][Treemacs]] - - [[#lsp][LSP]] - - [[#flycheck][Flycheck]] - - [[#tree-sitter][Tree Sitter]] - - [[#dap][DAP]] - - [[#reformatter][Reformatter]] - - [[#copilot][copilot]] - - [[#general-additional-config][General additional config]] - - [[#web-development][Web development]] - - [[#emmet][Emmet]] - - [[#prettier][Prettier]] - - [[#typescript][TypeScript]] - - [[#javascript][JavaScript]] - - [[#jest][Jest]] - - [[#web-mode][web-mode]] - - [[#scss][SCSS]] - - [[#php][PHP]] - - [[#latex][LaTeX]] - - [[#auctex][AUCTeX]] - - [[#bibtex][BibTeX]] - - [[#import-sty][Import *.sty]] - - [[#snippets][Snippets]] - - [[#other-markup--natural-languages][Other markup & natural languages]] - - [[#markdown][Markdown]] - - [[#plantuml][PlantUML]] - - [[#subtitles][Subtitles]] - - [[#languagetool][LanguageTool]] - - [[#lisp][Lisp]] - - [[#meta-lisp][Meta Lisp]] - - [[#emacs-lisp][Emacs Lisp]] - - [[#common-lisp][Common lisp]] - - [[#clojure][Clojure]] - - [[#hy][Hy]] - - [[#scheme][Scheme]] - - [[#clips][CLIPS]] - - [[#python][Python]] - - [[#ein][ein]] - - [[#pyright][pyright]] - - [[#pipenv][pipenv]] - - [[#yapf][yapf]] - - [[#isort][isort]] - - [[#sphinx-doc][sphinx-doc]] - - [[#pytest][pytest]] - - [[#code-cells][code-cells]] - - [[#tensorboard][tensorboard]] - - [[#data-serialization][Data serialization]] - - [[#json][JSON]] - - [[#csv][CSV]] - - [[#yaml][YAML]] - - [[#configuration][Configuration]] - - [[#env][.env]] - - [[#gitignore][.gitignore]] - - [[#docker][Docker]] - - [[#crontab][crontab]] - - [[#shell][Shell]] - - [[#sh][sh]] - - [[#fish][fish]] - - [[#java][Java]] - - [[#go][Go]] - - [[#net][.NET]] - - [[#c][C#]] - - [[#msbuild][MSBuild]] - - [[#haskell][Haskell]] - - [[#nix][nix]] - - [[#lua][Lua]] - - [[#sql][SQL]] - - [[#sparql][SPARQL]] -- [[#org-mode][Org Mode]] - - [[#installation--basic-settings][Installation & basic settings]] - - [[#encryption][Encryption]] - - [[#org-contrib][org-contrib]] - - [[#integration-with-evil][Integration with evil]] - - [[#literate-programing][Literate programing]] - - [[#python--jupyter][Python & Jupyter]] - - [[#hy][Hy]] - - [[#view-html-in-browser][View HTML in browser]] - - [[#plantuml][PlantUML]] - - [[#restclient][Restclient]] - - [[#setup][Setup]] - - [[#managing-jupyter-kernels][Managing Jupyter kernels]] - - [[#output-post-processing][Output post-processing]] - - [[#executing-stuff][Executing stuff]] - - [[#managing-a-literate-programming-project][Managing a literate programming project]] - - [[#tools][Tools]] - - [[#presentations][Presentations]] - - [[#toc][TOC]] - - [[#screenshots][Screenshots]] - - [[#transclusion][Transclusion]] - - [[#productivity--knowledge-management][Productivity & Knowledge management]] - - [[#capture-templates--various-settings][Capture templates & various settings]] - - [[#off-trello-sync][(OFF) Trello sync]] - - [[#org-ql][org-ql]] - - [[#custom-agendas][Custom agendas]] - - [[#org-journal][Org Journal]] - - [[#org-roam][Org Roam]] - - [[#review-workflow][Review workflow]] - - [[#org-ref][org-ref]] - - [[#org-roam-bibtex][org-roam-bibtex]] - - [[#org-contacts][org-contacts]] - - [[#managing-tables][Managing tables]] - - [[#ui][UI]] - - [[#off-instant-equations-preview][(OFF) Instant equations preview]] - - [[#latex-fragments][LaTeX fragments]] - - [[#better-headers][Better headers]] - - [[#override-colors][Override colors]] - - [[#export][Export]] - - [[#general-settings][General settings]] - - [[#hugo][Hugo]] - - [[#jupyter-notebook][Jupyter Notebook]] - - [[#html-export][Html export]] - - [[#latex][LaTeX]] - - [[#keybindings--stuff][Keybindings & stuff]] - - [[#general-keybindings][General keybindings]] - - [[#copy-a-link][Copy a link]] - - [[#navigating-source-blocks][Navigating source blocks]] - - [[#open-a-file-from-org-directory][Open a file from org-directory]] - - [[#system-configuration][System configuration]] - - [[#tables-for-guix-dependencies][Tables for Guix Dependencies]] - - [[#noweb-evaluations][Noweb evaluations]] - - [[#yadm-hook][yadm hook]] -- [[#applications][Applications]] - - [[#dired][Dired]] - - [[#basic-config--keybindings][Basic config & keybindings]] - - [[#addons][Addons]] - - [[#subdirectories][Subdirectories]] - - [[#tramp][TRAMP]] - - [[#bookmarks][Bookmarks]] - - [[#shells][Shells]] - - [[#vterm][vterm]] - - [[#eshell][Eshell]] - - [[#managing-dotfiles][Managing dotfiles]] - - [[#open-emacs-config][Open Emacs config]] - - [[#open-magit-for-yadm][Open Magit for yadm]] - - [[#open-a-dotfile][Open a dotfile]] - - [[#internet--multimedia][Internet & Multimedia]] - - [[#notmuch][Notmuch]] - - [[#elfeed][Elfeed]] - - [[#emms][EMMS]] - - [[#ytel][ytel]] - - [[#wallabag][wallabag]] - - [[#eww][EWW]] - - [[#erc][ERC]] - - [[#ementel][ement.el]] - - [[#off-jabber][(OFF) jabber]] - - [[#google-translate][Google Translate]] - - [[#reading-documentation][Reading documentation]] - - [[#tldr][tldr]] - - [[#man--info][man & info]] - - [[#devdocsio][devdocs.io]] - - [[#stackexchange][StackExchange]] - - [[#utilities][Utilities]] - - [[#pass][pass]] - - [[#docker][Docker]] - - [[#progidy][Progidy]] - - [[#screenshotel][screenshot.el]] - - [[#proced][proced]] - - [[#guix][Guix]] - - [[#productivity][Productivity]] - - [[#pomm][pomm]] - - [[#hledger][hledger]] - - [[#calendar][Calendar]] - - [[#fun][Fun]] - - [[#discord-integration][Discord integration]] - - [[#snow][Snow]] - - [[#power-mode][Power mode]] - - [[#redacted][Redacted]] - - [[#zone][Zone]] -- [[#guix-settings][Guix settings]] -:END: * Some remarks I decided not to keep configs for features that I do not use anymore because this config is already huge. But here are the last commits that had these features presented. diff --git a/Guix.org b/Guix.org index 4c9d9b9..db53a11 100644 --- a/Guix.org +++ b/Guix.org @@ -16,37 +16,6 @@ References: - [[https://gitlab.com/pjotrp/guix-notes][Pjotr Prins' Guix notes]] - [[https://www.youtube.com/watch?v=iBaqOK75cho&list=PLEoMzSkcN8oNxnj7jm5V2ZcGc52002pQU][Davil Wilson's YouTube series]] -* Contents :noexport: -:PROPERTIES: -:TOC: :include all :depth 3 -:END: -:CONTENTS: -- [[#contents][Contents]] -- [[#profiles][Profiles]] - - [[#activate-profiles][Activate profiles]] - - [[#update-profiles][Update profiles]] -- [[#channels][Channels]] -- [[#systems][Systems]] - - [[#base-configuration][Base configuration]] - - [[#indigo][indigo]] - - [[#eminence][eminence]] - - [[#azure][azure]] -- [[#system-installation][System installation]] - - [[#preparation][Preparation]] - - [[#installation][Installation]] - - [[#after-installation][After installation]] -- [[#misc-software--notes][Misc software & notes]] - - [[#vpn][VPN]] - - [[#vpn-start][vpn-start]] - - [[#vpn-stop][vpn-stop]] - - [[#flatpak][flatpak]] - - [[#conda][conda]] - - [[#slack][Slack]] - - [[#virt-manager][virt-manager]] - - [[#wakatime-cli][wakatime-cli]] - - [[#manifest][Manifest]] -:END: - * Profiles A profile is a way to group Guix packages. Amongst its advantages, profiles can be defined by manifests, which in turn can be stored in VCS. diff --git a/Mail.org b/Mail.org index ec73c58..7b8a64c 100644 --- a/Mail.org +++ b/Mail.org @@ -18,29 +18,6 @@ But I also have an Exchange account, with which I communicate via IMAP/SMTP adap References: - [[https://sqrtminusone.xyz/posts/2021-02-27-gmail/][My post]] about email configuration. I wrote it some time ago, but the general idea remains. -* Contents :noexport: -:PROPERTIES: -:TOC: :include all -:END: -:CONTENTS: -- [[#contents][Contents]] -- [[#lieer][Lieer]] -- [[#davmail][DavMail]] -- [[#offlineimap][OfflineIMAP]] -- [[#notmuch][Notmuch]] - - [[#config][Config]] - - [[#hooks][Hooks]] - - [[#pre_new][pre_new]] - - [[#post_new][post_new]] -- [[#sync-script][Sync script]] -- [[#msmtp][MSMTP]] -- [[#emacs][Emacs]] - - [[#saved-filters-and-keybindings][Saved filters and keybindings]] - - [[#signing-messages][Signing messages]] -- [[#mailcap][mailcap]] -- [[#guix-settings][Guix settings]] -:END: - * Lieer | Guix dependency | |-----------------|