Commit Graph

578 Commits

Author SHA1 Message Date
a7db109206
[Emacs] Fix org-block background color, fix mu4e face
org-block background color was too light and had too little contrast
with the selection face. Similarly, `mu4e-highlight-face' was empty.
This commit fixes that by giving org-block a darker background and
`mu4e-highlight-face' a background and foreground color.
2021-01-09 14:36:19 +01:00
a04064848d
[Emacs] Prevent unrequired connections to host Tilo
Having a project located in a remote host in
`projectile-ignored-projects' made Emacs often connect to Tilo for no
apparent reasons. This commit should fix it.
2021-01-08 22:38:48 +01:00
2919c7b286
[Emacs] Change theme to official nord theme, fix faces
I use now the official nord theme found on Articices Studio’s Github.

Faces broke partly due to two different calls to
`custom-theme-set-faces'. This can be fixed by putting all faces
editions together. However, this commit also removes custom faces for
mu4e since colors are no longer broken.

The code for faces is now generated from the org tables in the
related subheadings.
2021-01-08 03:43:33 +01:00
1b5fb4144d
[Emacs] Better which-key description for shortcut 2021-01-07 19:14:45 +01:00
13943e5775
[Bootstrap] Add tldr to list of installed packages 2021-01-07 19:14:22 +01:00
26053b0e8b
[Bin] Fix issue downloading videos with ytdl
When downloading a whole channel, ytdl used to download everything
including playlists displayed on the user’s main page. Now, a check
is performed in order to verify if the URL passed is a channel, and
if it is only download the videos listed on their uploads page.
2021-01-06 16:10:39 +01:00
7a676a1f88
[Emacs] Go back to horizontal separation in mu4e 2021-01-05 23:53:44 +01:00
a40d7472a1
[Emacs] Fix find-org-files when in TRAMP connection 2021-01-05 16:50:36 +01:00
e8121b452f
[Emacs] Add shortcut to spawn new Eshell buffer 2021-01-05 16:43:45 +01:00
371b653ffe
[Emacs] Add shortcut for sorting lines 2021-01-04 16:15:27 +01:00
0166ec0a02
[Bin] add utility to unify how a wallpaper is set 2021-01-04 15:00:40 +01:00
d977b1a88b
[Emacs] Add again eshell syntax highlight 2021-01-04 14:17:09 +01:00
fcc16e8f98
[Emacs] Fix org faces
Between Emacs 28.0.50.145785 and Emacs 28.0.50.146000, a commit broke my
face config, and inheriting from `fixed-pitch' no longer made my faces
fixed-pitched. This commit therefore sets directly the font of the faces
than need to be fixed-pitched instead of relying on the `fixed-pitch'
face.
2021-01-04 14:17:09 +01:00
b027b2b03b
[Bin] reorganize order of autostart 2021-01-04 14:10:32 +01:00
552c91b473
[Bin] set-pape now supports subdirectories, fix select-pape
`set-pape' now find all files in $PAPESDIR, including subdirectories.
The way the wallpaper is randomly selected is also simplified, and the
script is now written in bash rather than in fish.

`select-pape' now writes to $HOME/.cache/wallpaper only when a wallpaper
is selected. Otherwise, nothing is done.
2021-01-04 14:10:15 +01:00
8c52c44931
[Emacs] Fix heading in captured files 2021-01-02 15:36:26 +01:00
a56d24eb5a
[Bin] Fix autostart and select-pape
Autostart did not detect properly if some processes were actually
running or not. This commit fixes it and only launches programs marked
to run only once only when they are not already running.

select-pape did not set its cache file in the correct location, this is
now fixed
2021-01-02 14:13:13 +01:00
805bc608fc
[Bin] Reorganize bin.org, add select-pape script
Now wallpaper-related scripts use xwallpaper instead of nitrogen

