Skip to content

Instantly share code, notes, and snippets.

View ethankore's full-sized avatar
🤔
Did I write that?

Ethan Koren ethankore

🤔
Did I write that?
View GitHub Profile
@ethankore
ethankore / init.lua
Last active February 1, 2022 10:24
My Hammerspoon scripts
function moveToNextScreen()
local app = hs.window.focusedWindow()
app:moveToScreen(app:screen():next())
end
function moveToPrevScreen()
local app = hs.window.focusedWindow()
app:moveToScreen(app:screen():previous())
end
set -g mouse on
set -g prefix ^a
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
unbind %
bind | split-window -h
bind - split-window -v
bind N break-pane
# Set status bar
set -g status-bg black
set -g status-fg white
@ethankore
ethankore / alacritty.yml
Last active March 2, 2019 01:19
My Alacritty settings
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
#env:
# TERM variable
#
# This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will
@ethankore
ethankore / script.ahk
Last active May 25, 2023 15:10
My AutoHotKey scripts
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its speed and reliability.
WindowTitlesToToggleMinimizedAndFullScreenStates := ["Seinfeld", "13tv.co.il", "ערוץ 13", "ערוץ 12", "חדשות 13", "המסך המפוצל", "VLC"]
ProcessNamesToToggleMuteOn := ["chrome.exe", "brave.exe"]
SoundUpAndDownVolumeStep = 10
; Increase or decrease volume using a specific step
; Originally written to make the Das Keyboard Professional volume knob less annoying, making it behave like it does on MacOS