Commit Graph
100 Commits
Author SHA1 Message Date
phundrak 82ae905195 [Emacs] Fix SVG integration, better example org buffer 2020-12-21 18:19:10 +01:00
phundrak a33fa55ab7 [Emacs] Move org visual configuration, add screenshot of org buffer 2020-12-21 15:00:35 +01:00
phundrak 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
phundrak 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
phundrak 013eca17d3 [Emacs] Better description 2020-12-19 17:24:47 +01:00
phundrak 79ded07aeb [Emacs] Simpler code, uninstall unused packages 2020-12-19 17:24:17 +01:00
phundrak 0bd5b42b79 [Emacs] dotspacemacs update 2020-12-19 17:23:51 +01:00
phundrak a2ef908528 [Emacs] Simpler path in dotspacemacs 2020-12-19 17:23:31 +01:00
phundrak ef985c59a9 [Mimeapps] Add association for CSV to LibreOffice Calc 2020-12-19 17:22:40 +01:00
phundrak 639e86b719 [Rofi] Add transparency to rofi’s background 2020-12-11 18:40:43 +01:00
phundrak 860e7c9d8b [Awesome] Change chapter name 2020-12-10 10:34:34 +01:00
phundrak dc41032190 [Emacs] Yet better face for replied to and forwarded emails in mu4e 2020-12-10 10:34:02 +01:00
phundrak a47a471321 [Bootstrap] Add basic backage for installation 2020-12-10 10:20:54 +01:00
phundrak 6665074db0 [Org files] Formatting 2020-12-10 10:20:21 +01:00
phundrak 54e9e00078 [Fish] Better handling of user-defined paths 2020-12-10 10:06:46 +01:00
phundrak 38843d8a4e [Fish] Org file formatting 2020-12-10 10:06:32 +01:00
phundrak 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
phundrak 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
phundrak 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
phundrak 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
phundrak 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
phundrak 5f129d953a [Emacs] Make Elisp source codes use lexical binding in org file 2020-12-07 18:34:48 +01:00
phundrak 12c92fefbc [Emacs] Add Eshell screenshot 2020-12-07 17:42:51 +01:00
phundrak eee5575a2d [Emacs] Move back code from custom layer to config for Dired 2020-12-07 17:39:33 +01:00
phundrak 77bd751c05 [Emacs] Add function for taking SVG screenshots of Emacs 2020-12-07 16:24:44 +01:00
phundrak 9d0dea47a4 [Emacs] Add code for beautiful Eshell banner 2020-12-07 15:00:00 +01:00
phundrak 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
phundrak af1ea985d8 [Emacs] dotspacemacs update 2020-12-06 11:31:30 +01:00
phundrak dd60197fec [Emacs] Add shortcut for publishing my blog 2020-12-06 11:30:44 +01:00
phundrak ff12dbe2c9 [Emacs] Make `phundrak/blog-publish' interactive 2020-12-06 01:34:08 +01:00
phundrak 541577f933 [Emacs] Add blog publishing function, reorganize order of headers 2020-12-06 00:55:33 +01:00
phundrak 83d1dad6d5 [Emacs] Add Plantuml layer 2020-12-05 16:10:25 +01:00
phundrak c46fcd3db7 [Emacs] Move Eshell functions to aliases
Many Eshell functions do not need to be declared as such and can do just
fine as Eshell aliases. This commit moves all these functions to the
'eshell-alias' file
2020-12-02 17:33:00 +01:00
phundrak bdc4e543cf [Emacs] Add shortcut to eshell 2020-12-02 17:29:37 +01:00
phundrak 312a7ebf2d [Emacs] Fix issue with path abbreviation in Eshell 2020-12-02 17:29:14 +01:00
phundrak 888e237ab8 [Fish] Further theme appearance modification 2020-12-02 17:28:08 +01:00
phundrak 9004bb84e6 [Fish] Update theme appearance of fish shell 2020-12-02 16:12:49 +01:00
phundrak a4e83f1954 [Awesome] Fix behavior of scroll on tags 2020-12-02 14:20:24 +01:00
phundrak 150c3e0b33 [Emacs] Better org-mode theme 2020-12-02 11:45:12 +01:00
phundrak 516ff67996 [Emacs] Fix text in mu4e configuration 2020-12-02 11:38:49 +01:00
phundrak fe13ebd0cc [Emacs] Update packages, add Eshell syntax highlight 2020-12-01 21:55:00 +01:00
phundrak 5d1bd2c45f [Bootstrap] Remove bookworm, new defaults for djvu and epub
zathura is now the default reader for djvu books

Emacs is now the default reader for epub books
2020-12-01 21:48:19 +01:00
phundrak 4584aa8f6b [Bin] Fix org headers and page description 2020-12-01 16:16:59 +01:00
phundrak 88c83ba51f [Bin] add ytdl (youtube-dl wrapper) and rofi menu for it 2020-11-29 23:43:37 +01:00
phundrak ec14b1c5a7 [Bin] Format update 2020-11-29 23:43:20 +01:00
phundrak 06082195a0 [Zathura] shorter config line 2020-11-29 13:47:47 +01:00
phundrak 20affaec43 [Fish] remove ytdl abbr 2020-11-29 13:47:28 +01:00
phundrak 32d9f690e9 [Awesome] Add shortcut to rofi-ytdl, fix category of other command 2020-11-29 13:46:19 +01:00
phundrak 2f0b3d1068 [Rofi] Nicer theme in my opinion 2020-11-29 13:28:13 +01:00
phundrak 05ba577b2f [Emacs] Better Emacs visual customization 2020-11-28 18:14:52 +01:00
phundrak 4ee2023364 [Emacs] Add workaround for smartparens issue 2020-11-28 18:14:52 +01:00
phundrak fcb10ceccb [Awesome] Update and add rofi shortcuts 2020-11-28 18:14:52 +01:00
phundrak e803c9cd6f [Bootstrap] Add hugo to list of installed packages 2020-11-28 18:14:41 +01:00
phundrak 7dac01a401 [Rofi] Change theme to nord theme 2020-11-28 18:14:31 +01:00
phundrak 7a9c3075e1 [Bootstrap] Update page’s name 2020-11-27 16:48:03 +01:00
phundrak 1d5bf5a275 [Emacs] Add custom packages path 2020-11-27 16:48:03 +01:00
phundrak 9dabe4c67b [Emacs] Add shortcut for tetris, update org-mode faces 2020-11-27 16:48:03 +01:00
phundrak 0c3211a046 [Awesome] Update name of script, slightly larger titlebars 2020-11-27 16:47:52 +01:00
phundrak 6ddf6df989 [Emacs] Add evil keybindings for tetris 2020-11-19 11:29:13 +01:00
phundrak c715ae59d9 [Emacs] Fix weird LaTeX output with tabs in source blocks 2020-11-19 11:28:41 +01:00
phundrak 2da110c745 [Emacs] Fix reference in org file 2020-11-19 11:28:20 +01:00
phundrak 078756c7d5 [Emacs] Better faces for org-mode 2020-11-19 11:27:43 +01:00
phundrak 653ac27a8a [Emacs] Some more beautiful Org-mode 2020-11-14 02:21:45 +01:00
phundrak d66d66290b [Emacs] remove indentation of properties drawers 2020-11-14 02:21:26 +01:00
phundrak 3a1015b9e7 [Org files] Formatted org files to look better with new org config 2020-11-13 15:18:43 +01:00
phundrak e3880c48b1 [Picom] Add exception to background blur 2020-11-13 00:40:27 +01:00
phundrak b4a6904989 [Emacs] Conlanging layer updated 2020-11-13 00:39:55 +01:00
phundrak 77883c75bd [Emacs] Dotspacemacs update 2020-11-13 00:39:34 +01:00
phundrak e514ed5e33 [Emacs] Prettify Org-mode 2020-11-13 00:38:04 +01:00
phundrak 49894ec6e2 [Emacs] Remove duplicate code in dotspacemacs 2020-11-06 14:48:36 +01:00
phundrak 55cdad04ca [Awesome] Add Mattermost to the tag 0 by default 2020-11-06 14:45:52 +01:00
phundrak 6e9ac2b490 [Bin] Better script for toggling touchpad 2020-11-06 14:45:17 +01:00
phundrak caba458431 [Emacs] Eshell prompt update
This commit removes the banner displayed on Eshell launch. I will
maybe do something with it one day similar to my fish_greeting
function for the fish shell.

The git prompt now also separates the current path in half if we are
in a git repository: the path up to the repository, the git prompt,
and then the relative path to the repo is are shown in that order.
To achieve that, `phundrak/is-dir-a-git-repo' has been modified to
return either the path to the git repo or `nil'.
2020-11-06 14:41:29 +01:00
phundrak d40de0fdec [Bootstrap] Symlink plock' to /usr/bin'
This is needed for xss-lock to work properly
2020-10-29 16:55:20 +01:00
phundrak 118eadb58a [Emacs] Add rsync alias to eshell 2020-10-29 16:55:20 +01:00
phundrak 0b5519e058 [Emacs] Add Swift layer with ob-swift, keybinding to woman
This commit adds to my configuration the Swift layer from Spacemacs, as
well as ob-swift for evaluating Swift code in org-mode –because
apparently it is not part of the layer itself.

The keybinding to `wttrin' is also modified to `SPC o a W', with its
original keybinding `SPC o a w' set to `helm-man-woman', a helm
interface to Emacs’ `woman'.
2020-10-29 16:55:19 +01:00
phundrak b2f31ed88f [Bin] rename lock utility from lock' to plock' 2020-10-29 16:55:19 +01:00
phundrak d8ee8fd95c [Zathura] new configuration file for Zathura
This configuration file for Zathura adapts its keybindings to the bépo
layout, with some tweaks on my part to make it more consistent.
2020-10-29 16:47:28 +01:00
phundrak 45a5db0f0d [Emacs] Update eshell aliases
continuous-integration/drone/push Build is failing
Update eshell aliases

I should replace this file later with some Elisp code in the user init
to read aliases from Fish abbreviations.

Something good would be to try to write some Elisp code to emulate Fish
abbreviations, but I have to find what hook or function is called when a
new character is entered in the shell that triggers autocompletion. Code
in this package might help:
https://github.com/szermatt/emacs-bash-completion
2020-10-25 11:26:42 +01:00
phundrak 7b3fe54d8e [Git] Go back to default branch name 2020-10-25 11:26:21 +01:00
phundrak 2795f44e2f [Emacs] Update shell prompt regex 2020-10-25 11:26:04 +01:00
phundrak 86de78bedb [Emacs] Remove some Eshell-specific functions 2020-10-25 11:25:13 +01:00
phundrak 24beba2616 [Emacs] Better slug generator for custom IDs, update some CUSTOM_IDs 2020-10-25 11:24:04 +01:00
phundrak 72edabc4f1 [Emacs] Better code style, replace macro with function
`if's that had one branch are replaced with `when', and `if's which only
actual branch is the else branch are replaced by `unless'.