select-pape gives the user the ability to choose their wallpaper throguh
sxiv and xwallpaper
2021-01-02 13:52:47 +01:00
1d7cbe8915
[Awesome, Bin, Bootstrap] Replace nitrogen with xwallpaper 2021-01-02 13:52:18 +01:00
c965df6b65
[Awesome] Remove unused keybindings 2021-01-02 13:26:53 +01:00
a0b258581a
[Bin] Fix issue with awiki
This commit fixes an issue with awiki where selecting a page which title
contains whitespace would not open the page in the browser due to
remaining whitespace. This commit fixes it by replacing whitespace with
underscores.
2021-01-02 13:26:30 +01:00
182a8e62db
[Bin] ytplay now plays audio too 2021-01-02 00:59:07 +01:00
3ef805e07b
[Emacs] For some reason, this made Emacs break 2021-01-02 00:58:31 +01:00
ec1169b3b7
[Emacs] Add leader key for evil-lisp-state 2020-12-30 00:12:14 +01:00
842c1253fd
[Emacs] Fix broken Wttr.in package 2020-12-30 00:11:53 +01:00
ac9c34dcf1
[Emacs] Update and fix org capture 2020-12-30 00:11:22 +01:00
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
b9d4d6b180
[Emacs] Add swift to org-babel languages, neater noweb code 2020-12-27 19:00:30 +01:00
4ccab5440a
[Emacs] Run bibtex when exporting org to latex 2020-12-27 17:02:18 +01:00
7692337dc0
[Emacs] Reorganize some chapters 2020-12-27 17:01:50 +01:00
e57da4e348
[Emacs] Make orgmode dates fixed-width 2020-12-27 17:00:46 +01:00
5ee319212d
[Emacs] Wider images in org-mode 2020-12-24 22:19:20 +01:00
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
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
9c775aa613
[Emacs] Fix leading whitespace in org capture templates 2020-12-23 04:52:53 +01:00
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
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
9710304da7
[Emacs] Add part on how this litterate config works 2020-12-23 02:13:45 +01:00
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
bcd9ec58b5
[Emacs] Use rsync protocol instead of ssh for org projects 2020-12-21 20:45:30 +01:00
7228d91979
[Meta] Update website image header 2020-12-21 20:45:11 +01:00
82ae905195
[Emacs] Fix SVG integration, better example org buffer 2020-12-21 18:19:10 +01:00
a33fa55ab7
[Emacs] Move org visual configuration, add screenshot of org buffer 2020-12-21 15:00:35 +01:00
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
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
013eca17d3
[Emacs] Better description 2020-12-19 17:24:47 +01:00
79ded07aeb
[Emacs] Simpler code, uninstall unused packages 2020-12-19 17:24:17 +01:00
860e7c9d8b
[Awesome] Change chapter name 2020-12-10 10:34:34 +01:00
dc41032190
[Emacs] Yet better face for replied to and forwarded emails in mu4e 2020-12-10 10:34:02 +01:00
a47a471321
[Bootstrap] Add basic backage for installation 2020-12-10 10:20:54 +01:00
6665074db0
[Org files] Formatting 2020-12-10 10:20:21 +01:00
54e9e00078
[Fish] Better handling of user-defined paths 2020-12-10 10:06:46 +01:00
38843d8a4e
[Fish] Org file formatting 2020-12-10 10:06:32 +01:00
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
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
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
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
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
5f129d953a
[Emacs] Make Elisp source codes use lexical binding in org file 2020-12-07 18:34:48 +01:00
12c92fefbc
[Emacs] Add Eshell screenshot 2020-12-07 17:42:51 +01:00
eee5575a2d
[Emacs] Move back code from custom layer to config for Dired 2020-12-07 17:39:33 +01:00
77bd751c05
[Emacs] Add function for taking SVG screenshots of Emacs 2020-12-07 16:24:44 +01:00
9d0dea47a4
[Emacs] Add code for beautiful Eshell banner 2020-12-07 15:00:00 +01:00
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
dd60197fec
[Emacs] Add shortcut for publishing my blog 2020-12-06 11:30:44 +01:00
ff12dbe2c9
[Emacs] Make `phundrak/blog-publish' interactive 2020-12-06 01:34:08 +01:00
541577f933
[Emacs] Add blog publishing function, reorganize order of headers 2020-12-06 00:55:33 +01:00
83d1dad6d5
[Emacs] Add Plantuml layer 2020-12-05 16:10:25 +01:00
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
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-22 15:48:22 +02:00
7d39ccd8a6
[Emacs] Update Eshell prompt regex
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
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
e6bb054b7a
[Emacs] Fix references to phundrak/nord* variables
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-22 08:45:35 +02:00
b97bbf8206
[Emacs] Fix git prompt in Eshell
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-22 02:03:30 +02:00
070b61ef00
[Emacs] Eshell can now abbreviate the path in its prompt
All checks were successful
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
833a6e1d75
[Emacs] Eshell prompt no longer relies on Magit 2020-10-22 00:52:01 +02:00
585695f085
[Emacs] Clarify documentation
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-21 23:40:37 +02:00
5211c24410
[Emacs] Rework Eshell prompt
All checks were successful
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
31eb64c2ba
[Emacs] add Docker Tramp method, move yadm Tramp method
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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'
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-17 13:13:48 +02:00
d7c01752cc
[Emacs] Change HTML metadata, fix mu4e filter
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-14 14:02:41 +02:00
ac7d1f7c31
[Emacs] Renamed spacemacs.org to emacs.org
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-12 00:48:35 +02:00
1ef2ccc436
[Bootstrap] Removed now unnecessary line
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-05 19:07:46 +02:00
d509d8a825
[Polybar] Fixed issue with code generation 2020-09-05 19:07:18 +02:00
820f23326f
[Emacs] Issue fixed upstream
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-04 12:16:08 +02:00
eb8a3c6db8
[Emacs] Renamed Spacemacs configuration page to Emacs
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-04 12:11:21 +02:00
d50f38db49
[Emacs] Mu4e react to window width rather than frame width
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.
2020-09-04 12:10:54 +02:00
988596a904
[Emacs] Fix evaluation issue of `mu4e-headers-visible-columns' eval
All checks were successful
continuous-integration/drone/push Build is passing
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.
2020-09-04 11:24:46 +02:00
b50b403f41
[Org files] remove python code for tangling, updated shebang
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.
2020-09-03 12:21:47 +02:00
d34d4b0550
[Email Signature] updated email signature 2020-09-03 10:36:38 +02:00
f6dffb96c0
[Sitemap] Updated sitemap 2020-09-02 16:43:07 +02:00
2187348425
[Fish] Change the order of the $PATH variable
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'
2020-09-02 13:43:03 +02:00
69dc8c7d7c
[Emacs] Change font to DejaVu Sans Mono, better mu4e visual config
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.
2020-09-02 13:35:04 +02:00
35556d9d3a
[Emacs] Add s.el library
This commit adds the s.el string library for Emacs Lisp to the list of
installed packages
2020-09-02 13:34:18 +02:00
c290305a26
[Awesome, Bin.org] Change the way my programs autostart
Autostarting my programs are now done through a shell script, which
Awesome calls.
2020-09-02 13:28:14 +02:00
84aba5216f
[Emacs] Yasnippet snippets are now tangled from spacemacs.org
Since all my snippets are now contained in my spacemacs.org file, this
commit removes all my snippets files from this repository.
2020-09-02 13:26:50 +02:00
ff274510e5
[Emacs] Add time display to Emacs’ modeline 2020-08-30 18:51:56 +02:00
7388fccc27
[Emacs] Make GPG in Emacs more secure
GPG buffers will now be closed after a minute of idling
2020-08-30 18:45:59 +02:00
1eb3833ad9
[Emacs] Fix shortcut issue with Spacemacs 2020-08-30 18:45:08 +02:00
8c6e622a7c
[Emacs] Update width of header window in mu4e 2020-08-30 14:25:21 +02:00
39fab94f8c
[Org files] Removed org header 2020-08-29 00:53:07 +02:00
5236b27839
[Index] Unmark neofetch config as WIP 2020-08-29 00:38:20 +02:00
7177981ec5
[Neofetch] Remove manual config of neofetch, replace it with orgmode
My neofetch config will now be written in pure orgmode with
neofetch.org. The previous config.conf file for Neofetch is no longer
needed in this repo.
2020-08-29 00:27:24 +02:00
18612dd257
[Web headers] Update link to CSS file for HTML exports
Since commit e710c594f1 in
https://labs.phundrak.com/phundrak/org-website-backend, the main CSS
file to load is `main.css' and not `style.css'. This commit fixes that
2020-08-29 00:25:12 +02:00
727f07b2e5
[Index, Nano] Update index, deprecate Nano config
The index page now immediately lists all the pages that can be found
on my website.

