Commit Graph

88 Commits

Author SHA1 Message Date
Aryadev Chavali
4739f8798f (Emacs/elisp)~adjusting faces in personal-light theme 2024-09-08 02:59:37 +01:00
Aryadev Chavali
fa543ada1f (Emacs/elisp)~moving stuff around, deleting some old stuff 2024-09-08 02:58:26 +01:00
Aryadev Chavali
511961af87 (Emacs/elisp)+evil-mc customisation into personal-solarized 2024-09-08 02:56:48 +01:00
Aryadev Chavali
9af08d84c9 (Emacs/elisp/org-bookmark)~prompts for differing functions 2024-08-24 21:00:16 +01:00
Aryadev Chavali
0e876e09e8 (Emacs/config|elisp)+custom light theme with switches in config.org 2024-08-24 19:59:23 +01:00
Aryadev Chavali
f9d2fdb928 (Emacs/elisp/org-bookmark)+org-bookmark/copy-bookmark-url
Just a nice helper function.
2024-08-21 16:43:39 +01:00
Aryadev Chavali
3bbfab5e4f (Emacs/elisp/org-bookmark)~indenting 2024-08-21 16:43:27 +01:00
Aryadev Chavali
e5c04e7544 (Emacs/elisp/yt-dlp)+package for downloading videos via yt-dlp 2024-08-21 16:42:21 +01:00
Aryadev Chavali
190754abec (Emacs/elisp/mpv)+autoload for comint-mode 2024-08-21 16:42:17 +01:00
Aryadev Chavali
057b15a50d (Emacs/elisp/mpv)-ytdl specific config 2024-08-21 16:42:17 +01:00
Aryadev Chavali
2d7eab9f86 (Emacs/elisp/mpv)~mpv-open-video now takes optional arguments
This optional argument should be a URL we can feed for the mpv
process.
2024-08-21 16:42:14 +01:00
Aryadev Chavali
927a4f96b3 Big update of everything, new machine 2024-08-17 18:54:14 +01:00
Aryadev Chavali
a99487d5f2 (Emacs/elisp)~Removed italic from personal-solarized theme 2024-08-16 12:18:47 +01:00
Aryadev Chavali
714e8d74ec Big push 2024-07-31 17:49:52 +01:00
Aryadev Chavali
35a527c656 (Emacs/elisp)+org-bookmark/make-bookmark function
This will allow for easy automation when using ytsearch: every pair of
results can be wrapped in this expression to generate the videos I
want.
2024-07-27 16:56:23 +01:00
Aryadev Chavali
f740c21d79 (Emacs/elisp)~Make separate module for mpv from org-bookmark 2024-07-27 16:36:34 +01:00
Aryadev Chavali
36ee9d9385 (Emacs/config)+eshell/sudo-switch function 2024-07-27 04:37:12 +01:00
Aryadev Chavali
9449d51aed (Emacs/config|elisp)~+bookmark->org-bookmark and better mpv-args 2024-07-27 04:36:28 +01:00
Aryadev Chavali
4a3fd8ffc2 (Emacs/elisp)~Fix some annoyances in personal solarized theme 2024-07-25 02:57:15 +01:00
Aryadev Chavali
4f934a8a7c (Emacs/elisp/literate)+delete the old output before making a new one
org-babel-tangle-file works doesn't alter timestamps if it thinks the
Emacs Lisp file it could produce isn't any different from the one
already there.  We've already done the stat check, and don't
particularly care for what org-babel-tangle-file thinks.  Hence we
should delete the file to force org-babel-tangle-file to generate a
new file.
2024-07-25 02:41:43 +01:00
Aryadev Chavali
77f54d226a (Emacs/elisp)~Updated themes a bit 2024-07-03 04:27:40 +01:00
Aryadev Chavali
ea232f3110 (Emacs/elisp)~Use a symbol-shorthand to lower the size of symbols in better mode line 2024-07-02 14:16:24 +01:00
Aryadev Chavali
38b69af52b (Emacs/config)~refactor better-mode-line settings
Use new namespace, move evil-state mode-line generation to personal
configuration and add (mode-line-selected-window-p) checks to hide the
left and right segment when they're not the focused window.
2024-07-02 13:24:47 +01:00
Aryadev Chavali
54a00ccd3d (Emacs/elisp)~refactor better-mode-line
New namespace that's tiny bit less verbose, and refactor on padding
generation to stop repeating myself.
2024-07-02 13:24:47 +01:00
Aryadev Chavali
8df9015d09 (Emacs/elisp)+custom solarized based theme 2024-07-02 13:19:51 +01:00
Aryadev Chavali
e2dba6be76 (Emacs/config)~Fix up some stuff in mode line 2024-07-02 00:55:48 +01:00
Aryadev Chavali
2d92763005 (Emacs/elisp/license)~Update license names, +URLs to LICENSE text
Now copyright notices can point to a URL instead of my email.
2024-07-01 04:17:14 +01:00
Aryadev Chavali
257d6ab99d (Emacs/elisp)~update personal-primary 2024-07-01 04:16:05 +01:00
Aryadev Chavali
393038643a (Emacs/elisp)~better-mode-line now ignores margins
(window-width) cares about margins which isn't nice for padding
computations, so I made a function for computing padding sizes
including margins.
2024-07-01 04:16:05 +01:00
Aryadev Chavali
12b62f7cea (Emacs/elisp|config)+new package that generates a mode-line
Using left, centre and right segments generates a mode line with
padded strings that actually achieves this.
2024-07-01 04:16:05 +01:00
Aryadev Chavali
c33474496b (Emacs/elisp)~Fix this annoying C stack overflow error due to theme
Happens in rainbow-delimiters, as I setup weird inheritance when the
package enforces an inheritance of the faces already.
2024-06-30 00:37:21 +01:00
Aryadev Chavali
d9863a069a (Emacs/elisp)~eshell-prompt for git changes 2024-06-28 00:26:47 +01:00
Aryadev Chavali
3588b03713 (Emacs/elisp)~fix eshell-prompt not showing changed files correctly
Simple fix as I didn't call the command before splitting the string
2024-06-27 16:04:14 +01:00
Aryadev Chavali
63f048bacc (Emacs/elisp)+fill-column theme setup 2024-06-27 15:09:44 +01:00
Aryadev Chavali
be2bb62baf (Emacs)~change licensing agreement
I only want to publish under version 2, not version 3.
2024-06-23 21:33:39 +01:00
Aryadev Chavali
e4dfbcbc5d (Emacs/elisp)~Fix stupid typo in +eshell-prompt/--git-status 2024-06-23 21:27:46 +01:00
Aryadev Chavali
a89353eeb8 Tons of changes 2024-06-22 02:26:08 +01:00
Aryadev Chavali
3ef303fb67 (Emacs/elisp)~cl-reduce -> string-join 2024-06-14 02:38:58 +01:00
Aryadev Chavali
e546a66da0 (Emacs/elisp)~search-all cleaned up 2024-06-13 14:18:55 +01:00
Aryadev Chavali
adcd05f2b7 (Emacs/elisp)~search/find-file can now open swiper in new buffer
If some universal argument is given to +search/find-file then after
opening the file it'll open swiper.  This reduces keystrokes and makes
it easier to get to somewhere.
2024-06-13 14:16:44 +01:00
Aryadev Chavali
991104c9a3 (Emacs/elisp)~rework literate.el 2024-06-13 14:16:05 +01:00
Aryadev Chavali
868d0e65bb (Emacs/elisp)~make personal-primary theme's whitespace less noticeable 2024-06-13 00:57:51 +01:00
Aryadev Chavali
f418d17001 (Emacs/config|elisp)~rework Eshell
Now I have separate modules for the additional new functions I
introduced for eshell and for the prompt function I made.  Cleans up
the configuration a bit and makes it easier to examine those files on
their own, which I expect to grow.
2024-06-13 00:56:08 +01:00
Aryadev Chavali
19619813d1 (Emacs/elisp)~org-bookmark now auto loads required org functions
Instead of (require 'org) which loads the entire thing and is quite
expensive, let's autoload what we need.  In the config we load
org-bookmark before org-mode so we may as well do this.

It's also just good practice regardless.
2024-06-11 17:28:03 +01:00
Aryadev Chavali
c64708aaaa (Emacs/elisp)~massively reworked bookmarking system
Now it can:
- cache results until bookmarks file is modified, so we don't need to
open the file again if we've already figured everything out.  This is
in-memory and not as a file

- a proper dispatching list which has pairs of form (PATTERNS . FUNC)
so the dispatching system is a bit more abstract and easier to add to

- use a URL property in org headings to get the bookmark URL rather
than having it as part of the body of the entry.  This means the body
is now free to house any content without affecting the overall
function of the system, such as notes or subtrees for related
bookmarks.
2024-06-11 16:56:52 +01:00
Aryadev Chavali
3de452b775 (Emacs/elisp)+Website directory to search elisp 2024-06-11 01:22:38 +01:00
Aryadev Chavali
830f288423 (Emacs/elisp)~personal primary no longer has differing fonts
Now we just use Hack
2024-06-11 01:21:05 +01:00
Aryadev Chavali
47655b7f03 (Emacs/elisp)~current work in org bookmark 2024-05-31 20:53:59 +05:30
Aryadev Chavali
ab2742cd3e (Emacs/elisp|config)+org-bookmark manager
Opens bookmarks from ~/Text/bookmarks.org with a dispatcher.
2024-05-13 17:32:38 +05:30
Aryadev Chavali
ef5ac4371a (Emacs/elisp)~updated themes a bit 2024-05-13 17:03:27 +05:30