Skip to content

Instantly share code, notes, and snippets.

View danicatalan's full-sized avatar

Dani Catalan danicatalan

  • ///
  • Nürnberg, Germany
View GitHub Profile
@danicatalan
danicatalan / bootstrap
Last active July 19, 2022 07:57
bootstrap mac
# Hi! We will use Brew to run all the commands that
# will install our apps. You can find instructions
# on how to install Brew here: https://brew.sh/
# Once you have Brew installed, we can run all the commands:
brew install --cask spotify # most important step, some music before
brew tap homebrew/cask-fonts # needed to install fonts with homebrew
brew install font-hack # my favourite font for terminals and text editors
brew install --cask iterm2 # better terminal than default one
# (optional) These are some manual steps to configure how iterm looks:
# iterm2 config (https://www.youtube.com/watch?v=htiJyabJj7I)
@danicatalan
danicatalan / init.lua
Last active March 5, 2024 08:51
hammerspoon config
hs.window.animationDuration=0
local m = 15
hs.hotkey.bind({"cmd", "shift"}, "Return", function()
local win = hs.window.focusedWindow()
local f = win:frame()
local screen = win:screen()
local max = screen:frame()
@danicatalan
danicatalan / airpods.5m.sh
Created March 11, 2021 19:58
bitbar plugin airpods
#!/bin/bash
# Airpods.sh
# Output connected Airpods battery levels to BitBar
#
# Modified script from https://gist.github.com/Jahhein/45b8e8c9c36a0932189a5037f990bcdd
AIRPOD_ICON=$'🎧';
BATTERY_INFO=(

Keybase proof

I hereby claim:

  • I am danicatalan on github.
  • I am danicatalan (https://keybase.io/danicatalan) on keybase.
  • I have a public key ASDuGYXu6SOd2QV6flcXk6AKodyGYTwMh-6YSUlNs6G3sQo

To claim this, I am signing this object: