dotfiles/common/.config/skhd/skhdrc.org
2024-10-01 17:42:59 -05:00

2.9 KiB

skhd Configuration

Add keybinding to open a terminal emulator.

  cmd - return : /opt/homebrew/bin/alacritty

Add keybinding for killing a window.

  cmd + shift - q : yabai -m window --close

Add keybinding for opening an app launcher.

  cmd - d : ~/.local/bin/launcher

Add keybinding for reloading the configuration.

  cmd + shift - c : yabai --restart-service && skhd --restart-service && brew services restart sketchybar

Change focus keybindings.

  cmd - h : yabai -m window --focus west || yabai -m display --focus west
  cmd - j : yabai -m window --focus south || yabai -m display --focus south
  cmd - k : yabai -m window --focus north || yabai -m display --focus north
  cmd - l : yabai -m window --focus east || yabai -m display --focus east

Move window keybindings.

  shift + cmd - h : yabai -m window --warp west
  shift + cmd - j : yabai -m window --warp south
  shift + cmd - k : yabai -m window --warp north
  shift + cmd - l : yabai -m window --warp east

Change workspace keybindings.

  cmd - 1 : yabai -m space --focus 1
  cmd - 2 : yabai -m space --focus 2
  cmd - 3 : yabai -m space --focus 3
  cmd - 4 : yabai -m space --focus 4
  cmd - 5 : yabai -m space --focus 5
  cmd - 6 : yabai -m space --focus 6
  cmd - 7 : yabai -m space --focus 7
  cmd - 8 : yabai -m space --focus 8
  cmd - 9 : yabai -m space --focus 9
  cmd - 0 : yabai -m space --focus 10

Move window to workspace keybindings.

  cmd + shift - 1 : yabai -m window --space 1
  cmd + shift - 2 : yabai -m window --space 2
  cmd + shift - 3 : yabai -m window --space 3
  cmd + shift - 4 : yabai -m window --space 4
  cmd + shift - 5 : yabai -m window --space 5
  cmd + shift - 6 : yabai -m window --space 6
  cmd + shift - 7 : yabai -m window --space 7
  cmd + shift - 8 : yabai -m window --space 8
  cmd + shift - 9 : yabai -m window --space 9
  cmd + shift - 0 : yabai -m window --space 10

Define full screen keybinding.

  cmd + shift - f : yabai -m window --toggle zoom-fullscreen

Define toggle floating keybinding.

  cmd + shift - space : yabai -m window --toggle float

Add screenshot keybinding.

  shift + ctrl - s : open /System/Applications/Utilities/Screenshot.app