Commit graph

50 commits

Author SHA1 Message Date
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
bc476def8b Change aerc pager and disable notifications
aerc's notifications actually *suck*. They don't fire until you open the
folder containing the new mail.
2021-12-15 15:49:24 -08:00
697e54ea11 Set up aerc to do url scans
- Add a 'u' bind in message view to fire urlscan
- Set PAGER to "most -w" to auto-wrap lines
2021-12-09 10:47:29 -08:00
58a993d84b Update rofi config for 1.7.1
- Move config to config.rasi. Was this always broken?
- Change theme declaration to @theme per 1.7.1 changelog
2021-11-30 18:07:48 -08:00
f37f633a6d Move aerc styleset to right location 2021-11-25 02:24:13 -08:00
3068b09f3a More Aerc tweaks
- Add styleset
- Add socksify to the text/html reading workflow
- Add G and g hotkeys to most for bottom/top of buffer
2021-11-24 21:17:37 -08:00
4eb299f607 Add tab=next-tab to Aerc 2021-11-24 11:45:25 -08:00
87f9bb3e0f Add aerc, remove rofi_bangs experiment 2021-11-23 15:56:11 -08:00
64bab6129d Update dunstrc for 1.7
also add xinitrc flag to hook in keychain unlocking
2021-11-19 13:35:58 -08:00
bfebfb7521 Minor tweaks to dunst, vim, zsh
Auto-init tab completion in ZSH
Normalize backspace handling in vim (for windows support)
Force dunst to place notifications on monitor 1, since I moved to
two-monitor setup.
2021-10-03 16:18:25 -07:00
d005066208 Tweak qutebrowser adblock, launch nextcloud on boot 2021-06-19 06:52:43 -07:00
5612ffe971 Expand dunst backlog, add bangs to rofi
Hook in bang script to let rofi handle things like !g and !yt.
2021-04-23 23:09:50 -07:00
38b3d157b8 Add dunst handling, reduce kitty font size 2021-04-17 00:32:54 -07:00
68cf038d05 Massive changes for archlinux move
- Add Xft Xresources to make fonts not ugly
- Add dunstrc now that I'm using dunst
- Manage GTK settings now that I'm free of mate-settings
- Add an i3 keybind for pcmanfm
- Make kitty font size chords +/- by 1pt and not 2pt
- Explicitly specify fonts everywhere
- Put barrier and dunst in xinitrc
- Make QT theme explicit via env var
- Move ZSH keybinds to global since Arch doesn't bind them
2021-04-15 18:54:43 -07:00
a1166b8a18 Kitty floating tweaks, xinitrc
Mainly provide xinitrc to prepare to move to arch with no DM. I don't
need a DM anyway.
2021-04-13 20:56:00 -07:00
b67755e615 Provide for a floating window in i3
- Make any window opened with class `__user_requests_float` float
- Configure qutebrowser to use a script that starts kitty->vim this way
2021-04-10 17:03:13 -07:00
f85e083345 Fix linter on qutebrowser config, set editor, add paywall handling 2021-04-04 21:46:54 -07:00
430b199476 Configure qutebrowser for version 2.2
Mostly just renaming a few config directives. Also support launching mpv
from the browser.
2021-04-04 21:08:32 -07:00
ed5e5150d6 Push base16 theme changes
- Switch to a base16 builder wrapper I wrote myself
- Switch small details on a bunch of templates
- Switch to a QVP based color scheme I wrote myself

This should form the most rational default for colors going forward.
2021-04-04 00:09:46 -07:00
fbff00631b Switch EVERYTHING to using base16
This is the result of using [base16](https://github.com/chriskempson/base16).
The first crack at establishing a base16 theme here is based on irblack
with a slight modification to make text selection purple and make rofi's
template less ridiculous.

Also added .Xresources and qutebrowser to management, and added the
resulting vim themes directly to management as well.
2021-04-01 21:16:35 -07:00
acbffc546f Tweak colors in taskwarrior theme
Bump dark blues up a bit. I tested this theme on a terminal with
constract minimums. Oops!
2021-03-30 17:15:17 -07:00
f5b3aa8d69 Add personal taskwarrior theme
This theme focuses more on hues than saturation. Aside from that it's
not very special versus the stock themes.

Also add an alias for taskwarrior-tui because it's sometimes useful.
2021-03-30 17:11:17 -07:00
e24b0c65bb Make i3 statusbar configuration portable
~/bin/statusbar is a python script on my desktop but on a work machine I
will likely not be using the same script, so make this execute
~/bin/statusbar instead of invoking `python3 -u` on it. Then I can just
repoint the symlink to whatever generated my statusbar.
2020-12-14 21:00:54 -08:00
f14289080b Change i3 fonts to support Ubuntu 20 Terminus 2020-08-17 22:05:01 -07:00
cd67a505db Initial commit and creation of setup script 2020-05-01 19:20:46 -07:00