Commit graph

138 commits

Author SHA1 Message Date
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
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
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
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
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
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
6d33fcf73f Swap font configs to use monospace, remove kitty conf 2022-10-23 22:43:02 -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
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
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
25622204cc Drop aerc
Favoring a more integrated solution for PIM/Mail/RSS. Sadly at the
moment that's Thunderbird and I can't exactly manage tbird configs.
2022-06-09 16:18:25 -07:00
33890bebb1 Set up dunst and sway for dual head
- Configure sway to place displays matching reality
- Reconfigure sway mpv shortcut to use regular clipboard, not primary
- Drop the hard placement of dunst's output so it uses display 0
2022-06-08 11:36:29 -07:00
9bc75de3ff Stream in some stuff from the default sway conf
- Use the default exit Sway command instead of my hacked one
- Add scratchpad controls
- Add the execs to make dbus environment work
2022-06-01 15:39:31 -07:00
333cc2ea6b Add hotkey to mpv to record current video feed 2022-05-28 06:23:16 -07:00
1491f0358b Adjust Sway's mpv handling for connected tv 2022-05-28 06:22:42 -07:00
01a68c651c Make mpv not close if used to open an image
Like my Sway update last commit. This makes mpv not close if it was
explicitly used to open an image.
2022-05-26 00:53:14 -07:00
990823382f Make mpv called from sway handle images
This just adds `--image-display-duration=inf` so if I grab a URL and
open it in mpv with Sway's hotkey, it doesn't blink on for a few frames
then exit.
2022-05-26 00:46:09 -07:00
2fc8d0a041 Fully sway-ize i3 config
No major changes. Just removing things that only work in i3 and tweaking
some things to be fully sway-enabled.
2022-05-21 18:39:25 -07:00
86f93d708b Switch 'exit i3' workflow for 'exit sway'
This just drops i3-nagbar for swaynag, changes i3-msg to swaymsg, and
mentions of i3 to sway. The former even worked fine, just did weird
things with windowing.
2022-05-21 18:26:54 -07:00
a7dad0c74a Add an mpv keybind to run contents of clipboard
Mainly for grabbing links I'm going to mpv anyway without double-loading
in qutebrowser to run the spawn shortcut there.
2022-05-21 18:24:42 -07:00
a03f6f8ade Disable waynergy's idle inhibiting
I don't use a locker on sway anyway, so it's doing nothing but confusing
people about my avaibility on Discord/XMPP/Matrix
2022-05-21 18:24:10 -07:00
b6690c209d Make qutebrowser-spawned mpv always have a window
Kind of sucks if you open an mp3 and no windows appears because you have
to then use a shell or qute's process handling to make it stop :)
2022-05-21 18:23:30 -07:00
a4e281ffc0 Move i3 config to sway config
This signposts that we've actually moved permanently (fingers crossed)
to Sway. I should have done this the moment the first
non-backward-compatible change went in so I could revert to that point,
but meh.
2022-05-18 13:45:07 -07:00