Commit Graph

1731 Commits

Author SHA1 Message Date
Lucien Cartier-Tilet 6c6320d1f8
[yay] Avoid sudo timeout 2020-12-30 00:12:38 +01:00
Lucien Cartier-Tilet ec1169b3b7
[Emacs] Add leader key for evil-lisp-state 2020-12-30 00:12:14 +01:00
Lucien Cartier-Tilet 842c1253fd
[Emacs] Fix broken Wttr.in package 2020-12-30 00:11:53 +01:00
Lucien Cartier-Tilet ac9c34dcf1
[Emacs] Update and fix org capture 2020-12-30 00:11:22 +01:00
Lucien Cartier-Tilet 6519fa6793
[Bin, Awesome] Add script to read YouTube videos in mpv
New script to read YouTube videos in mpv, with possibility to choose
the video resolution

Also add shortcut in Awesome to invoke this script
2020-12-28 21:06:18 +01:00
Lucien Cartier-Tilet b9d4d6b180
[Emacs] Add swift to org-babel languages, neater noweb code 2020-12-27 19:00:30 +01:00
Lucien Cartier-Tilet 4ccab5440a
[Emacs] Run bibtex when exporting org to latex 2020-12-27 17:02:18 +01:00
Lucien Cartier-Tilet 7692337dc0
[Emacs] Reorganize some chapters 2020-12-27 17:01:50 +01:00
Lucien Cartier-Tilet fc84352da4
[Emacs, Submodule] Update conlanging layer 2020-12-27 17:01:14 +01:00
Lucien Cartier-Tilet e57da4e348
[Emacs] Make orgmode dates fixed-width 2020-12-27 17:00:46 +01:00
Lucien Cartier-Tilet 5ee319212d
[Emacs] Wider images in org-mode 2020-12-24 22:19:20 +01:00
Lucien Cartier-Tilet 734745a8e9
[Emacs] Add doc to two vars and a function, update emacs.org
Two of my variables declared at the beginning of my dotspacemacs are now
documented, as well as the function `phundrak/update-config-files-p'
2020-12-24 22:17:40 +01:00
Lucien Cartier-Tilet 09d9ba6446
[Emacs] Better org configuration, better handling of emacs startup
When Emacs starts up, it verifies twice the state of its .el and .elc
configuration files that come from emacs.org. If any of the .el file is
older than emacs.org, the latter is tangled again.
Then, if it detects any of the .elc file is older than its .el
counterpart, it will byte-compile the latter.
Tangling now happens within the launched Emacs instance and not in a
separate instance.

Nom all the orgmode configuration is done using noweb, and only one
block is tangled.
Some parts of the org configuration were reorganised to make the TOC
a bit lighter.
2020-12-24 12:51:28 +01:00
Lucien Cartier-Tilet 9c775aa613
[Emacs] Fix leading whitespace in org capture templates 2020-12-23 04:52:53 +01:00
Lucien Cartier-Tilet 7e717ac2aa
[Org] Fix header, move images, remove screenshots from index
The screenshots on the index page are better off on the i3 page

Setupfiles were not found for org files in subdirectories, this is fixed

Images are now correctly placed
2020-12-23 04:39:21 +01:00
Lucien Cartier-Tilet 00d31c4597
[Emacs] setq to defvar, lexical binding, rename and move headers
All exported `.el' files now have a lexical-binding header. This should
make parsing these files faster.

Custom variables such as the Nord colors are now declared with `defvar'
rather than with `setq' directly to avoid using free variables.

