Jim Myhrberg
576d03a17a
feat(hammerspoon/misc): add helper to easily trigger killall Dock
...
When waking macOS from sleep with multiple external monitors, it does
not correctly display the wallpaper on all screens, and can sometimes
get confused about window placement boundaries. The fix is to simply
restart the Dock process which handles these things.
This simply adds a cmd+ctrl+alt+k keybinding to trigger this via
Hammerspoon. This is particularly useful in the rare occasion you wake a
laptop without external displays which were disconnected when it was
asleep, as it sometimes gets confused to the point it thinks there are
external displays, and does not consider the internal display as part of
the usable desktop space, meaning there's no way to open a terminal
window to execute `killall Dock`. While this VERY rare, it does still
happen, which more than justifies the few lines of lua here.
2024-07-15 09:27:20 +01:00
Jim Myhrberg
e0e872227f
fix(hammerspoon/hati): remove defunct keybinding
2024-07-15 09:26:53 +01:00
4e5644de9d
feat(hammerspoon/noct): remove cmd+ctrl+s keybind for Music app
2024-05-12 17:53:32 +01:00
90617b48e0
feat(hammerspoon/noct): add keybind for show app info helper
2024-05-12 17:53:13 +01:00
995181f67f
feat(hammerspoon/noct): don't URL handler anymore
...
For now, I'm trying out Arc as the main browser, and the Little Arc
feature doesn't play super nice when links open via Hammerspoon.
2024-05-12 17:52:13 +01:00
6336532081
fix(hammerspoon/window-management): move to space works with Arc browser
2024-05-12 17:51:14 +01:00
Jim Myhrberg
f3bf4ff98d
fix(hammerspoon/hati): disable URL handling with Hammerspoon
...
When using Arc and having new links open in Little Arc while having
Hammerspoon set as the default browser, clicking a link first switches
to and focuses on the most recent main Arc window, before then opening
Little Arc.
While if Arc itself is the default browser, no such focus switching
happens, and instead Little Arc just opens and gets focus.
2024-05-10 17:49:41 +01:00
Jim Myhrberg
7fff0e62af
fix(hammerspoon/hati): use Arc as default browser via Hammerspoon
2024-05-09 21:14:36 +01:00
Jim Myhrberg
4e5259cd1e
feat(hammerspoon/apptoggle): add showAppInfo() utility function
2024-05-09 21:14:17 +01:00
Jim Myhrberg
bab3b33c97
chore(hammerspoon/hati): don't use hammerspoon as URL handler
2024-05-09 09:30:00 +01:00
3201add496
feat(hammerspoon/noct): switch cmd+ctrl+4 to HuggingChat
2024-05-09 02:28:36 +01:00
Jim Myhrberg
9b8135e84d
feat(hammerspoon/host/hati): add keybind for HuggingChat
2024-04-29 09:37:13 +01:00
Jim Myhrberg
b0f8500e59
feat(hammerspoon/hati): tweak global keybindings
2024-03-11 17:24:19 +00:00
d1116deb8a
fix(hammerspoon/window-management): enable moving VSCode windows between desktops
2024-03-07 12:55:07 +00:00
Jim Myhrberg
8e5537f264
feat(hammerspoon/hati): disable Google Chrome global hotkey
2024-02-27 10:37:33 +00:00
9c041a4f9a
feat(hammerspoon/window-management): add left/right super-narrow placements
2024-02-26 18:27:34 +00:00
a7ce4a5788
chore(hammerspoon): format window_management.lua via lsp server
2024-02-26 18:27:13 +00:00
779a589a3d
feat(hammerspoon/noct): replace Mailplane with Mail+ for Gmail
2024-02-23 23:43:30 +00:00
32b25c3717
feat(hammerspoon/noct): tweak host-specific URL handling and keybindings
2024-02-22 23:55:26 +00:00
Jim Myhrberg
240a970ba5
chore(hammerspoon/hati): change default browser to firefox
2024-02-12 04:37:17 +00:00
Jim Myhrberg
a0ac91449b
feat(hammerspoon/hosts): add hati specific configuration
2024-02-12 04:20:58 +00:00
e51d08c738
feat(hammerspoon): add Notion Calendar to list of calendar apps
2024-02-04 00:09:20 +01:00
259244eb81
feat(hammerspoon): use Chrome default profile instead of Edge
2024-02-04 00:09:20 +01:00
a5fc1a070a
feat(hammerspoon/noct): add Google Calendar, improve URL matching
2023-12-18 10:55:49 +00:00
df56386d7a
feat(hammerspoon): increase size of rounded corners drawn on screen
2023-11-20 11:11:56 +00:00
fea1e8bd99
feat(hammerspoon): tweak global hotkeys and URL handlers
2023-11-20 11:10:34 +00:00
047d11653b
refactor(hammerspoon): improve URL handling setup, enabling host-specific setup
2023-10-28 17:04:23 +01:00
407e02895d
feat(hammerspoon): setup URL handling to open different sites in different browsers
2023-10-24 13:59:53 +01:00
0b432f137d
chore(hammerspoon): update global hotkeys
2023-09-18 11:37:18 +01:00
9490cabd3d
chore(hammerspoon): format init.lua with language server
2023-04-23 16:30:32 +01:00
ab0de76e79
feat(hammerspoon/app_toggle): enable multi-app toggles
...
A multi-app toggle is a keybinding which is configured to toggle 2 or
more applications.
This is intended as a context-ish-aware toggle, as it will only toggle
the most recently focused application. This essentially enables you to
bind a category/class of applications to a single hotkey, and whichever
of the apps that's running and was most recently focused is the one that
will be toggled.
2023-04-23 16:28:21 +01:00
fd94bd2774
chore(hammerspoon): minor refactor to host_config setup
...
Allows it to require any file off of disk by using loadfile instead of
require.
2023-04-23 16:27:31 +01:00
214d82f0aa
chore(hammerspoon): add .luarc.json config file for lua-language-server
2023-04-23 16:27:01 +01:00
c7ea3d186a
feat(hammerspoon/noct): tweak global keybindings for ChatGPT and Edge
2023-02-20 22:11:12 +00:00
78caf6e939
chore(hammerspoon): tidy-up and simplify host config and window management
2023-02-20 22:10:32 +00:00
5b50d5e606
feat(hammerspoon): update app global keybindings
2022-07-28 00:23:29 +01:00
c6710d1918
chore(hammerspoon): switch cmd+ctrl+f keybind to Element Nightly
2022-04-28 12:35:43 +01:00
f864236203
chore(hammerspoon): update global app hotkeys
2022-01-16 03:26:39 +00:00
b6ae43d426
fix(hammerspoon): fix moveWindowToSpace after API change in Hammerspoon
2021-08-30 22:53:19 +01:00
2d6ab21a97
feat(hammerspoon): bind Fastmate to cmd+ctrl+d instead of Mail.app
...
I'm prefering Fastmail's webui more than Apple's native email client,
and Fastmate is a nice wrapper app around the webui.
2021-08-30 22:51:00 +01:00
4c00b0f4ea
chore(hammerspoon): update global keybindings
2021-07-12 10:04:33 +01:00
fdc161d627
feat(hammerspoon): change cmd+ctrl+x from Things to Apple's Reminders app
2021-05-09 14:24:37 +01:00
97fddfc927
feat(keybind): swap cmd+ctrl+b to be Basecamp
2020-12-24 03:06:19 +00:00
2bf7e812e2
feat(keybind): change cmd+ctrl+d to toggle Mailplane instead of Kiwi for Gmail Lite
2020-12-01 09:52:18 +00:00
fd04e427ab
feat(keybind): switch cmd+ctrl+s from Spotify to Apple Music
2020-11-26 15:45:32 +00:00
873005a7af
Remap global cmd+ctrl+w keybinding to WhatsApp
2020-07-16 15:27:25 +01:00
60e03a5f3c
Remove PushToTalk Hammerspoon Spoon
...
I didn't end up using it much in the end.
2020-07-04 13:21:47 +01:00
e295c9d88e
Switch cmd+ctrl+d from Mailplane to Kiwi
2020-06-14 11:38:57 +01:00
55872cf5b8
Switch cmd+ctrl+T from IRCloud to Discord
2020-05-27 09:20:39 +01:00
2ff0508f13
Update PushToTalk spoon to check list of apps when starting
...
These changes have been submitted as a PR against the main Spoons
repository here: https://github.com/Hammerspoon/Spoons/pull/169
2020-05-06 20:40:19 +01:00