Commit Graph

502 Commits

Author SHA1 Message Date
Lucien Cartier-Tilet 0927a9911b
[CI] Use lighter Emacs image, remove validation links in HTML
continuous-integration/drone/push Build is passing Details
The docker image used is now Emacs on Alpine, which should be lighter
than the previous one.

The validation link is also now disabled in HTML exports.
2020-09-03 12:52:27 +02:00
Lucien Cartier-Tilet 24f5df77bb
Merge branch 'test-ci' into master
continuous-integration/drone/push Build is passing Details
2020-09-03 12:42:40 +02:00
Lucien Cartier-Tilet a81b314a9e
[CI] Add CI script, add export script
Drone script calls new `export.el' script written in Emacs Lisp to
export all org files to HTML files.

HTML files should then be uploaded to a remote server with SCP
2020-09-03 12:41:07 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet d34d4b0550
[Email Signature] updated email signature 2020-09-03 10:36:38 +02:00
Lucien Cartier-Tilet f6dffb96c0
[Sitemap] Updated sitemap 2020-09-02 16:43:07 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet ff274510e5
[Emacs] Add time display to Emacs’ modeline 2020-08-30 18:51:56 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 1eb3833ad9
[Emacs] Fix shortcut issue with Spacemacs 2020-08-30 18:45:08 +02:00
Lucien Cartier-Tilet 8c6e622a7c
[Emacs] Update width of header window in mu4e 2020-08-30 14:25:21 +02:00
Lucien Cartier-Tilet 39fab94f8c
[Org files] Removed org header 2020-08-29 00:53:07 +02:00
Lucien Cartier-Tilet 5236b27839
[Index] Unmark neofetch config as WIP 2020-08-29 00:38:20 +02:00
Lucien Cartier-Tilet c9d0de36e0
[README] Update links 2020-08-29 00:37:10 +02:00
Lucien Cartier-Tilet 7d8fcb1de6
[Nano, Dunst] Remove config for Dunst, remove submodule for Nano
Dunst is no longer needed on my system, this commit removes its
configuration file.

Since I deprecated my Nano config, this commit removes its syntax
submodule.
2020-08-29 00:31:18 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet c3b1c4b249
[Org] Add header snippet 2020-08-25 06:00:19 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 7345a3deae
Add some required packages, remove some unused 2020-08-22 17:00:44 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet a6fa766771
Switched from Emacs native-comp brach to Emacs 27 2020-08-22 16:52:13 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 8a4feff7bf
Fixed launcher for Flowscape, I use optirun, not prime-run 2020-08-22 16:07:22 +02:00
Lucien Cartier-Tilet 423f52d0d7
Changed default branch name for Git 2020-08-22 16:07:04 +02:00
Lucien Cartier-Tilet 75410a7330
Updated conlanging layer 2020-08-22 16:05:06 +02:00
Lucien Cartier-Tilet 180a7f9c54
Better presentation of Picom config 2020-08-15 18:20:39 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 589b31632e
Update git pull behavior 2020-07-26 10:21:54 +02:00
Lucien Cartier-Tilet 21cbd9d368
Fixed issue with file opening shortcuts generation 2020-07-26 10:21:19 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 0678d9fd43
Removed unused shortcut, added some shortcut prefixes 2020-07-17 15:27:06 +02:00
Lucien Cartier-Tilet c691847ce6
Updated org-capture organization 2020-07-17 15:26:48 +02:00
Lucien Cartier-Tilet 44b747cbf8
Fixed HTML export 2020-07-17 15:26:08 +02:00