Commit Graph

360 Commits

Author SHA1 Message Date
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
bdc4e543cf
[Emacs] Add shortcut to eshell 2020-12-02 17:29:37 +01:00
312a7ebf2d
[Emacs] Fix issue with path abbreviation in Eshell 2020-12-02 17:29:14 +01:00
888e237ab8
[Fish] Further theme appearance modification 2020-12-02 17:28:08 +01:00
9004bb84e6
[Fish] Update theme appearance of fish shell 2020-12-02 16:12:49 +01:00
a4e83f1954
[Awesome] Fix behavior of scroll on tags 2020-12-02 14:20:24 +01:00
150c3e0b33
[Emacs] Better org-mode theme 2020-12-02 11:45:12 +01:00
516ff67996
[Emacs] Fix text in mu4e configuration 2020-12-02 11:38:49 +01:00
fe13ebd0cc
[Emacs] Update packages, add Eshell syntax highlight 2020-12-01 21:55:00 +01:00
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
4584aa8f6b
[Bin] Fix org headers and page description 2020-12-01 16:16:59 +01:00
88c83ba51f
[Bin] add ytdl (youtube-dl wrapper) and rofi menu for it 2020-11-29 23:43:37 +01:00
ec14b1c5a7
[Bin] Format update 2020-11-29 23:43:20 +01:00
20affaec43
[Fish] remove ytdl abbr 2020-11-29 13:47:28 +01:00
32d9f690e9
[Awesome] Add shortcut to rofi-ytdl, fix category of other command 2020-11-29 13:46:19 +01:00
2f0b3d1068
[Rofi] Nicer theme in my opinion 2020-11-29 13:28:13 +01:00
05ba577b2f
[Emacs] Better Emacs visual customization 2020-11-28 18:14:52 +01:00
4ee2023364
[Emacs] Add workaround for smartparens issue 2020-11-28 18:14:52 +01:00
fcb10ceccb
[Awesome] Update and add rofi shortcuts 2020-11-28 18:14:52 +01:00
e803c9cd6f
[Bootstrap] Add hugo to list of installed packages 2020-11-28 18:14:41 +01:00
7a9c3075e1
[Bootstrap] Update page’s name 2020-11-27 16:48:03 +01:00
1d5bf5a275
[Emacs] Add custom packages path 2020-11-27 16:48:03 +01:00
9dabe4c67b
[Emacs] Add shortcut for tetris, update org-mode faces 2020-11-27 16:48:03 +01:00
0c3211a046
[Awesome] Update name of script, slightly larger titlebars 2020-11-27 16:47:52 +01:00
6ddf6df989
[Emacs] Add evil keybindings for tetris 2020-11-19 11:29:13 +01:00
c715ae59d9
[Emacs] Fix weird LaTeX output with tabs in source blocks 2020-11-19 11:28:41 +01:00
2da110c745
[Emacs] Fix reference in org file 2020-11-19 11:28:20 +01:00
078756c7d5
[Emacs] Better faces for org-mode 2020-11-19 11:27:43 +01:00
653ac27a8a
[Emacs] Some more beautiful Org-mode 2020-11-14 02:21:45 +01:00
d66d66290b
[Emacs] remove indentation of properties drawers 2020-11-14 02:21:26 +01:00
3a1015b9e7
[Org files] Formatted org files to look better with new org config 2020-11-13 15:18:43 +01:00
e3880c48b1
[Picom] Add exception to background blur 2020-11-13 00:40:27 +01:00
77883c75bd
[Emacs] Dotspacemacs update 2020-11-13 00:39:34 +01:00
e514ed5e33
[Emacs] Prettify Org-mode 2020-11-13 00:38:04 +01:00
55cdad04ca
[Awesome] Add Mattermost to the tag 0 by default 2020-11-06 14:45:52 +01:00
6e9ac2b490
[Bin] Better script for toggling touchpad 2020-11-06 14:45:17 +01:00
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
d40de0fdec
[Bootstrap] Symlink plock' to /usr/bin'
This is needed for xss-lock to work properly
2020-10-29 16:55:20 +01:00
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
b2f31ed88f
[Bin] rename lock utility from lock' to plock' 2020-10-29 16:55:19 +01:00
2795f44e2f
[Emacs] Update shell prompt regex 2020-10-25 11:26:04 +01:00
86de78bedb
[Emacs] Remove some Eshell-specific functions 2020-10-25 11:25:13 +01:00
24beba2616
[Emacs] Better slug generator for custom IDs, update some CUSTOM_IDs 2020-10-25 11:24:04 +01:00
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
e8b206ef94
[Emacs] Change the default mode for the scratch buffer to Elisp 2020-10-22 19:27:23 +02:00
ae94dd23ff
[Emacs] Fix "function definition is void: abbr-pwd" error 2020-10-22 15:48:22 +02:00
7d39ccd8a6
[Emacs] Update Eshell prompt regex 2020-10-22 13:56:04 +02:00
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
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
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
a405eb602a
[Emacs] Add documentation to undocumented functions 2020-10-22 13:35:04 +02:00
9cfa1c1ac4
[Emacs] Code style, prompt fix for Eshell
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
e6bb054b7a
[Emacs] Fix references to phundrak/nord* variables 2020-10-22 08:45:35 +02:00
b97bbf8206
[Emacs] Fix git prompt in Eshell 2020-10-22 02:03:30 +02:00
070b61ef00
[Emacs] Eshell can now abbreviate the path in its prompt
The `SPC o t S' keybinding is now also associated with toggling this
option.
2020-10-22 01:57:13 +02:00
833a6e1d75
[Emacs] Eshell prompt no longer relies on Magit 2020-10-22 00:52:01 +02:00
585695f085
[Emacs] Clarify documentation 2020-10-21 23:56:57 +02:00
8178eefc14
[Emacs] Additional tweaks for Eshell prompt 2020-10-21 23:56:30 +02:00
d51b59a963
[Emacs] Enhance powerline theme of Eshell 2020-10-21 23:40:37 +02:00
5211c24410
[Emacs] Rework Eshell prompt
The Eshell prompt is now git-aware with some powerline associated to it.
2020-10-21 23:21:10 +02:00
31eb64c2ba
[Emacs] add Docker Tramp method, move yadm Tramp method
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.
2020-10-21 17:55:22 +02:00
58f895743e
[Emacs] Simplified python layer 2020-10-21 17:54:57 +02:00
97c0c4c744
[Emacs] Simplify Elisp configuration code, more literate programming
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.
2020-10-21 17:52:10 +02:00
209d835def
[Emacs] Update mu4e shortcuts
Now all bookmarks hide deleted messages except the one dedicated to that
2020-10-20 13:52:59 +02:00
b09de32f9b
[Bin] Update autostart script 2020-10-20 13:52:53 +02:00
942738cbb7
[Bootstrap] Remove unused package, add python poetry 2020-10-20 13:50:28 +02:00
e46a5f3e4c
[Emacs] Remove helm-icons 2020-10-14 18:44:24 +02:00
2b913fa2a7
[Emacs] Remove ESS layer and odf-mode, add org-roam support 2020-10-14 18:42:24 +02:00
522f17e440
[Emacs] whitespace 2020-10-14 18:42:04 +02:00
12491a827b
[Emacs] Update Spacemacs init chapter
This commit syncs the Spacemacs init chapter with Spacemacs’
dotspacemacs template
2020-10-14 18:38:22 +02:00
6b92c8bc4c
[Bin, Awesome] Add touchpad tapping toggling
XF86ToggleTouchpad is now bound to the new script `tttouchpad'
2020-10-14 18:34:30 +02:00
742b3009a8
[Bin, autostart] Remove mpd_discord_richpresence, add xss-lock
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.
2020-10-14 18:32:44 +02:00
4fa4a12f90
[Fish] add support for NVMe SSDs in `fish_greeter' 2020-10-14 18:31:02 +02:00
5f5d991de1
[Bootstrap] Add missing packages in base install 2020-10-14 18:30:36 +02:00
3e3d197d44
[Emacs] Remove common-lisp layer, add Swift layer
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.
2020-10-09 18:11:03 +02:00
80a3a944f3
[Emacs] Remove unused code
This commit removes code that had no effect.
2020-10-09 18:10:31 +02:00
fb0263a3b7
[Emacs] Move out function definition for `phundrak/find-org-files'
This commit promotes a lambda to an actual function and moves it to the
custom functions part.
2020-10-09 18:08:58 +02:00
ae0b14d962
[bin] Add pumopm to startup, new sshbind, deprecate polybar-launch
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.
2020-10-09 18:06:52 +02:00
51474c0054
[Awesome] Add keybinding for changing screen focus
Modkey+o now changes screen focus

