Skip to content

Instantly share code, notes, and snippets.

View Rafael-Conde's full-sized avatar
🦀
Learning Rust

Rafael de Conde Rafael-Conde

🦀
Learning Rust
View GitHub Profile
@Rafael-Conde
Rafael-Conde / komorebi.ahk
Last active December 15, 2022 16:29
Komorebi autoHotKey V1 script with more functionality
#SingleInstance Force
; You can generate a fresh version of this file with "komorebic ahk-library"
#Include %A_ScriptDir%\komorebic.lib.ahk
; https://github.com/LGUG2Z/komorebi/#generating-common-application-specific-configurations
#Include %A_ScriptDir%\komorebi.generated.ahk
; Default to minimizing windows when switching workspaces
WindowHidingBehaviour("minimize")
@Rafael-Conde
Rafael-Conde / komorebi.ahk
Last active May 3, 2023 22:46 — forked from crosstyan/komorebic.ahk
komorebic.ahk for AutoHotkey v2
#SingleInstance Force
; Load library
#Include komorebic.lib.ahk
; Load configuration
#Include komorebi.generated.ahk
; Send the ALT key whenever changing focus to force focus changes
AltFocusHack("enable")
; Default to cloaking windows when switching workspaces

remove local branchs that aren't in the remote anymore

from this incredible answer:

git fetch -p ; git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -d