`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
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
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).
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.
This commit adds the connection method for Docker containers through
Tramp and stores it under the newly created Tramp heading under which
the implementation of the Yadm connection method is implemented.
The list of languages supported with org-babel is now presented as an
org table.
Common variable values in org projects are now shared through one
variable each instead of having the value repeated.
It seems `mpd_discord_richpresence' has been removed from the AUR, and as
such I cannot install it back for now.
On the other hand, it seems `xss-lock' has been forgotten in the
autostart until now. This is now fixed.
This commit removes the common-lisp layer, as I do not use it anymore.
However, due to college, I need to be able to edit Swift code, hence its
addition.
This commit adds PumoPM back to the autostart script. Its transition to a
systemd unit isn’t complete yet.
`sshbind' has been added as a shorthand for an `ssh' command.
Since I do not use polybar anymore, `polybar-launch' has been deprecated.
Rewrite some parts that were not true anymore about my configuration,
add some interactivity for some settings some users would not
necessarily want.
Some parts that are no longer needed are also removed, such as yay
installation (done with archfi), nano, and go packages.
Some list of packages were made into org tables, and the command is
rewritten in litterate programming from these tables.
This commit adds the `languagetool' layer to my Emacs configuration.
Since Emacs 27.1, fonts ligatures are supported with Cairo. The
`unicode-fonts' adds support for such feature using `ligatures.el'.
Due to the modification above, I changed my default font to Cascadia
Code.
Since all my files that were opened with a `SPC o f' prefixed shortcut
all opened some org file located in precise directories, I unified
them all with a helm menu and only a couple of directories to specify
(I even added some).
This commit removes a line that sets all files in `~/.local/bin' as
executables. It was aimed at scripts exported from `bin.org' but it is
no longer required since the executability of these tangled files is
enforced by the shebang header argument added in commit 8f35b85ef1
The unread bookmark is changed to `bU', reserving the lowercase `u' for
the university emails bookmark.
This commit also adds a bookmark for my Emacs mailing list (the first
indicated list is now obsolete, but I keep it to still be able to see
old messages sent there).
Referring to the previous commit, it is actually better if the mu4e
headers view sets its own width _when a message is opened_ and not
when the headers view itself is opened. This commit also makes it so
that the width is evaluated based on the width of the window of the
headers view’s window rather than the width of the frame since the
message will be opened in a new window that will spawn in the headers
view's window.
This commit fixes a bug introduced in 8c6e622a7c and 69dc8c7d7c where
the mu4e-headers view’s width was set to a dynamic, frame-dependant
value that could not be computed with Emacs launched as a headless
server.
This commit makes this value evaluate when the `mu4e-headers' mode is
activated, and hence it should get the correct width of the current
frame.
This commit removes all python source blocks that were previously used
to generate code. Consequently, the commands for tangling my org files
in the bootstrap script were updated.
[Bootstrap] A shebang header has been added to the org file, removing
the necessity of the shebang code block and manually setting
permissions for the script each time it is tangled.
Custom and local executables will now have the priority over system
executables.
For instance, an `ls' executable located in `$HOME/.local/bin/ls' will
have the priority over `/bin/ls'
This commit changes the font of Emacs from Fantasque Sans Mono to
DejaVu Sans Mono. The latter has a better support for the
International Phonetic Alphabet (IPA) than the former. Font size is
also adjusted.
In the mu4e header view, the width of the header view when a message
is opened is now better handled since it will be calculated
accordingly to the frame and not the window. In Emacs, the frame is
actually what we commonly call a window, and a window is the area in
which buffers are displayed (damn this pre-GUI terminology in Emacs).
There is a bug with Emacs launched as a server though: since it is
launched as a headless service at first, the edited code cannot know
what the size of the frame will be, so the user will have to
re-evaluate this code snippet once the first frame is created, or when
the frame is resized and the user wishes to see this value updated.
A possible fix for this could be to hook this evaluation to when a
message is opened instead of when Emacs spins up.
Removed the head variable for `org-confirm-babel-evaluate' since I set
it to `nil' anyway.
Add `:mkdir yes' to all `:tangle' header arguments so no issues arise
when trying to tangle.
Added three new packages:
- helm-icons for integrating all-the-icons in Helm
- org-tree-slide for orgmode powered presentations
- wrap-region for wrapping selections with other chars than
parenthesis
Renamed variables in my custom Elisp functions so they stand out more
as user-defined variables.
Renamed `shortcuts' to `keybindings'
Added keybindings for `org-tree-slide'
Updated dotspacemacs file
This commit cleans up the source blocks of bin.org by removing the
shebangs from the actual source blocks. They are now passed as header
arguments, making the exported files automatically executable. This
removes the need for the two functions that were in the Introduction
header making tangled files executable or not.
This commit fixes some file tangling that was broken due to some
`:tangle' headers that were left empty.
The environment variable `$VISUAL' is added an is an equivalent of
`$EDITOR'
Abbreviations are reorganized in a more intuitive way.
The displayed uptime was broken, this commit fixes it.
This commit fixes the wrong declaration of prefixes for specific modes
which I did not understand until now what their declaration should
actually have been.
Org files will now open showing only the top-level headings. Tables
will be aligned, images will not be inlined, and code blocks will be
closed by default.
New variables were introduced to the template dotspacemacs file. This
commit adds them in my spacemacs.org configuration file.
The dotspacemacs file was modified. This commit updates it.
This commit removes from the basic packages packages that I have no
use for in my current config. They are mainly related to my i3 config
which I recently deprecated. The following packages were removed:
- dmenu-lpass
- dunst
- i3-gaps-rounded-git
- j4-dmenu-desktop
- less (is installed as a dependency of other packages)
- polybar
- python-pywal
The following packages were added:
- inter-font
- nordic-theme-git
This commit adds two new snippets for Rust, one for an easier way to
write a `println' macro than the default one, and another one for
writing more easily new `new' functions for Rust structs.
It also adds the `common-lisp' layer in Emacs so I can test StumpWM.
`set-screens' used to automatically restart i3. Since I do not use i3
and Awesome needs no restart after invoking this command, I removed
the call to `i3-msg'.
== ALL FILES ==
The org TOCs were unused on export, and Spacemacs makes it useless.
This commits removes them. The startup header of org files is moved to
the header file.
== AWESOME ==
In the Awesome file, this commit removes everything about custom theme
creation as this part is not yet used. I also remade and reorganized
the windows titlebars.
Theme files for Awesome shall be added soon. The wallpaper functions
were updated accordingly.
In the autostart part, I updated some commands (picom will not launch
if another instance is already running, same for the XFCE polkit), and
I added PumoPM to the autolaunched software (power management). Due to
some issues, I also let Awesome one second before launching
`set-screens'.
== AWESOME AND CUSTOM SCRIPTS ==
This commit also removes any usage of pywal. My Awesome configuration
and my custom scripts were updated accordingly.
== CUSTOM SCRIPTS ==
In bin.org, the script `pape-restore' has been removed since it can
now be replaced with the command `nitrogen --restore'. `pape-update'
has also been updated so it doesn’t depend on `pape-restore' and gets
a random wallpaper for nitrogen to set without the help of pywal.
== XRESOURCES / ST AND PICOM ==
St’s transparency was tweaked to match my windows’ titlebar
transparency. It also got the Nord theme mentionned above. Some custom
Picom rule about St’s transparency has been removed.
== PICOM ==
I made it clearer in the index and on Picom’s page Picom is the new
Compton.
== FIREFOX ==
A new git submodule (blurredfox-nord) has been added, which adds some
transparency to Firefox as well as some Nord colors.
== I3 AND POLYBAR ==
My i3 and Polybar config have been deprecated since I do not use them
anymore.
== SPACEMACS ==
Changed shortcuts for config files
I will now try to use Emacs on the native-comp branch, after using it
for a bit it seems a lot faster than your usual Emacs.
Also update Emacs config, with some fixes provided and some overall
improvement.
Added some blacklisted directories to Projectile
Wrote a function to make my code clearer with `add-to-list'
Updated Org Capture shortcuts, in particular the text displayed in the
user interface while entering the shortcuts.
The `meson-mode` package is removed from my custom package list with
the addition of the `meson` layer in Spacemacs.
The `org` layer’s support for Trello is also removed from my
configuration while the support for Hugo is added.
The `c-c++` layer now uses `clangd` as its LSP backend instead of ccls
The `haskell` layer is removed from my configuration
Since it is now broken, instructions for installing a custom `mu`
package on Arch Linux that still enables it has been removed. I will
now use the default `mu` package from the AUR.
The Rust configuration has been updated with some additional
instructions on the reason why some elements are set, and how to
install these. The Rust LSP backend will now use the command `cargo
clippy` instead of `cargo check` to catch errors and warnings.
In i3, the mail shortcut still pointed at Gnus, despite my switch to
mu4e.
In awesome, I added most of the shortcuts found in my i3 config, add
added some custom command handling
`visual-line-mode` is now enabled by default when opening a message,
which will be preferably opened as HTML
Org src block editions will now open to the right of the active buffer
Swapped shortcuts between `wacom-setup` and `pywal`, I use the latter
more often than the former, and now the latter also has the easiest
shortcut of the two
Removed mpd autolaunch since it is now enabled as a systemd user
service
Removed redshift from my system
Added numlockx to autolaunch to ensure the numpad is enabled on my
machine
Updated some paths after the Emacs configuration directory was moved
Some variables in my dotspacemacs were renamed in order to follow the
Spacemacs coding style with a ~//~ used for marking private variables,
and I prefixed their name with ~dotspacemacs-~ in order to avoid any
collision with other packages or configuration I write.
Added back M-« and M-» in order to fix the M-< and M-> shortcuts issue
with the bépo layout.