Commit graph

164 commits

Author SHA1 Message Date
8aeab7241d Gut vim configs to remove external deps
Now that we use Helix, let's pare back vim a bit. This mainly drops
vundle and anything depending on something installed by vundle. Doing
this removes the external plugins, closes a security concern, reduces
the number of steps I need to take to bootstrap my homedir on a new
host, and cuts a lot of cruft out of my homedir.

The only loss here is ALE on systems that lack Helix, but if I'm going
to use vim to write code, I should use vim-lsp or something instead for
consistency with Helix.
2023-12-30 20:34:47 -08:00
2c7852627b Make helix default to true color mode
And comment a few settings for readability
2023-12-29 18:50:41 -08:00
e71c22b63a Force wrapping on markdown in helix
This is coming by default next version but it's not out yet so we can
stopgap this for now.
2023-12-29 16:47:54 -08:00
91b6e2377f Update setup script using new lint rules
No functional changes, I just wanted to tidy things up.
2023-12-28 18:01:11 -08:00
ff2faf4e4c Configure helix and ruff
- Make helix use ruff-lsp and pyright
- Configure ruff to my specifications
- Tweak a helix theme color or two
2023-12-28 17:18:09 -08:00
30fee03dd0 Switch alacritty to toml configs 2023-12-28 17:17:18 -08:00
7a3fa2bbe5 Try to disable vbell on aerc
This doesn't actually work right now; need to figure out why.
2023-12-23 13:20:23 -08:00
935e0062bf Add monitoring for OME streams 2023-12-23 13:19:44 -08:00
9a7a4dcc57 Add helix configs 2023-12-23 13:19:31 -08:00
630dffbe9a Add defaults to aerc stylesheet after format change 2023-12-23 13:19:08 -08:00
283e2ecbdf Tweak aerc and add mail status to waybar 2023-10-12 18:31:13 -07:00
934243e49c Add aerc back to my loadout 2023-10-02 20:04:02 -07:00
e13b0d8e54 Change waybar clock format
Following an update to waybar, the clock starting displaying fractional
seconds. Changing seconds from `%S` to `%OS` truncates the fractional
second, though this is possibly not portable as `%OS` is "alternative
second display" and the definition of "alternative" is vague.
2023-08-23 13:48:36 -07:00
a9a94840e9 Big spaces-to-tabs config reflow
Moving to doing tabs in things. No functional changes.
2023-06-05 22:39:21 -07:00
2de811b974 Make taskwarrior simple report sort by urgency 2023-06-05 22:39:04 -07:00
1a69bfaba4 Set pacman makepkg flags
This mostly just makes sure to use all my CPU when compiling stuff.
Makes `yay` installs faster.
2023-06-05 22:37:44 -07:00
9d86178f38 Remove zsh instant prompt
I'm not enough of a zsh heavy user for this to matter
2023-06-05 22:37:01 -07:00
d2d6af7240 Remove pylint complaint about unused globals
Unfortunately this causes Fun with API and util libs where pylint
complains functions are unused =)
2023-05-13 12:13:49 -07:00
8b2daa45c0 Add pylintrc
Also remove line length configs from py linters in vimrc since we're
configuring that properly now.

Don't like having to repeat myself in pylintrc and black's conf but meh.
2023-05-11 13:51:40 -07:00
7d28c9a266 Major vimrc cleanup
- Add comments for uncommented things
- Remove ancient pre-vim 7 conditionals
- Normalize spacing in sets and lets
- Make tabs visible
- Change trailing space visibilty from period to floating dot
- Tune up ALE python linting with pep8, black, isort
2023-05-09 18:07:29 -07:00
acdd63b433 Add rich Exception handling to REPL 2023-05-05 17:02:50 -07:00
a225fb0073 Add python-rich pretty print to REPL 2023-05-05 16:59:22 -07:00
a1a852dee1 Remove explicit tab complete from Python REPL
This is apparently default behavior now.
2023-05-05 16:55:48 -07:00
1654c2ebf6 Add python REPL configs
- Rich for prettification
- Don't write a python_history
2023-05-05 15:24:55 -07:00
661917f37d Remove iTerm management
This is the only Mac-only thing I manage, and it's just the colors, and
I don't care because it doesn't work right to begin with.
2023-05-05 14:51:57 -07:00
e8100fc21d Refactor .zshrc
- Split login stuff into .profile
- Symlink .profile to .zprofile since zsh only loads the latter
- Drop QPA_PLATFORMTHEME and see what breaks
- Make bat my pager where I have it, most where I don't
- Drop the OS-detection stuff for ls, use exa if I have it
- Drop a couple old aliases
2023-05-03 15:28:32 -07:00
896f33addc Try to normalize display numbers again
- Use physical hardware address for where to put rofi
- Switch dunst to output on focused display

