Commit graph

74 commits

Author SHA1 Message Date
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
d6cf217287 Remove extraneous keymaps
These keys are handled by the xkb offset and can be removed to make the
rewrites we actually have to do more legible.
2022-05-17 22:55:40 -07:00
f52177c077 Add Waynergy configs
This is a rough one. Waynergy is the Wayland-compatible replacement for
synergy. As far as I can tell it works largely on black magic.

For whatever reason, Waynergy doesn't handle keycodes the same way
Synergy/Barrier do. It uses raw codes as sent by the server. These codes
can exceed the X cap of 318, resulting in keys being ignored in XWayland
sessions.

The dev's recommended path to keyboard support is to use a custom xkb
keymap and I guess just shrug at the dropped keys over 318. My method
uses the stock evdev xkb keymap and instead uses raw keycodes to swap
out-of-band keys to their expected keycodes.

The warning the dev gives is this is brittle and won't work on any other
OS, or possibly keyboard/box. I don't care.
2022-05-17 22:47:10 -07:00
cc5780e95e Reconfigure i3/sway to use rofi-sway
No real difference except the window switcher doesn't work :/
2022-05-17 22:46:11 -07:00
7da8259dcd Make i3 config work on Sway
This may not be a backward compatible change, hopefully it won't matter.

We add the directive to handle floating windows via app_id as well as
window class, since Wayland doesn't use window classes, and we add a
directive to let Sway turn off mouse acceleration.
2022-05-17 14:54:03 -07:00
d383663609 Enable HWDec in mpv 2022-05-16 18:03:00 -07:00
81081856a2 Add sticky/pinned window toggle to i3 config 2022-05-16 17:22:54 -07:00
d508d5746a Add mpv configs
I'm surprised this was never here before. Oh well, gives me an excuse to
clean these up and comment them too.
2022-05-14 18:32:25 -07:00
d23b6c2bc7 Make floating mpv not steal focus
We make the X Class match `__user_requests_float` a wildcard match so it
can begin with anything and make mpv launch with the class
`mpv__user_requests_float`. Then we make that class `no_focus` in i3.

This should prevent focus from jumping to mpv if any of my weird video
playing automation scripts launched mpv suddenly.
2022-05-11 21:19:27 -07:00
8aecaa121c Add bind for aerc to open images 2022-05-08 17:52:20 -07:00
b600f8b27e Enable qt service work cull in qutebrowser
Newest Qute has a crash bug if you don't cull QT service workers on
startup. This used to be a Windows thing but now it's on Linux I guess,
so let's just make it the default.
2022-05-04 19:06:46 -07:00
eca3477559 Add framework for viewing home webcam
- i3 shortcut to open the webcam
- i3 modify __user_requests_float class to position/size/float window
2022-05-04 19:05:11 -07:00
cb347ce08c Make sure qute blocks ads 2022-04-16 07:20:14 -07:00
2c8210e50f Expand dunst history from 20 to 100
This doesn't allow more simultaneous notifications. It just sacrifices
some RAM to store more notifications in history, which is important if I
want to be able to call and review history.
2022-02-01 13:54:16 -08:00
7657770a22 Greatly simplify rofi stylesheet
Noticed rofi wasn't handling selection highlights properly any more. In
troubleshooting found the stylesheet was massively over-complicated
since it was a copy of a less simple stylesheet in its origins.
Simplified and fixed the bug.
2021-12-28 01:11:10 -08:00