都是比较主观的设置
Bash默认加载文件设置 & 取消zsh提示
m1 mac带的系统默认zsh,如果日常用bash的话每次打开都会有提示,在.bash_profile中设置即可
默认加载的是.bash_profile,所以加一行.bashrc
export BASH_SILENCE_DEPRECATION_WARNING=1 source .bashrc
|
bash无高亮
export CLICOLOR=1 export LSCOLORS=ExGxFxdaCxDaDahbadeche alias grep='grep --color' alias egrep='egrep --color' alias fgrep='fgrep --color'
|
加入到.bashrc即可
windows风格的 alt-tab
brew install –cask alt-tab
代替command+tab
代替command+`
可以实现跨桌面应用内切换
平铺式窗口管理 - Aerospace
在MacOS较高的版本,关闭 SIP 去折腾 yabai 比较麻烦,而且关闭了 SIP 功能之后也会有很多功能不方便用,例如 Apple Pay,就无法在app store中装一些移动端软件。
aerospace不需要任何提权操作
一些宣传效果可以看少数派的文章 App+1 | AeroSpace:消除窗口重叠,世界属于平铺
这里列一下我的配置文件
.aerospace.toml
alt-0 = 'workspace 0' alt-1 = 'workspace 1' alt-2 = 'workspace 2' alt-3 = 'workspace 3' alt-4 = 'workspace 4' alt-5 = 'workspace 5' alt-6 = 'workspace 6' alt-7 = 'workspace 7' alt-8 = 'workspace 8' alt-9 = 'workspace 9'
alt-shift-0 = 'move-node-to-workspace 0' alt-shift-1 = 'move-node-to-workspace 1' alt-shift-2 = 'move-node-to-workspace 2' alt-shift-3 = 'move-node-to-workspace 3' alt-shift-4 = 'move-node-to-workspace 4' alt-shift-5 = 'move-node-to-workspace 5' alt-shift-6 = 'move-node-to-workspace 6' alt-shift-7 = 'move-node-to-workspace 7' alt-shift-8 = 'move-node-to-workspace 8' alt-shift-9 = 'move-node-to-workspace 9'
[[on-window-detected]] if.window-title-regex-substring = '(setting|设置)' run = 'layout floating'
[[on-window-detected]] if.window-title-regex-substring = '(Picture-in-Picture|画中画)' run = 'layout floating'
[[on-window-detected]] if.app-id = 'com.tencent.qq'
run = 'layout floating'
[[on-window-detected]] if.app-id = 'com.tencent.xinWeChat'
run = 'layout floating'
[[on-window-detected]] if.app-id = 'com.google.Chrome.app.ibblmnobmgdmpoeblocemifbpglakpoi' run = 'layout floating'
[[on-window-detected]] if.app-id = 'com.apple.ActivityMonitor' run = 'layout floating'
[[on-window-detected]] if.app-id = 'maccatalyst.com.atebits.Tweetie2' run = 'layout floating'
[[on-window-detected]] if.app-id = 'com.tencent.QQMusicMac' run = 'layout floating'
[[on-window-detected]] if.app-id = 'com.alibaba.DingTalkMac' run = 'layout floating'
[[on-window-detected]] if.app-id = 'com.netease.163music' run = 'layout floating'
|
Thor
一款组合件触发应用的软件,我一般用来打开Alacritty