Commit Graph

560 Commits

Author SHA1 Message Date
c90d876f9a
[Picom] Remove outdated comments 2021-04-19 01:11:06 +02:00
023c847a81
[Emacs] Add TODO for Eshell banner 2021-04-17 13:00:29 +02:00
0b2ba3eaa0
[Emacs] Automatic, Nord-themed dark mode for PDFs 2021-04-17 12:56:44 +02:00
e6ea1aecbb
[Emacs] Better shortcut for terminals, remove reduntant ones
Shortcut `SPC o '' now launches `eshell-new' instead of just plain
`eshell', a new shortcut invokes `vterm', and the shortcut for
`helm-man-woman' is removed in favor of the default one in Spacemacs
2021-04-17 12:56:37 +02:00
e53e019306
[Bin] Reorganize and re-enable some scripts
Due to EXWM being disabled for the time being and switching back to
AwesomeWM, some scripts are re-enabled. The execution order is also
modified.
2021-04-17 12:56:25 +02:00
98720ace22
[Emacs] Add ignored directories and files to recentf 2021-04-17 12:56:23 +02:00
8c640f4118
[Emacs] Add TODO to Eshell banner 2021-04-17 12:56:23 +02:00
a7d14158dc
[Emacs] Whitespace, move header up 2021-04-17 12:56:23 +02:00
8eaa12e619
[Emacs] Apparently this is buggy
EXWM does not work properly if this is used, instead of different
workspaces EXWM will create various frames on top of each other.
2021-04-17 12:56:17 +02:00
43bb79e708
[Emacs] Better settings for EXWM 2021-04-11 16:09:18 +02:00
7f05c46ebc
[Emacs] Remove unused layers 2021-04-11 16:09:18 +02:00
65e5eb022a
[Emacs] Fix some broken settings for Emacs after Spacemacs update 2021-04-11 16:09:14 +02:00
1ad328df7f
[Emacs] Update autostart for EXWM 2021-04-11 16:09:09 +02:00
a1b234fa43
[Emacs] Fix issue with path in Eshell prompt
This commit fixes an issue with the macro `phundrak-var-or-if-nil' by
removing it entirely. For some reason, it was broken in a previous
commit, and the path did not show up in the prompt unless in a git
repository.

Now, `phundrak-var-or-if-nil' is removed entirely.
2021-04-06 10:35:58 +02:00
5819f1a6e8
[Emacs] Beginning to use EXWM
This commit also swaps two headers
2021-04-06 09:46:24 +02:00
a21fae33c8
[Emacs] Move `require's to user-load Spacemacs function 2021-04-06 09:44:46 +02:00
3689587800
[Emacs] Config now correctly tangles without errors
Previously, some code relied on dash.el to generate some code when
tangling my Emacs config, but if Emacs was to be launched without an
up to date tangled configuration, it would attempt to automatically
tangle it. However, due to dash.el not being loaded, it could not find
some of the required functions.

This commit replaces these functions with handmade functions that can
be loaded at tangle-time, and tangling always works.
2021-04-06 09:40:36 +02:00
5b8ac32b15
[Fish] Stop searching packages automatically on wrong command 2021-04-04 12:10:48 +02:00
03438f6e91
[Fish] remove unused abbreviations 2021-04-04 12:10:32 +02:00
8d11177158
[Bin] add xrdb merge to autostart
Apparently my computer stopped doing that automatically
2021-04-04 12:09:10 +02:00
bc67344ba6
[Emacs] Add restclient to the list of languages usable from org 2021-04-02 19:36:01 +02:00
3a72387e3e
[Emacs] Changing naming convention of custom functions and variables
Forward slashes in my persoranl variables and functions have been
replaced by dashes.
2021-04-02 19:36:01 +02:00
be07d87e06
[Emacs] Hide code-generating code 2021-04-02 19:32:01 +02:00
3de5254050
[Bootstrap] Rework installed LaTeX packages
texlive installation should be lighter now
2021-04-01 23:15:15 +02:00
5c1041241f
[Emacs] Fix order of appearance of elements in org code example 2021-04-01 23:15:15 +02:00
c8dea557eb
[Emacs] Add and reorganize ignored paths by recentf-mode 2021-04-01 23:15:15 +02:00
00d847bf09
[Emacs] Enable flycheck by default for emacs-lisp buffers 2021-04-01 23:15:15 +02:00
386cade963
[Emacs] Reorganize some headers, add phundrak/zip() 2021-04-01 23:15:15 +02:00
c6329ba8d8
[Emacs] Better settings for `lsp' layer, switch LSP server for Rust
`lsp-ui' and `lsp-lens' now enabled by default

