Commit Graph

1388 Commits

Author SHA1 Message Date
Aryadev Chavali
b0523a50c7 (*)~lots of small changes
~ changed emacs theme background for isearch

~ updated default.el

~ changed vim theme
2023-03-19 17:55:34 +00:00
Aryadev Chavali
d531c74dee (SystemD)+very simple backup service
Timer which runs weekly, copying my directory completely.  Very naive,
I'm thinking compression should be my first effort.
2023-03-06 04:02:52 +00:00
Aryadev Chavali
5192bb839b (programs)~updated programs via pacman -Q
I might do this regularly, so when setting up a new machine I know
what packages I used on my other machines.
2022-12-01 08:01:55 +00:00
Aryadev Chavali
a1f8cc34aa (Emacs)+better comments with copyright 2022-12-01 08:01:55 +00:00
Aryadev Chavali
ffb0f21920 (SXHkD)~change brightness commands 2022-11-24 00:41:34 +00:00
Aryadev Chavali
7629789b92 (*)~few changes, not massive 2022-11-24 00:39:55 +00:00
Aryadev Chavali
2d51311461 (Emacs)~change pdf-tools recipe 2022-10-11 10:31:37 +01:00
Aryadev Chavali
ea8cd97ea6 (*)~changes to make biber work 2022-10-11 10:29:53 +01:00
Aryadev Chavali
289c9a2385 (Emacs)+some more theming for personal-primary 2022-10-11 10:29:23 +01:00
Aryadev Chavali
04b861e430 (Emacs)~changed a lot of stuff
+org-ref
+xref config
~descriptions
2022-10-11 10:28:50 +01:00
Aryadev Chavali
7aaf2f7ac6 Merge remote-tracking branch 'origin/master' 2022-09-18 15:32:26 +01:00
Aryadev Chavali
591a4b065c (Shell)~zprofile init messages
Looks nicer, fancier and gives me a warm feeling inside.
2022-09-18 15:31:25 +01:00
Aryadev Chavali
d26f484d46 (Scripts)~battery script now uses just grep time
This is incase it is charging.
2022-09-18 12:00:25 +00:00
Aryadev Chavali
f3c26def38 (Emacs)+dired bind for dired-create-empty-file 2022-09-17 16:56:39 +01:00
Aryadev Chavali
078078dc2b (Emacs)+org template for blog posts, ~rearranged org mode 2022-09-17 16:56:21 +01:00
Aryadev Chavali
9bfcec2400 (Shell)~rearranged .zprofile, moved some exports .zshrc->.zprofile
This is so Emacs (via systemd) gets the most up to date information
possible.
2022-09-17 00:17:42 +01:00
Aryadev Chavali
052f7d0a9e (Scripts)~speed script now uses Table-of-Integrals.pdf
Pretty big file, bit quicker than using Algorithms.
2022-09-17 00:16:59 +01:00
Aryadev Chavali
c2340be4eb (Emacs)+org-startup-folded set to 'content
Now I don't get flooded by information when I open an org file, just
headings.
2022-09-17 00:16:23 +01:00
Aryadev Chavali
9282261547 (Emacs)~major change to +oreo/create-toggle-function
Now allows numeric arguments to be passed to the buffer creation
function.  This is especially useful for ~eshell~ which allows
creation of multiple instances using a numeric argument: very useful
for managing multiple buffers.  It's an optional argument but I err on
the side of caution so by default I'll set it to nil if I don't want
this feature.
2022-09-17 00:13:34 +01:00
Aryadev Chavali
62684402dd (Emacs)+ivy-occur display record 2022-09-17 00:12:09 +01:00
Aryadev Chavali
5bd2f3dbd5 (Emacs)~bindings for org-mode, cc-mode, flycheck
+ bindings for flycheck-(next|prev)-error
~ bindings for org mode (now has prefix "l" for links)
~ c(++?)-mode's binding for c-(beg|end)-of-statement now set just for
  c(++?)-mode
