Git Product home page Git Product logo

yabai-config's Introduction

Yabai and Skhd Config

This repository contains my standalone Yabai and Skhd configurations.

Forked from https://github.com/Julian-Heng/yabai-config

See theirs dotfiles repository for other configurations.

NOTE: Yabai requires System Integrity Protection to be disabled to work properly. See here for more information. NOTE: For macOS Big Sur and above, scripting additions needs elevated privileges to work properly. See here for more information.

Installation

# Remove previous links
$ rm -f "${HOME}"/.{yabai,skhd}rc

# Install configs
$ git clone https://github.com/nanot1m/yabai-config.git "${HOME}"/.config/yabai
$ ln -s "${HOME}/.config/yabai/yabairc" "${HOME}/.yabairc"
$ ln -s "${HOME}/.config/yabai/skhdrc" "${HOME}/.skhdrc"
$ ln -s "${HOME}/.config/yabai/simplebarrc" "${HOME}/.simplebarrc"

Keyboard Shortcuts

Changing Focus

alt + hjkl

Resize Windows

Action Key Combination
Resize left lctrl + alt + h
Resize down lctrl + alt + j
Resize up lctrl + alt + k
Resize right lctrl + alt + l
Equalise lctrl + alt + e

Move Windows

shift + alt + hjkl

Move Windows to Workspace

Action Key Combination
Send to last active desktop shift + alt + m
Send to previous workplace shift + alt + p
Send to next workplace shift + alt + n
Send to workplace shift + alt + num

Rotate Windows

Action Key Combination
Rotate clockwise alt + r
Rotate anticlockwise shift + alt + r
Flip on x-axis shift + alt + x
Flip on y-axis shift + alt + y

Window Actions

Action Key Combination
Fullscreen alt + f
Native fullscreen shift + alt + f

Window Insertion Point

Action Key Combination
Insert left shift + lctrl + alt + h
Insert down shift + lctrl + alt + j
Insert up shift + lctrl + alt + k
Insert right shift + lctrl + alt + l

NOTE: To cancel insertion point, press the last inerstion key combination.

Misc

Action Key Combination
Toggle float shift + alt + space
Toggle gaps lctrl + alt + g
Restart yabai lctrl + shift + alt + r

Showing System Information

Description

Uses osascript to show information like CPU, memory, battery, etc. The CPU script requires osx-cpu-temp installed. The song script supports Spotify, Music and cmus.

Click here to view the script folder.

NOTE: May have to change the location of the scripts in skhdrc.

Key Combination

fn + lalt + num

Screenshots

fn + lalt - 1 : /path/to/script
fn + lalt - 2 : /path/to/script
fn + lalt - 3 : /path/to/script
...

Launch iTerm2

Description

Launches iTerm2.

Click here to view the script.

Key Combination

alt + return

alt - return : /path/to/launch/terminal

yabai-config's People

Contributors

julian-heng avatar nanot1m avatar chillomaniac avatar danielfalbo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.