This commit also deprecates my Nano config.
2020-08-28 16:37:12 +02:00
5b4409725c
[Emacs] Remove unused code, reorganize file, add configuration
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
2020-08-28 16:15:46 +02:00
329d419b41
[Xresources, St] Fix st alpha
This commit fixes a typo in St’s alpha channel declaration.
2020-08-28 15:45:33 +02:00
8f35b85ef1
[Bin] Remove shebang from source, add it as header argument
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.
2020-08-28 15:43:17 +02:00
802384a98c
[Fish] Fix tangling, add some abbreviations, reorganize them
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.
2020-08-28 15:39:39 +02:00
78aa7cb9fc
[Emacs] Spacemacs suffixes for mode-bound shortcuts fixed
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.
2020-08-25 07:11:20 +02:00
d0a683ec23
[General] Changed default view when opening org configuration files
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.
2020-08-25 06:23:05 +02:00
342eba117c
[Emacs] Update Emacs configuration
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.
2020-08-25 06:16:28 +02:00
d3e504666f
[Bootstrap] Remove and add some basic packages
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
2020-08-24 14:45:58 +02:00
a715318736
[GTK] Update GTK2 and GTK3 config
GTK2 finally gets its gtkrc file, and both file now use the Nord theme
2020-08-24 14:44:35 +02:00
2a19478995
[Emacs] Add new Rust snippets, common-lisp layer
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.
2020-08-24 14:41:09 +02:00
7345a3deae
Add some required packages, remove some unused 2020-08-22 17:00:44 +02:00
166f2094df
Better sed' command and fixed set-screens'
`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'.
2020-08-22 16:52:32 +02:00
a958ee8a60
Remove unused parts, updated my theme
== 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
2020-08-22 16:46:33 +02:00
180a7f9c54
Better presentation of Picom config 2020-08-15 18:20:39 +02:00
42d32d31fe
Add Emacs PKGBUILD with native-comp branch, update spacemacs conf
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.
2020-08-13 14:23:24 +02:00
21cbd9d368
Fixed issue with file opening shortcuts generation 2020-07-26 10:21:19 +02:00
fc9cfd3a3c
Remove unused code, overhaul of file opening shortcuts section
Remove adding myself as a Bcc to emails, I don’t need that with mu4e

Shortcuts for opening files are now generated from org tables.
2020-07-23 13:53:24 +02:00
0f7c20e8c9
Added custom Projectile config, revised elisp and Org Capture
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.
2020-07-20 16:02:27 +02:00
540b47dc3c
Changed Xorg config of keyboard
Several layouts changed with the Menu key was too much of a pain in
the back, so the only default layout now is the bépo layout
2020-07-17 16:56:41 +02:00
0678d9fd43
Removed unused shortcut, added some shortcut prefixes 2020-07-17 15:27:06 +02:00
c691847ce6
Updated org-capture organization 2020-07-17 15:26:48 +02:00
44b747cbf8
Fixed HTML export 2020-07-17 15:26:08 +02:00
15052ea5c1
Better Emacs shortcuts for opening files 2020-07-16 15:05:02 +02:00
f5ee3b5c03
Reorganized and renamed some elements in org capture settings 2020-07-16 14:29:58 +02:00
f1b242faca
Remove comments from tangled files in Emacs config 2020-07-16 14:26:04 +02:00
6bd0452e06
Use setupfile instead of include in org files 2020-07-16 14:25:18 +02:00
8fa6dc2ccc
removed unused fontawesome link, better keywords 2020-07-16 14:24:40 +02:00
8b5df0d40b
Overhaul of the org capture section, way more readable 2020-07-16 13:20:54 +02:00
1b06e3dbd2
Added Matomo tracking code 2020-07-16 13:20:06 +02:00
c43cc10f06
Added automatic screens config 2020-07-16 13:19:36 +02:00
bd5922e7d7
Removed unused shortcuts 2020-07-11 18:31:52 +02:00
9fa6082dab
Updated Awesome shortcuts 2020-07-11 18:20:56 +02:00
c803be2505
Updated keyboard configuration, removed related Awesome autostart 2020-07-11 18:20:44 +02:00
d3d7f118e1
Updated windows organization, added autostart command 2020-07-11 18:16:51 +02:00
d1ce2653e9
Fixed awiki script 2020-07-11 18:15:46 +02:00
75de6a568b
Updated st transparency 2020-07-11 18:15:24 +02:00
38ccd3362d
Better uptime format, added variable for Dart development 2020-07-11 18:14:49 +02:00
1c7173764d
Removed ccls package from bootstrap script 2020-07-11 18:12:08 +02:00
0f9975a7bf
Better regex for generating custom org IDs 2020-07-11 18:06:35 +02:00
2885e1da34
Remove package, update layers, remove custom mu, Rust update
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.
2020-07-11 18:00:09 +02:00
034090ffb1
Sorted scripts alphabetically 2020-06-14 20:58:07 +02:00
c19d4b0d96
Removed unused Lua function in Awesome config 2020-06-14 20:57:47 +02:00
fa3faba5a2
Better wallpaper handling in Awesome with new tools from bin.org 2020-06-14 20:53:27 +02:00
6843dfbdbc
This breaks my code tangling 2020-06-14 20:51:56 +02:00
ab489600c1
Fixed links broken with previous commit 2020-06-07 19:07:02 +02:00
d6f688d985
Updated headings’ custom ID 2020-06-07 17:43:20 +02:00
ef67fa6e25
Better org CUSTOM_ID properties
See https://blog.phundrak.com/better-custom-ids-orgmode/
2020-06-05 15:46:14 +02:00
b81224865f
better headers 2020-06-01 17:53:20 +02:00
e1557c3999
Changed font of my terminal (same as Emacs), removed unused line 2020-05-29 17:41:28 +02:00
f068368fc9
Changed the location of the Dart SDK 2020-05-29 17:41:04 +02:00
b2846dc476
Added shortcut to modify how org-src buffers spawn 2020-05-29 17:40:33 +02:00
90c3bcde72
Added packages to install, fixed issue with tangling 2020-05-28 12:05:36 +02:00
389a740d57
Updated org projects’ export location 2020-05-28 11:58:23 +02:00
1c9a21d72c
Fixed issue so PATH directories aren’t added each time fish starts 2020-05-28 11:57:41 +02:00
3f553a2b43
Fixed display so mount names can be a bit longer 2020-05-28 11:57:14 +02:00
8bbd4403d4
Fixed issue with backup when used with directories 2020-05-28 11:56:31 +02:00
6bb04f5fd5
Restored accidentaly deleted data 2020-05-28 11:55:40 +02:00
fc6ae3d322
Added other packages to required packages 2020-05-18 02:16:33 +02:00
a534c58b91
Removed workaround for python-jedi bug 2020-05-17 21:03:22 +02:00
7e4e669de9
Added go as new package to be installed 2020-05-17 20:51:04 +02:00
5df567954f
Forgot to remove those 2020-05-17 20:39:17 +02:00