The package `info-colors' is now added, making info pages much more
pleasing to the eye.

Some headers in the Org chapter are renamed and organized alphabetically

Additional org variables to make it more usable

Variable `phundrak//eshell-banner--max-length' is renamed to
`phundrak//eshell-banner--max-length-part' in order to make its usage
more obvious from its name.
2020-12-23 04:26:27 +01:00
Lucien Cartier-Tilet 9710304da7
[Emacs] Add part on how this litterate config works 2020-12-23 02:13:45 +01:00
Lucien Cartier-Tilet b1f2be0016
[Emacs] Remove w3m layer, compile configuration files when exported
The w3m layer is now removed as I did not use it at all.

The conlanging layer is moved to ~/fromGIT/emacs-packages and now a
symlink points to its new location. This is done in order to prevent
Emacs from compiling its .el files when recompiling its configuration
files.

Configuration files are now compiled when emacs.org is tangled by Emacs
itself or if the .el files are newer than the .elc files.

TODO: find a way to natively compile and load these files instead of
just byte-compile them if native compilation is available
2020-12-23 01:54:07 +01:00
Lucien Cartier-Tilet bcd9ec58b5
[Emacs] Use rsync protocol instead of ssh for org projects 2020-12-21 20:45:30 +01:00
Lucien Cartier-Tilet 7228d91979
[Meta] Update website image header 2020-12-21 20:45:11 +01:00
Lucien Cartier-Tilet 4cfea387a3
[Emacs] Fix issue when automatically tangling Emacs config
Also simpler call to shell process
2020-12-21 18:19:58 +01:00
Lucien Cartier-Tilet 82ae905195
[Emacs] Fix SVG integration, better example org buffer 2020-12-21 18:19:10 +01:00
Lucien Cartier-Tilet a33fa55ab7
[Emacs] Move org visual configuration, add screenshot of org buffer 2020-12-21 15:00:35 +01:00
Lucien Cartier-Tilet a4643fd8c1
[Org] Move deprecated and wip files in dedicated directories
Also update a bit some parts of my environment description.
2020-12-21 15:00:35 +01:00
Lucien Cartier-Tilet 2f80220f88
[Emacs] Banner fix, better mu4e display, neater code
Banner broke with memory filled by only a couple hundreds megabytes of
memory, the amount displayed was too large for what was reserved. More
space is now dedicated to displaying such numbers, and the ramp is thus
a bit shorter.

Mu4e header is now only 80 chars wide by default, regardless on the
width of the current frame.

Some code is now also better aligned, some whitespace was left from
earlier configuration that did not make it into the git repository
2020-12-19 17:31:20 +01:00
Lucien Cartier-Tilet 013eca17d3
[Emacs] Better description 2020-12-19 17:24:47 +01:00
Lucien Cartier-Tilet 79ded07aeb
[Emacs] Simpler code, uninstall unused packages 2020-12-19 17:24:17 +01:00
Lucien Cartier-Tilet 0bd5b42b79
[Emacs] dotspacemacs update 2020-12-19 17:23:51 +01:00
Lucien Cartier-Tilet a2ef908528
[Emacs] Simpler path in dotspacemacs 2020-12-19 17:23:31 +01:00
Lucien Cartier-Tilet ef985c59a9
[Mimeapps] Add association for CSV to LibreOffice Calc 2020-12-19 17:22:40 +01:00
Lucien Cartier-Tilet 639e86b719
[Rofi] Add transparency to rofi’s background 2020-12-11 18:40:43 +01:00
Lucien Cartier-Tilet 860e7c9d8b
[Awesome] Change chapter name 2020-12-10 10:34:34 +01:00
Lucien Cartier-Tilet dc41032190
[Emacs] Yet better face for replied to and forwarded emails in mu4e 2020-12-10 10:34:02 +01:00
Lucien Cartier-Tilet a47a471321
[Bootstrap] Add basic backage for installation 2020-12-10 10:20:54 +01:00
Lucien Cartier-Tilet 6665074db0
[Org files] Formatting 2020-12-10 10:20:21 +01:00
Lucien Cartier-Tilet 54e9e00078
[Fish] Better handling of user-defined paths 2020-12-10 10:06:46 +01:00
Lucien Cartier-Tilet 38843d8a4e
[Fish] Org file formatting 2020-12-10 10:06:32 +01:00
Lucien Cartier-Tilet e6775cefbd
[Emacs] Subdivide Mu4e configuration, fix Emacs filtering
This commit divides the Mu4e configuration into three subchapters.

Filtering for the Emacs mailinglists is also fixed.
2020-12-10 09:33:41 +01:00
Lucien Cartier-Tilet 1cd4f60338
[Emacs] Fix indistinguishable mu4e faces
This commit makes font face for replied to emails and unread emails more
distinguishable. The difference between the two were just the text being
bold or not, now replied to emails have a Nord15 foreground text color.
2020-12-10 09:10:52 +01:00
Lucien Cartier-Tilet 7e91539f5e
[Emacs] Better mu4e inboxes
Mailing lists are now separated from my main inbox. Linguistics and
Emacs now both have their own inbox.
2020-12-10 09:09:08 +01:00
Lucien Cartier-Tilet 0a54b4d67f
[Emacs] Fix Eshell banner
Fix reference to undefined variable

Fix incorrect calculation of usage percentage of memory
2020-12-10 09:08:22 +01:00
Lucien Cartier-Tilet 880a0e14df
[Emacs] Remove helm dependency for `find-org-files'
This function is also renamed from `find-org-file' to `find-org-files`
and it became much, much faster.
2020-12-10 09:07:34 +01:00
Lucien Cartier-Tilet 5f129d953a
[Emacs] Make Elisp source codes use lexical binding in org file 2020-12-07 18:34:48 +01:00
Lucien Cartier-Tilet 12c92fefbc
[Emacs] Add Eshell screenshot 2020-12-07 17:42:51 +01:00
Lucien Cartier-Tilet eee5575a2d
[Emacs] Move back code from custom layer to config for Dired 2020-12-07 17:39:33 +01:00
Lucien Cartier-Tilet 77bd751c05
[Emacs] Add function for taking SVG screenshots of Emacs 2020-12-07 16:24:44 +01:00
Lucien Cartier-Tilet 9d0dea47a4
[Emacs] Add code for beautiful Eshell banner 2020-12-07 15:00:00 +01:00
Lucien Cartier-Tilet 423a1c91cb
[Emacs] Remove Eshell syntax highlight package
This package often caused my configuration to break due to Emacs not
finding `eshell-syntax-highlight-global-mode' despite the package being
installed. More troublesome than it’s worth, I’m uninstalling it.
2020-12-07 14:59:07 +01:00
Lucien Cartier-Tilet af1ea985d8
[Emacs] dotspacemacs update 2020-12-06 11:31:30 +01:00
Lucien Cartier-Tilet dd60197fec
[Emacs] Add shortcut for publishing my blog 2020-12-06 11:30:44 +01:00