Commit graph

147 commits

Author SHA1 Message Date
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
b9c8239def Remove soft tabs from vimrc
I'm no longer purely a Python dev, this is getting in the way now. I
need to learn to trust vim's language plugins to do the right thing.
2022-10-09 14:45:57 -07:00
955936f8c1 Make python-black use colors 2022-10-09 14:39:29 -07:00
f0b6424f82 Set rofi to display on display 0 again
I removed this but as it turns out I need it. When I power off or
disconnect my TV, rofi gets confused about where to display.
2022-10-03 15:39:06 -07:00
648f9e48f3 Add site-specific JS handling for qute 2022-10-03 15:38:51 -07:00
94269b0901 Add python-black config 2022-10-03 15:38:34 -07:00
a4f963c6b0 Switch everything using Terminus to DSM
I dropped ttf-terminus out of my loadout and sway broke. I prefer
standardizing on DSM at this point anyway.

Also remove a vestigal sway config directive.
2022-09-04 17:14:32 -07:00
6eeda57f3e Drop vim-taskwarrior
Turns out it requires taskwarrior, which I don't have on every box, and
it's not that useful.
2022-09-01 10:09:14 -07:00
f31def4133 Swap ls for exa
I used to do this with a path hack but that's been problem trouble than
it's worth.
2022-09-01 10:08:28 -07:00
1100071b07 Add alacritty terminfo 2022-09-01 10:02:53 -07:00
c11c355246 Use packaged p10k on arch systems 2022-09-01 08:41:56 -07:00
6ca2707828 Remove kitty terminfo since we don't need it 2022-08-30 16:24:27 -07:00
403d0c4822 Add window title handling to tmux 2022-08-30 14:04:15 -07:00
8391541ddc Add alacritty fix for vim 2022-08-30 14:04:07 -07:00
715ec985b6 Add alacritty config 2022-08-30 14:03:57 -07:00
b99cabde7a A couple of uncommitted changes for mpv, vim, and qute
- Drop the audio normalization filter for mpv. It was doing more harm
  than good.
- Make the tab bar in qute only display if I have multiple tabs
- Kill mouse interference in vim dead
2022-08-12 15:54:56 -07:00
7ea5b27f35 Add "tv" wayland app id to MPV calls from Quteb 2022-06-11 16:15:56 -07:00
95b0139e3f Support more than one video on my TV via sway
We drop mpv on the TV being fullscreen in favor of having no borders.
This makes it look full screen while allowing multiple feeds if needs
be. We also remove the swaybar from the TV so it doesn't chew up space.
2022-06-11 16:10:27 -07:00