Rust will now use as its LSP server rust-analyser rather than rls.
2021-04-01 23:15:15 +02:00
ab7988f1b6
[Fish] update `remove' abbreviation 2021-04-01 23:15:15 +02:00
8597280d17
[Bootstrap] Remove ly, update tangled script 2021-03-31 16:22:39 +02:00
902b6d3f67
[Emacs] Reorganize custom functions and variables, update docstrings
Function terminal-here-default-terminal-command removed
2021-03-26 14:27:30 +01:00
d866f0be65
[Misc] Update sitemap 2021-03-26 14:11:39 +01:00
562657cc19
[Emacs] Remove function phundrak/add-all-to-list 2021-03-26 14:10:43 +01:00
81ecf5ce0a
[Awesome, Bin] formatting 2021-03-26 13:52:08 +01:00
dcf42a9340
[Bin] emacs' is now designed as a fallback for emacsclient' 2021-03-26 13:51:22 +01:00
5088871487
[Emacs] Remove unused column 2021-03-26 13:51:02 +01:00
126f265281
[Emacs] Remove indent-guide-mode
It slows Emacs too much and isn’t all that useful actually
2021-03-26 13:50:25 +01:00
8995aeb881
[Emacs] Formatting 2021-03-26 13:50:10 +01:00
841f6b7f85
[Emacs] Give mu4e the ability to export mails to PDF again! 2021-03-26 13:49:22 +01:00
4f7927a5f7
[Emacs] New keybindings for image-mode, change eshell keybinding
The eshell keybinding changes from SPC o a ' to SPC o '

It is now possible to open an image from image-mode in GIMP directly
as well as rotate it.
2021-03-26 13:47:53 +01:00
ffacd7d71a
[Emacs] Ignore some recent files 2021-03-26 13:47:19 +01:00
d4aaecab9b
[Emacs] Better org-mode visuals
Now inline source blocks should be fontified

We should also have better LaTeX handling as well as markers
2021-03-26 13:46:17 +01:00
43b8263702
[Emacs] Add two new custom functions 2021-03-26 13:45:47 +01:00
3909031ae2
[Emacs] Add Scala layer, revert relative lines settings 2021-03-26 13:45:11 +01:00
774f69589a
[Emacs] org-appear now on MELPA 2021-03-26 13:41:11 +01:00
ff83e3d226
[Bin] Move set-screen 2021-03-10 13:09:45 +01:00
7abf902e1d
[Bin] friendship with xidlehook ended xss-lock is my new best friend 2021-03-10 13:07:53 +01:00
1a97dc0884
[Fish] make man pages fancier
Add syntax highlight to man pages through bat
2021-03-10 13:07:00 +01:00
fe5535b590
[Emacs] Change some mu4e settings, change org font
Mu4e:
- Set a better date format for mu4e than the American format
- Remove mu4e relying on w3m

Org:
- change the size of fixed font
- change variable-pitch font
2021-03-10 13:05:21 +01:00
ce00baf6f6
[Emacs] Foud the culprit of Emacs not starting as a daemon
For some reason, roam support prevents Emacs to start as a daemon, so
I’ll remove it for now.
2021-03-10 13:03:31 +01:00
436d5759af
move neofetch out of wip 2021-02-10 21:01:14 +01:00
ab051c8b35
[Emacs] Add email view with Xwidget webkit browser 2021-02-10 21:00:56 +01:00
87af1db5af
Revert "[Bin] Begin to fix wacom-setup, still bugged, see TODO"
This reverts commit 84de2cce7e.

Attempt to fix everything
2021-02-10 20:59:52 +01:00
ea9a5a4d24
Revert "[Bin] Fix wacom-setup script, touchpad configs dropped"
This reverts commit 05a68817ea.
2021-02-10 20:39:16 +01:00
55eb0dfb09
[St] remove st configuration 2021-02-09 17:00:51 +01:00
78a3f5f6ee
[Awesome, Bootstrap] Change default terminal emulator
Switch from st to kitty
2021-02-09 16:58:48 +01:00
fcd76a9bbe
[Emacs] Change font used in org-mode 2021-02-09 16:54:30 +01:00
63353caa48
[Neofetch] Move neofetch config out of WIP, add image backend 2021-02-09 16:54:03 +01:00
05a68817ea
[Bin] Fix wacom-setup script, touchpad configs dropped
For some reason, I don’t see anymore my tablet’s touchpad in the
xinput list, so this commit drops modifications to the touchpad’s
configuration.
2021-02-06 00:55:04 +01:00
95a16788e7
[Emacs] Add function `phundrak/file-to-string', remove shell command
Add function `phundrak/file-to-string' which reads the content of a
file to a string.

Eshell banner makes one less shell command and makes it a bit more
distro-agnostic, although still very Linux-centered.
2021-02-04 14:44:07 +01:00
527380e5ff
[Org, meta] Change formatting of org files 2021-02-04 14:43:09 +01:00
812f252de1
[Fish] Remove, add, update some abbreviations
Abbreviations removed: `p', `surge', `ls', and `feh'
Abbreviations added: `suser', `egui',