Rotom handles displays differently and my TV keeps dropping from the bus
when turned off, changing its display number when powered back on. This
should fix the effects of that, hopefully.
2023-05-02 09:28:45 -07:00
f2cc823724 Remove browsers being locked to workspace 2
I keep a browser open on workspace 2 all the time now, and sometimes
want to open a new instance somewhere else. This was a hack for when I
had so little RAM I couldn't leave a browser open all the time.
2023-04-25 05:25:59 -07:00
ce846ac7a1 Update sway/waybar configs for third display
This one isn't always connected so we place it such that it won't ruin
my layout if it isn't there.
2023-04-24 11:27:33 -07:00
4b71cdebf7 Make mpv record clips to an absolute path and not relative 2023-04-24 11:27:14 -07:00
6c3833f47c Add htop configs
htop is chatty about updating these on exit so managing them might not
be feasible; we'll see.
2023-04-24 11:26:55 -07:00
3c749c4006 Remove .mostrc; I don't use most anymore 2023-04-24 11:22:43 -07:00
c40b7c2bf2 Switch keychain from RSA to ed25519 2023-04-16 08:54:51 -07:00
f63807762a Add --loop to mpv launch shortcut 2023-03-27 16:19:31 -07:00
775196d080 Tweak RAM warning threshold to 80%
Mostly because at the moment I run around 72% because Electron exists.
2023-03-27 16:19:04 -07:00
9ce1fa64a2 Add mimeapps.list to enforce personal default apps
For the most part this exists to prevent Chromium from opening anything
ever on any system it happens to be installed on. I will always prefer
vim, firefox, and feh for any mimetype those can open.

Unfortunately Arch's default mimetype dataset prefers Chromium for a
vast array of types if it's installed.
2023-03-27 16:17:30 -07:00
640bc9fead Remove gtk configs that never worked
I don't use GTK2 at all any more. GTK3's Arc config never worked, and
when I made it work I realized I dislike what Arc looks like. Hah.
2023-03-07 18:19:52 -08:00
02a64ef968 Switch file browser to thunar 2023-03-07 18:19:32 -08:00
923f39dce4 Small mpv updates
- Add some comments for the heck of it
- Add playlist seek hotkeys
- Add keyboard volume controls
2023-02-22 03:33:39 -08:00
6536e7b531 Fix waynergy bug with mousewheel speed & wl-roots
One version of waynergy made a bad assumption about mousewheel speed if
you're using the wl-roots method of input handling and would set the
multiplier to 8, causing the mousewheel to send things spinning out of
contorl. That's been fixed but there's no harm in declaring this
explicitly anyway.
2023-02-22 03:32:00 -08:00
305bef81fa Add waybar configs
I apparently forgot to do this ever. I've been using this for about two
months now.

I just reused the modules I built for my swaybar, which already output
close to the proper format; now I just call the modules directly with `if
__name__` hooks to output Waybar format instead of Swaybar format.
2023-02-22 03:31:02 -08:00
ec44c4d29b Force browsers to workspace 2 in sway 2022-12-25 05:59:15 -08:00
0d92cfcf54 Remove forced Workspace 9 for videos launched from Qute
- Also remove directive to remove qt workers, does not seem necessary on
  Linux
2022-12-25 05:58:13 -08:00
39e9928921 vim gives wordcount in statusline for text formats
Maybe I'll be less verbose of a blogger now.
2022-11-03 17:24:40 -07:00
f62759b98a Remove highlight configs
`bat` has completely taken over this use-case
2022-10-31 16:02:23 -07:00
8672d6ee9c More font juggling
This has been a giant mess but I have a solution now.

Primary font: Bitstream Vera
Primary monospace font: Hack

Then I have Nerd Font Symbols (2048 em non-mono) for powerline,
fontawesome, etc glyphs. Non-mono because mono shrinks the glyphs
vertically an unreasonable amount. Same reason I'm not using the
nerd-font patched ttf-hack.

I have to use Hack over Bitstream Vera Sans mono because Bitstream
specifies a few glyphs used in powerline and they're not shaped right,
for example the triangular ends of banners. Hack fixes this.

Then there's the complete Google Noto set. Noto is "Everything" when
installed with the noto-fonts, CJK, and Emoji. You have to explicitly
declare wanting the color emoji or you get the black and white stuff.

Noto provides a few misc glyphs that Hack and Nerd Font Symbols both
don't, like heavy check and heavy ballot x which are used in my shell
prompt.

With noto-fonts installed and my userland fontconfig using prepends for
the fonts I want, the entire giant Noto set falls in as a fallback
behind it all without needing to be defined.

This sucked to suss out; trying to avoid Google stuff made it 100x more
complicated and I just kind of gave up.
2022-10-25 06:42:20 -07:00
1728cc34a7 Remove old pylint declaration from vimrc 2022-10-25 06:34:42 -07:00
6d33fcf73f Swap font configs to use monospace, remove kitty conf 2022-10-23 22:43:02 -07:00
6578a38dd3 Make simple taskwarrior report not list annotation
I'm using this report in my daily status script and it makes the output
noisy.
2022-10-21 23:41:22 -07:00
ba11cb9782 Set up font fallthrough for emoji
We set up a fonts.conf to specify Bitstream Vera for all my font
preferences with a fallback to the Noto Color Emoji. This should
standardize font/emoji support and my method falls back to system
fontconfig if these aren't font.

Then we swap alacritty and sway to monospace.
2022-10-21 23:23:24 -07:00