Changing a client from screen to screen is now mapped to
Modkey+Shift+o
2020-10-03 20:22:03 +02:00
81ae88c905
[Bootstrap] Add Python LSP packages 2020-10-01 18:27:22 +02:00
d6fa32a202
[Bootstrap] Remove yapf package, add pyls-black python package
`pyls-black' is a new requirement for a proper LSP Python server, and
it is incompatible with `yapf', hence its removal.
2020-10-01 18:21:30 +02:00
ec4a9538e8
[Emacs] Change title format of frame 2020-10-01 09:55:57 +02:00
c66e4329bd
[Bootstrap] Revamped bootstrap
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.
2020-09-28 18:22:38 +02:00
76abb602a2
[Sitemap] Reorganize sitemap 2020-09-28 18:22:38 +02:00
3ae554c976
[Bin, autostart] Remove PumoPM from autostart
PumoPM will soon get a systemd service file, which means it will no
longer be necessary to manually launch it.
2020-09-28 18:22:38 +02:00
7b2c7d8145
[Org source] Fix mkdirp tangling argument 2020-09-28 18:22:32 +02:00
6a41fe96dd
[Emacs] Change default download directory for mu4e 2020-09-23 16:28:00 +02:00
48dcac5479
[Emacs] Added languagetool layer, added ligature support, new font
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.
2020-09-23 16:24:57 +02:00
414eabf1a6
[Emacs] Add shortcut for `helm-locate' 2020-09-17 13:13:48 +02:00
d7c01752cc
[Emacs] Change HTML metadata, fix mu4e filter
The Mu4e filter for my university emails wasn’t working properly, so I
fixed it.
2020-09-17 12:30:30 +02:00
c3eeb62e7f
[Index] Bumped Emacs version 2020-09-14 14:02:41 +02:00
ac7d1f7c31
[Emacs] Renamed spacemacs.org to emacs.org
While the documentation of this commit gets deployed, redirects on my
server should be up
2020-09-13 18:15:21 +02:00
77b133c4ca
[St, Emacs] Change default transparency 2020-09-13 18:08:04 +02:00
f0f07a6cc0
[Emacs] Unified my shortcuts for opening files
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).
2020-09-13 18:07:54 +02:00
9c9fae66d9
[Emacs] Updated configuration for C and C++ layer 2020-09-12 00:48:35 +02:00
1ef2ccc436
[Bootstrap] Removed now unnecessary line
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
2020-09-12 00:42:47 +02:00
62e4b6f52f
[Bootstrap, Org files] Removed tangling of deprecated configurations
This commit removes tangling of deprecated configurations in the
bootstrap script.

It also removes a dunst mention in the spacemacs.org file.
2020-09-12 00:38:11 +02:00
7785198f64
[Emacs, mu4e] Change unread bookmark, add uni and emacs bookmark
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).
2020-09-12 00:34:36 +02:00
175948c3d9
[Emacs] Added minimal width for headers view in mu4e 2020-09-05 19:07:46 +02:00
d509d8a825
[Polybar] Fixed issue with code generation 2020-09-05 19:07:18 +02:00