Skip to content

Instantly share code, notes, and snippets.

View krystofbe's full-sized avatar

Krystof Beuermann krystofbe

View GitHub Profile
-- None of this animation shit:
hs.window.animationDuration = 0
-- Get list of screens and refresh that list whenever screens are plugged or unplugged:
local screens = hs.screen.allScreens()
local screenwatcher = hs.screen.watcher.new(function()
screens = hs.screen.allScreens()
end)
screenwatcher:start()
-- Modifier shortcuts
import * as React from "react";
import {
Button,
Col,
Collapse,
Container,
Jumbotron,
Nav,
Navbar,