<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dothammerspoon, branch master</title>
<subtitle>My Hammerspoon config</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dothammerspoon/'/>
<entry>
<title>keyboard_layout: Add Kyria check</title>
<updated>2024-04-23T19:14:22+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2024-04-23T19:14:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dothammerspoon/commit/?id=40bd15352dfc60f22f14530de142cbd718ec9249'/>
<id>40bd15352dfc60f22f14530de142cbd718ec9249</id>
<content type='text'>
Include the Kyria keyboard in the keyboard layout switcher.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Include the Kyria keyboard in the keyboard layout switcher.
</pre>
</div>
</content>
</entry>
<entry>
<title>keyboard_layout_select: Add shortcuts to select keyboard layout</title>
<updated>2023-11-08T19:02:28+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-08T18:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dothammerspoon/commit/?id=9464388e078d4641b720fb695a19518f86692a5b'/>
<id>9464388e078d4641b720fb695a19518f86692a5b</id>
<content type='text'>
I had to upgrade to Mac OS 14 Sonoma, which in addition to adding a
useless software Caps Lock indicator, also royally screwed up the way
that changing keyboard layouts used to work (it worked perfectly fine).
I decided to make a unique keyboard shortcut to switch to each keyboard
layout to put some order to the madness.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I had to upgrade to Mac OS 14 Sonoma, which in addition to adding a
useless software Caps Lock indicator, also royally screwed up the way
that changing keyboard layouts used to work (it worked perfectly fine).
I decided to make a unique keyboard shortcut to switch to each keyboard
layout to put some order to the madness.
</pre>
</div>
</content>
</entry>
<entry>
<title>window_layout: Add debug log</title>
<updated>2023-11-08T18:55:23+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-08T18:55:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dothammerspoon/commit/?id=ebea1dc3c0b29ac5b4aa9f2f51cc70ff43191377'/>
<id>ebea1dc3c0b29ac5b4aa9f2f51cc70ff43191377</id>
<content type='text'>
After changing machines, I was having a problem with window layout
restoration. I had added this debug log, but then it magically started
working again. Committing this change anyway, maybe it actually did
something.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After changing machines, I was having a problem with window layout
restoration. I had added this debug log, but then it magically started
working again. Committing this change anyway, maybe it actually did
something.
</pre>
</div>
</content>
</entry>
<entry>
<title>keyboard_layout: Add Keychron check</title>
<updated>2023-01-31T19:52:03+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-01-31T19:52:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dothammerspoon/commit/?id=8f600b057c85f63bf0dabe9287f58a1f130e45ee'/>
<id>8f600b057c85f63bf0dabe9287f58a1f130e45ee</id>
<content type='text'>
Add a check for another keyboard I'm using to have it switch keyboard
layouts on connection and disconnection.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a check for another keyboard I'm using to have it switch keyboard
layouts on connection and disconnection.
</pre>
</div>
</content>
</entry>
<entry>
<title>keyboard_layout: Fix USB keyboard detection</title>
<updated>2022-09-20T19:05:53+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-09-20T19:05:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dothammerspoon/commit/?id=2e2cbb6296d2022d588a21fdefe3900015d17ea1'/>
<id>2e2cbb6296d2022d588a21fdefe3900015d17ea1</id>
<content type='text'>
The way I had written it before broke automatic switching support for
the iMate USB device.

Rewrite the device check so that both the iMate and generic keyboards
automatically switch keyboard layouts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The way I had written it before broke automatic switching support for
the iMate USB device.

Rewrite the device check so that both the iMate and generic keyboards
automatically switch keyboard layouts.
</pre>
</div>
</content>
</entry>
<entry>
<title>keyboard_layout: Update copyright</title>
<updated>2022-09-19T18:14:46+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-09-19T18:14:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dothammerspoon/commit/?id=bd3f82c4731827ed4687660a1c9b7440ed8b6a26'/>
<id>bd3f82c4731827ed4687660a1c9b7440ed8b6a26</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>keyboard_layout: Try to change keyboard layout on keyboard device change</title>
<updated>2022-09-19T18:11:01+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-09-19T18:11:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dothammerspoon/commit/?id=396ba133e421a12e6f523f14d7a18cade7fc94a3'/>
<id>396ba133e421a12e6f523f14d7a18cade7fc94a3</id>
<content type='text'>
Try to detect when any keyboard is plugged in by looking at its
"productName" and checking to see if it contains the word "keyboard". If
so, change the keyboard layout between the preferred for internal and
external keyboards.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Try to detect when any keyboard is plugged in by looking at its
"productName" and checking to see if it contains the word "keyboard". If
so, change the keyboard layout between the preferred for internal and
external keyboards.
</pre>
</div>
</content>
</entry>
<entry>
<title>README: Add submodule command to install instructions</title>
<updated>2022-09-05T18:01:20+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-09-05T18:00:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dothammerspoon/commit/?id=1dd8795c9bf02f3a9ce00c86ce6fddf9d995c585'/>
<id>1dd8795c9bf02f3a9ce00c86ce6fddf9d995c585</id>
<content type='text'>
Otherwise the WindowMode spoon isn't initialised.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise the WindowMode spoon isn't initialised.
</pre>
</div>
</content>
</entry>
<entry>
<title>meet: Move the CSRF to a query string argument</title>
<updated>2021-11-30T19:44:01+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-11-30T19:44:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dothammerspoon/commit/?id=fc310d8191941aad328425d147cdf0df10b0d1b5'/>
<id>fc310d8191941aad328425d147cdf0df10b0d1b5</id>
<content type='text'>
Move the CSRF check to a query string parameter instead of a request
header. Doing this because I need to make the request from a
Greasemonkey script, and it gets CORS-blocked if I add a non-whitelisted
header to the request.

Also rename the CSRF variable to "csrf-ish" since it's a hard-coded
random string.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the CSRF check to a query string parameter instead of a request
header. Doing this because I need to make the request from a
Greasemonkey script, and it gets CORS-blocked if I add a non-whitelisted
header to the request.

Also rename the CSRF variable to "csrf-ish" since it's a hard-coded
random string.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a way to set output volume from a Google Meet videoconference</title>
<updated>2021-11-29T21:28:12+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-11-29T21:28:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dothammerspoon/commit/?id=c50888fd0ea6f0802b834dbf4c2a799bdb37d3fc'/>
<id>c50888fd0ea6f0802b834dbf4c2a799bdb37d3fc</id>
<content type='text'>
I'm planning to make a Greasemonkey script that loads on Google Meet
videoconference pages and make an HTTP request to this Hammerspoon
server to set the output volume to a predetermined level.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I'm planning to make a Greasemonkey script that loads on Google Meet
videoconference pages and make an HTTP request to this Hammerspoon
server to set the output volume to a predetermined level.
</pre>
</div>
</content>
</entry>
</feed>