`phundrak/eshell-git-status' no longer verifies whether its `$path'
argument points to a git repository, that is now the role of the callee.

`phundrak/eshell-prompt' now makes use of more variables to make the
code more readable.

Some documentation is now formatted correctly
2020-10-25 11:17:15 +01:00
phundrak e8b206ef94 [Emacs] Change the default mode for the scratch buffer to Elisp 2020-10-22 19:27:23 +02:00
phundrak ae94dd23ff [Emacs] Fix "function definition is void: abbr-pwd" error
continuous-integration/drone/push Build is passing
2020-10-22 15:48:22 +02:00
phundrak 7d39ccd8a6 [Emacs] Update Eshell prompt regex
continuous-integration/drone/push Build is passing
2020-10-22 13:56:04 +02:00
phundrak 5096b4f9a6 [Emacs] Update slug regex for CUSTOM_ID, update some CUSTOM_ID
This commit fixes the removal of the `~' character (it needed to be
escaped), add commas and backslashes to the list of characters to be
removed, and updates some `CUSTOM_ID' heading properties accordingly
2020-10-22 13:52:14 +02:00
phundrak 3b865970e4 [Emacs] Yet some more documentation
This commit adds documentation for `phundrak/abbr-pwd', renamed to
`phundrak/abbr-path'
2020-10-22 13:51:50 +02:00
phundrak 72496186f5 [Emacs] Rename eshell/my-prompt', simplify phundrak/abbr-pwd'
This commit renames `eshell/my-prompt' to `phundrak/eshell-prompt'.

