linux窗口管理文件夹,yabai-config

chunkwm, yabai and skhd configs

My personal chunkwm, yabai and skhd configs

NOTE: yabai requires System Integrity Protection to be disabled to work properly. See here for more information.

Installing for chunkwm

# Remove previous links

$rm -f "${HOME}"/.{chunkwm,skhd}rc

# Install configs

$git clone https://github.com/itgoyo/yabai-config.git "${HOME}"/.config/chunkwm

$ln -s "${HOME}/.config/chunkwm/chunkwm/chunkwmrc" "${HOME}/.chunkwmrc"

$ln -s "${HOME}/.config/chunkwm/chunkwm/skhdrc" "${HOME}/.skhdrc"

Installing for yabai

# Remove previous links

$rm -f "${HOME}"/.{yabai,skhd}rc

# Install configs

$git clone https://github.com/itgoyo/yabai-config.git "${HOME}"/.config/yabai

$ln -s "${HOME}/.config/yabai/yabai/yabairc" "${HOME}/.yabairc"

$ln -s "${HOME}/.config/yabai/yabai/skhdrc" "${HOME}/.skhdrc"

Keyboard shortcuts

Chunkwm / Yabai

Changing focus

alt + hjkl

focus

Action

Key Combination

focus west

alt + h

focus south

alt + j

focus north

alt + k

focus east

alt + l

Resize windows

Action

Key Combination

Resize left

shfit + cmd + h

Resize down

shfit + cmd + j

Resize up

shfit + cmd + k

Resize right

shfit + cmd + l

Equalise

shfit + cmd + 0

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

shift + alt + r

Rotate anticlockwise

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

Center window

shift + alt + c

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

Cancel insert (chunkwm only)

shift + lctrl + alt + x

Misc

Action

Key Combination

Toggle float

shift + alt + space

Toggle gaps

lctrl + alt + g

Restart chunkwm

lctrl + shift + alt + r

Non-chunkwm

Show information

Description

Uses osascript to show information like CPU, memory, battery, etc. The CPU script requires osx-cpu-temp installed. The song script supports iTunes 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

856d2db4f39b112ce9e7cffa305db6db.png

60117b97f1498023102712345704b978.png

651e299bbdf97bb25f4023df241fde14.png

5dfc8df12e37e9aea25565176e4685fa.png

dabd97a9526842bfc87f8ecea3b84043.png

fn + lalt - 1 : /path/to/script

fn + lalt - 2 : /path/to/script

fn + lalt - 3 : /path/to/script

...

Opening applications

Launch iTerm2

Description

Launches iTerm2 using like in i3-wm.

Click here to view the script

Key Combination

alt + return

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值