Commit graph

191 commits

Author SHA1 Message Date
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
2ca50cbe17 Add tasksh review udas and reports to taskrc 2022-05-14 18:33:49 -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
f00a861b11 Make taskwarrior searches case-insensitive 2022-05-08 17:52:32 -07:00
8aecaa121c Add bind for aerc to open images 2022-05-08 17:52:20 -07:00
dd2f040f40 Add simple taskwarrior report, undo news hack
This just generates a simple list for sharing a todo list with people.

Also remove the news prompt hack. Apparently taskwarrior does an ==
check for the flagged version and not >. Just it only bothers you every
few runs so I thought it worked but it didn't.
2022-05-06 13:51:44 -07:00
6e9f41e99e Add taskwarrior vim plugin 2022-05-04 19:08:14 -07:00
4848d6ff23 Permanently disable taskwarrior news prompt
Setting the newest version I've viewed news for to 9.9.9 should stop
that forever. What a misfeature.
2022-05-04 19:07:40 -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
ecd5e16d98 Add editing of long command lines to zsh 2022-04-16 07:28:46 -07:00
96e9a1c3d1 Allow for collapsing of lists in markdown 2022-04-16 07:20:38 -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
9ac6a6ad11 Make vim better for markdown editing
- Make vim-pandoc handle following md links wiki-style
- Bring back concealing of formatting
2021-11-30 22:47:56 -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
92e5cad840 Drop vestigal --agents ssh keychain option
The default is SSH only anyway, and if the default changes to GPG too,
that's fine and desired.
2021-11-28 17:57:25 -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
ad91a1cbc4 Add mostrc with vim keys for navigation 2021-10-11 20:11:26 -07: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
c400b9dff3 Switch itermcolors to non-256 mode 2021-04-06 17:45:36 -07:00
3c6c8e6175 Add iTerm2 theme file 2021-04-06 17:27:51 -07:00
6ca1241b06 Add highlighter support
A new config file for highlighter and a zsh alias to make it behave as
expected when invoked, even if the alias is over-reaching a bit.
2021-04-05 01:20:16 -07:00
f85e083345 Fix linter on qutebrowser config, set editor, add paywall handling 2021-04-04 21:46:54 -07:00