Add `devour' to abbreviations `egui', `mpv', `sxiv', `webcam'
2021-02-04 09:50:46 +01:00
95119f7bad
[Fish] Emacs launched in terminal mode when launched from terminal 2021-02-04 09:22:54 +01:00
f3d5b229bd
[Emacs] Remove magit-gitflow, add ox-ssh and org-appear
TODO: Shortcuts should be added to ox-ssh as they do not appear in
org-export-dispatch

TODO: Fix org-appear, it has currently no effect
2021-02-04 09:21:24 +01:00
2538786be8
[Emacs] Replace Swift layer with Java layer 2021-02-04 09:20:52 +01:00
6787e6452a
[Picom] Upgrade from Ibhagwan’s fork to main fork
This made me lose access to rounded corners for now, as they are only
available for legacy backends and the dual_kawase blur is not one of
them.
2021-02-04 09:18:24 +01:00
9062092b1d
[Fish, Emacs, Bootstrap] Replace yay with paru 2021-02-04 09:17:32 +01:00
2ea6cd5ecf
[Fish] Set prompt theme to Nord 2021-02-04 09:14:52 +01:00
84de2cce7e
[Bin] Begin to fix wacom-setup, still bugged, see TODO 2021-02-04 09:14:14 +01:00
051a4a05de
[Awesome] Finer control of screen brightness 2021-02-04 09:13:37 +01:00
503aec3302
[Paru, Bin, Index] Reorganize headers, add dired script, paru conf 2021-01-27 19:03:11 +01:00
3c22c77226
[st] Increase transparency of st to match Firefox and Awesome
Also whitespace with picom.org
2021-01-27 16:40:49 +01:00
10978904f8
[Emacs] Update maildirs in mu4e bookmarks, sign emails
Turns out isync didn’t sync my /Junk directory in which were a lot of
emails I would have liked to read. Now bookmarks referring to /Inbox
also display content from /Junk

Also, emails are automatically signed with PGP/MIME now.
2021-01-27 16:37:35 +01:00
026b005cd0
[Emacs] Better faces for diff-mode 2021-01-21 14:36:16 +01:00
eff1d942a8
[Emacs] Update paths for `phundrak/find-org-files' 2021-01-21 14:35:57 +01:00
2c3f43dbbf
[Emacs] Remove unused shortcut and function 2021-01-21 14:35:48 +01:00
a8557c2274
[Awesome] Add GIMP shortcut 2021-01-21 14:34:30 +01:00
b191f32bca
[Emacs] Add ob-latex-as-png package and setup 2021-01-18 01:42:09 +01:00
a1d29e6bd7
[Emacs] Fix fixed-pitch faces, add svg of org-mode screenshot 2021-01-13 17:13:45 +01:00
3c5cec5df7
[Emacs] Fix fixed-pitch faces 2021-01-10 15:37:06 +01:00
bc7f7e3182
[Bin] Set default soundcard in autostart 2021-01-09 19:16:08 +01:00
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