`phundrak/abbr-pwd' is now simplified, and it is no longer responsible
for fetching the current path which must now be passed as its first
argument. It will also reject any argument which is neither a string
(should be the only type to be passed for public use) nor a list (for
internal usage).
2020-10-22 13:36:29 +02:00
phundrak a405eb602a [Emacs] Add documentation to undocumented functions 2020-10-22 13:35:04 +02:00
phundrak 9cfa1c1ac4 [Emacs] Code style, prompt fix for Eshell
continuous-integration/drone/push Build is passing
A bug was introduced in b97bbf8 with the fix for Eshell, where the
abbreviated path was not used anymore. This commit fixes it.

This commit also introduces the new macro `phundrak/var-or-if-nil'
which is documented in the code. It has replaced some code already.

The coding style of some recent functions have been updated too,
arguments names now begin with a dollar `$' sign. This is just stylistic
and it has no influence on the code whatsoever.

Finally, some nested `if's in `phundrak/abbr-pwd' were converted in a
single `cond', which led to renaming two variables in order to avoid a
collision between the variable and the function `push' – `pull' has been
renamed accordingly.
2020-10-22 12:50:05 +02:00
phundrak e6bb054b7a [Emacs] Fix references to phundrak/nord* variables
continuous-integration/drone/push Build is passing
2020-10-22 08:45:35 +02:00
phundrak b97bbf8206 [Emacs] Fix git prompt in Eshell
continuous-integration/drone/push Build is passing
2020-10-22 02:03:30 +02:00
phundrak 070b61ef00 [Emacs] Eshell can now abbreviate the path in its prompt
continuous-integration/drone/push Build is passing
The `SPC o t S' keybinding is now also associated with toggling this
option.
2020-10-22 01:57:13 +02:00
phundrak 833a6e1d75 [Emacs] Eshell prompt no longer relies on Magit 2020-10-22 00:52:01 +02:00
phundrak 585695f085 [Emacs] Clarify documentation
continuous-integration/drone/push Build is passing
2020-10-21 23:56:57 +02:00
phundrak 8178eefc14 [Emacs] Additional tweaks for Eshell prompt 2020-10-21 23:56:30 +02:00
phundrak d51b59a963 [Emacs] Enhance powerline theme of Eshell
continuous-integration/drone/push Build is passing
2020-10-21 23:40:37 +02:00
phundrak 5211c24410 [Emacs] Rework Eshell prompt
continuous-integration/drone/push Build is passing
The Eshell prompt is now git-aware with some powerline associated to it.
2020-10-21 23:21:10 +02:00