Commit Graph

266 Commits

Author SHA1 Message Date
phundrak 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
phundrak 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
phundrak 81ae88c905 [Bootstrap] Add Python LSP packages 2020-10-01 18:27:22 +02:00
phundrak 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
phundrak ec4a9538e8 [Emacs] Change title format of frame 2020-10-01 09:55:57 +02:00
phundrak 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
phundrak 76abb602a2 [Sitemap] Reorganize sitemap 2020-09-28 18:22:38 +02:00
phundrak 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
phundrak 7b2c7d8145 [Org source] Fix mkdirp tangling argument 2020-09-28 18:22:32 +02:00
phundrak 6a41fe96dd [Emacs] Change default download directory for mu4e 2020-09-23 16:28:00 +02:00
phundrak 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
phundrak 414eabf1a6 [Emacs] Add shortcut for `helm-locate' 2020-09-17 13:13:48 +02:00
phundrak 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
phundrak c3eeb62e7f [Index] Bumped Emacs version 2020-09-14 14:02:41 +02:00
phundrak 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
phundrak 77b133c4ca [St, Emacs] Change default transparency 2020-09-13 18:08:04 +02:00
phundrak 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
phundrak 9c9fae66d9 [Emacs] Updated configuration for C and C++ layer 2020-09-12 00:48:35 +02:00
phundrak 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
phundrak 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
phundrak 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
phundrak 175948c3d9 [Emacs] Added minimal width for headers view in mu4e 2020-09-05 19:07:46 +02:00
phundrak d509d8a825 [Polybar] Fixed issue with code generation 2020-09-05 19:07:18 +02:00
phundrak 820f23326f [Emacs] Issue fixed upstream 2020-09-04 12:16:08 +02:00
phundrak eb8a3c6db8 [Emacs] Renamed Spacemacs configuration page to Emacs 2020-09-04 12:11:21 +02:00
phundrak 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
phundrak 988596a904 [Emacs] Fix evaluation issue of `mu4e-headers-visible-columns' eval
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
phundrak 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
phundrak d34d4b0550 [Email Signature] updated email signature 2020-09-03 10:36:38 +02:00
phundrak f6dffb96c0 [Sitemap] Updated sitemap 2020-09-02 16:43:07 +02:00
phundrak 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
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 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