-- Leo's gemini proxy

-- Connecting to shit.cx:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;

        .     *  ⠈       +                ⠈
                   +  ──╕   ○    .   ⠈           ⠐
   ●     .           ╒═╕╞═╕ ╕ ╪═        *               .
                     ╘═╕│ │ │ │  .cx            +
           .     ....╘═╛╘ ╘ ╘ ╘═ ....:      ⠐        .
                 .               *                ⠐        .

Adjusting for Monterey: Fullscreen is a Bust


2022-03-25T21:36


This is a follow-up to a post from last week which you can read here if you missed it:


Adjusting for Monterey: Spaces to Fullscreen Apps


---


Last week I posted that I was adjusting my workflow to use MacOS Native Fullscreen. Well, that was a bad idea. I ran into too many problems making it just not worthwhile.


Detecting Fullscreen windows with Hammerspoon is inconsistent. I sometimes couldn't focus on my window without using the mouse.


Google Meet doesn't allow you to share Fullscreen windows.


Other people can't draw on your screen when using Slack Screen sharing.


<Cmd>-<Backtick> only switches to other windows in the Fullscreen Space


Esc breaks out of Fullscreen Mode. This is problematic for web apps and modals. The web is inconsistent. Also, I probably have a nasty Vim habit of excessive Esc mashing.


I was beginning to feel that I would need two modes to make fullscreen work. I would mostly use fullscreen and fall back to windows when remote-pairing (with Slack) or when sharing a screen in Google Meet. Needing to think ahead about what I might be doing and rearrange my windows accordingly sounds pretty bad, so I've pulled the plug on Native Fullscreen.


I've adapted yet again and made more changes to my workflow. I have two Spaces; the main Space has a stack of maximised windows of the apps I use all the time. The other Space is reserved for when I sometimes need to tile my windows. It's easy to move windows between Spaces or tear off a tab when needed.


Like before, Cmd-[1-4] switches to the last used iTerm, Firefox, Slack and Scapple window, but now the switch is confined to the current Space. Switching between Spaces is now almost like switching between computers. I have a different set of windows in each Space. My shortcuts work the same as before, only they're indifferent to what is happening in the other Spaces. I like this.


But the best thing is how snappy my computer is again. Because I'm not changing Space every time I switch apps so I don't have to put up with the transition effects — it's instant.


I do have window borders again. A hack I've played with is to make my windows a little wider than the visible screen. I'm unable to make the window taller than the screen for some reason, even if it hangs off the bottom of the screen. This hides the side borders and also makes it a lot easier to grab the handle of the scrollbar, but I'm not sure if I'll keep it.


The new `focus_window` Hammerspoon function looks like this:


function focus_window(name)
    local filter = hs.window.filter.new()
    filter:setAppFilter(name,{currentSpace=true, focused=false})
    local windows = filter:getWindows()

    if windows then
        return windows[1]:focus()
    end
end


---


More Posts Like This

Return to Homepage


The content for this site is CC-BY-SA-4.0.

-- Response ended

-- Page fetched on Wed May 1 14:22:16 2024