Commit Graph
100 Commits
Author SHA1 Message Date
phundrak 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
phundrak 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
phundrak 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
phundrak 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
phundrak ff274510e5 [Emacs] Add time display to Emacs’ modeline 2020-08-30 18:51:56 +02:00
phundrak 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
phundrak 1eb3833ad9 [Emacs] Fix shortcut issue with Spacemacs 2020-08-30 18:45:08 +02:00
phundrak 8c6e622a7c [Emacs] Update width of header window in mu4e 2020-08-30 14:25:21 +02:00
phundrak 39fab94f8c [Org files] Removed org header 2020-08-29 00:53:07 +02:00
phundrak 5236b27839 [Index] Unmark neofetch config as WIP 2020-08-29 00:38:20 +02:00
phundrak c9d0de36e0 [README] Update links 2020-08-29 00:37:10 +02:00
phundrak 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
phundrak 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
phundrak 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
phundrak 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
phundrak 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
phundrak 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
phundrak 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
phundrak 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
phundrak 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
phundrak 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
phundrak 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
phundrak c3b1c4b249 [Org] Add header snippet 2020-08-25 06:00:19 +02:00
phundrak 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
phundrak 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
phundrak 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
phundrak 7345a3deae Add some required packages, remove some unused 2020-08-22 17:00:44 +02:00
phundrak 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
phundrak a6fa766771 Switched from Emacs native-comp brach to Emacs 27 2020-08-22 16:52:13 +02:00
phundrak 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
phundrak 8a4feff7bf Fixed launcher for Flowscape, I use optirun, not prime-run 2020-08-22 16:07:22 +02:00
phundrak 423f52d0d7 Changed default branch name for Git 2020-08-22 16:07:04 +02:00
phundrak 75410a7330 Updated conlanging layer 2020-08-22 16:05:06 +02:00
phundrak 180a7f9c54 Better presentation of Picom config 2020-08-15 18:20:39 +02:00
phundrak 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
phundrak 589b31632e Update git pull behavior 2020-07-26 10:21:54 +02:00
phundrak 21cbd9d368 Fixed issue with file opening shortcuts generation 2020-07-26 10:21:19 +02:00
phundrak 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
phundrak 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
phundrak 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
phundrak 0678d9fd43 Removed unused shortcut, added some shortcut prefixes 2020-07-17 15:27:06 +02:00
phundrak c691847ce6 Updated org-capture organization 2020-07-17 15:26:48 +02:00
phundrak 44b747cbf8 Fixed HTML export 2020-07-17 15:26:08 +02:00
phundrak b01bd780be updated mimeapps 2020-07-17 11:15:36 +02:00
phundrak 15052ea5c1 Better Emacs shortcuts for opening files 2020-07-16 15:05:02 +02:00
phundrak f5ee3b5c03 Reorganized and renamed some elements in org capture settings 2020-07-16 14:29:58 +02:00
phundrak f1b242faca Remove comments from tangled files in Emacs config 2020-07-16 14:26:04 +02:00
phundrak 6bd0452e06 Use setupfile instead of include in org files 2020-07-16 14:25:18 +02:00
phundrak 8fa6dc2ccc removed unused fontawesome link, better keywords 2020-07-16 14:24:40 +02:00
phundrak 8b5df0d40b Overhaul of the org capture section, way more readable 2020-07-16 13:20:54 +02:00
phundrak 1b06e3dbd2 Added Matomo tracking code 2020-07-16 13:20:06 +02:00
phundrak c43cc10f06 Added automatic screens config 2020-07-16 13:19:36 +02:00
phundrak db79ad2080 MPD now auto-updates on songs added in the ~/Music dir 2020-07-11 18:32:09 +02:00
phundrak bd5922e7d7 Removed unused shortcuts 2020-07-11 18:31:52 +02:00
phundrak e04333b237 Bumped Wonderdraft’s version 2020-07-11 18:22:01 +02:00
phundrak b851b6144c Added git alias cl1 2020-07-11 18:21:35 +02:00
phundrak b7d437507d Updated Emacs packages, removed unused line 2020-07-11 18:21:15 +02:00
phundrak 9fa6082dab Updated Awesome shortcuts 2020-07-11 18:20:56 +02:00
phundrak c803be2505 Updated keyboard configuration, removed related Awesome autostart 2020-07-11 18:20:44 +02:00
phundrak d3d7f118e1 Updated windows organization, added autostart command 2020-07-11 18:16:51 +02:00
phundrak d1ce2653e9 Fixed awiki script 2020-07-11 18:15:46 +02:00
phundrak 75de6a568b Updated st transparency 2020-07-11 18:15:24 +02:00
phundrak 38ccd3362d Better uptime format, added variable for Dart development 2020-07-11 18:14:49 +02:00
phundrak 1c7173764d Removed ccls package from bootstrap script 2020-07-11 18:12:08 +02:00
phundrak 0f9975a7bf Better regex for generating custom org IDs 2020-07-11 18:06:35 +02:00
phundrak 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
phundrak 3e033d7529 updated mimeapps 2020-07-01 14:58:37 +02:00
phundrak 034090ffb1 Sorted scripts alphabetically 2020-06-14 20:58:07 +02:00
phundrak c19d4b0d96 Removed unused Lua function in Awesome config 2020-06-14 20:57:47 +02:00
phundrak fa3faba5a2 Better wallpaper handling in Awesome with new tools from bin.org 2020-06-14 20:53:27 +02:00
phundrak 6843dfbdbc This breaks my code tangling 2020-06-14 20:51:56 +02:00
phundrak ab489600c1 Fixed links broken with previous commit 2020-06-07 19:07:02 +02:00
phundrak d6f688d985 Updated headings’ custom ID 2020-06-07 17:43:20 +02:00
phundrak ef67fa6e25 Better org CUSTOM_ID properties
See https://blog.phundrak.com/better-custom-ids-orgmode/
2020-06-05 15:46:14 +02:00
phundrak b81224865f better headers 2020-06-01 17:53:20 +02:00
phundrak 032a10d0fa Updated conlanging layer for Spacemacs 2020-05-29 17:53:39 +02:00
phundrak e1557c3999 Changed font of my terminal (same as Emacs), removed unused line 2020-05-29 17:41:28 +02:00
phundrak f068368fc9 Changed the location of the Dart SDK 2020-05-29 17:41:04 +02:00
phundrak b2846dc476 Added shortcut to modify how org-src buffers spawn 2020-05-29 17:40:33 +02:00
phundrak 90c3bcde72 Added packages to install, fixed issue with tangling 2020-05-28 12:05:36 +02:00
phundrak 389a740d57 Updated org projects’ export location 2020-05-28 11:58:23 +02:00
phundrak 1c9a21d72c Fixed issue so PATH directories aren’t added each time fish starts 2020-05-28 11:57:41 +02:00
phundrak 3f553a2b43 Fixed display so mount names can be a bit longer 2020-05-28 11:57:14 +02:00
phundrak 8bbd4403d4 Fixed issue with backup when used with directories 2020-05-28 11:56:31 +02:00
phundrak 40f43c704a Fixed rainymood fish function 2020-05-28 11:56:13 +02:00
phundrak 6bb04f5fd5 Restored accidentaly deleted data 2020-05-28 11:55:40 +02:00
phundrak fc6ae3d322 Added other packages to required packages 2020-05-18 02:16:33 +02:00
phundrak a534c58b91 Removed workaround for python-jedi bug 2020-05-17 21:03:22 +02:00
phundrak 7e4e669de9 Added go as new package to be installed 2020-05-17 20:51:04 +02:00
phundrak 5df567954f Forgot to remove those 2020-05-17 20:39:17 +02:00
phundrak bedb554e75 removed generated comments on tangle 2020-05-17 20:32:23 +02:00
phundrak e376f3153d Forgot to add fish code generation 2020-05-17 20:16:56 +02:00
phundrak c0e89be6fa Fixed issue with files tangling, added and removed some packages 2020-05-17 20:10:09 +02:00
phundrak f88e8cea66 Removed unused html files 2020-05-17 20:02:22 +02:00
phundrak 0243f490f6 better org files, updated installation packages 2020-05-17 15:04:07 +02:00
phundrak e30c4a5f57 Updated conlang-layer module for Spacemacs 2020-05-01 23:02:22 +02:00
phundrak 0f3623c167 Replaced the old bépo layout with the bépo Afnor layout 2020-04-30 20:35:24 +02:00
phundrak 16f127f0d8 Updated neofetch config 2020-04-30 11:16:46 +02:00
phundrak 96311c6038 Updated install script 2020-04-29 21:20:15 +02:00
phundrak 3a73b4d96c Updated header 2020-04-29 21:19:43 +02:00