2022-09-17 00:09:30 +01:00
Aryadev Chavali
322fdeeb44 (Emacs)~cleaning up descriptions/errors
~ Links were misaligned
~ Descriptions
~ Titles
~ :display blocks
- environment section as systemd gets path variables in .zprofile
2022-09-17 00:07:49 +01:00
Aryadev Chavali
3b5ea1834d (Emacs)~eshell gets some love
I really like Eshell.  Fanboy a bit about it in my configuration, and
describe its true abilities.  Further split up the config so it's a
bit easier to read.
2022-09-16 22:34:06 +01:00
Aryadev Chavali
6c99a8a1d2 (Emacs)~config.org: "+dx/"->"+oreo/"
Change namespace for my configurations custom functions, better
representation.
2022-09-16 22:34:06 +01:00
Aryadev Chavali
ad023c348b (Emacs)~+dired/omit-dot-files: dired-omit-mode set after +dired/omit-mode
Flip ~+dired/omit-mode~'s value before toggling dired-omit-mode.
2022-09-16 15:34:16 +01:00
Aryadev Chavali
09fc2fa011 (Emacs)~balance braces in custom.el
I was stupid and pushed an improper version of custom.el
2022-09-16 15:33:44 +01:00
Aryadev Chavali
5dff5a59ed (Emacs)~I don't know how to spell 2022-09-14 00:54:19 +01:00
Aryadev Chavali
9127bbca78 (Alacritty)~set point size 8->10 2022-09-14 00:48:21 +01:00
Aryadev Chavali
0d7a9acf84 (Scripts/status)+temperature script for status 2022-09-14 00:47:16 +01:00
Aryadev Chavali
2f51cf2b3d (Emacs)-custom.el
Preferably don't use this?  Just configure in config.org or init.el,
can be documented better there.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
a68e59b1b5 (Emacs)+recursive powers of 1024 to set gc-threshold
Nice function, deterministic, uses a minimal amount of time to compute.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
61f06ef0c8 (Emacs)~init.el literate functions
To remove the ~(require 'cl)~ dependency, I wrote my own reduce for
boolean values, recursive, which should do the trick.  Mostly just to
remove the annoying "haha no cl library anymore".
2022-09-14 00:47:16 +01:00
Aryadev Chavali
4767422b39 (Emacs)+auto-save for C/C++ to clang-format buffer
Nicer to do this and have a formatted file to commit on git than
commit a non-formatted file and realise after a push.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
6bb587d877 (Emacs)+common lisp configuration
Using sly, make a LISP IDE in Emacs.  REPL with high level
integration, first class syntax highlighting and error reporting and
an environment literally built out of it.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
0f00c351aa (Emacs)+org-link-frame-setup
Always open a new frame when opening link in org-mode: predictable,
safe behaviour which leaves it up to my window manager as to what to
do next.  Most of my opened links are files that I want to examine
along with the org file I opened them from: this allows me to do
exactly that.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
f89ebf476e (Emacs)~minor changes 2022-09-14 00:47:16 +01:00
Aryadev Chavali
3550b34cc0 (Emacs)+eshell extra functionality to eshell
+ Nicer prompt which shows git information on the fly.
+ Cute figlet banner for start of eshell

Pretty nifty!
2022-09-14 00:47:16 +01:00
Aryadev Chavali
81d25daf61 (Emacs)+early-init native-compilation options
Set to 4 workers at the start to make compilation at least as fast as
possible: my laptop has 4 cores so it'll just slow it down until early
compilation is done, while my desktop can still keep going as it has 8
threads.  In config.org this is setup correctly so the rest of the
config (which is the much larger part) uses a system dependent number
of cores.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
df8c384630 (Emacs)~colours of mode-line
In particular they now have *blue foregrounds with a dull blue for
inactive buffers.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
526ff65320 (Emacs)~update pdf-tools free version 2022-09-14 00:47:16 +01:00
Aryadev Chavali
58e098d9ab (Mail)~post-new hook so that emails from me aren't in inbox 2022-09-14 00:47:16 +01:00
Aryadev Chavali
54e36d5292 (XServer)~xrandr records for monitors, picom now uses vsync 2022-09-14 00:47:08 +01:00
Aryadev Chavali
fbbe68f319 (Shell)+systemd call to import user PATH to modules, debuginfo call
SystemD now knows my path on user login, which is a great help as
Emacs has always been kinda weird in server mode (which I've only just
figured out to be a problem of SystemD rather than Emacs).

debuginfod's profile script for some reason doesn't work for zsh,
which means the ~DEBUGINFOD_URL~ variable isn't set.  So set it up
here.
2022-09-14 00:45:42 +01:00
Aryadev Chavali
ad853af43b (SXHkD|Scripts)~changed some details
~ made emacsclient calls with no alternate editors in
  eselect (confidence in server)
~ made notmuch option on eselect actually work properly
~ adjusted icons in status scripts
2022-09-14 00:45:42 +01:00
Aryadev Chavali
63dbce1357 (Emacs)~whitespace now shows spaces
Might be kinda useless but I think it actually makes it a bit easier
to distinguish what's written in a file.
2022-09-14 00:45:42 +01:00
Aryadev Chavali
88cf843586 (Emacs)~changes to dired configuration
In order of complexity:

- set (leader "dd") to ~dired~ rather than ~dired-jump~, because I
  think it's better to have an option to choose directory

- +dired/maybe-frame -> dired-other-frame (just use another frame always)

- dired-omit-mode config:
  - When ~dired-hide-details-mode~ is on, hide all dot(files/directories)
  - When ~dired-hide-details-mode~ is off, show all files (turn off ~dired-omit-mode~)
  - This is achieved by hooking ~+dired/omit-files~ (which does the
    above) to ~dired-hide-details-mode-hook~
2022-09-14 00:45:42 +01:00
Aryadev Chavali
2d6e13bbbc (Emacs)+all-the-icons
Allows for insertion of emojis, though ~counsel-unicode-char~ allows
you to do that too 🤔
2022-09-14 00:45:42 +01:00
Aryadev Chavali
9c48f081ee (Emacs)~rg binding "sr"->"sR"
I use counsel-rg usually as it provides instant results.  At the point
where I'll need a compilation-like buffer of results I'll just use one
of the *grep functions, which work regardless of ripgrep being
installed (essentially just learn one tool, well, rather than multiple
tools, badly.)
2022-09-14 00:45:42 +01:00
Aryadev Chavali
49d8773043 (Emacs)~display-line-numbers-type absolute->relative
Relative numbers are cooler, easier to see what your program is
reading in a file using relative numbers.
2022-09-14 00:45:42 +01:00
Aryadev Chavali
986e0084cd (Emacs)+feature to +olivetti-mode
Now disables mode line for extra *immersion*
2022-09-14 00:45:42 +01:00