ysl2 / .dotfiles

My dotfiles
2 stars 0 forks source link

[Mac] Known issues & New features #64

Open ysl2 opened 4 months ago

ysl2 commented 4 months ago

multi-window power user 考虑hammerspoon,amethyst,yabai

Non-free: https://manytricks.com/moom/ https://contexts.co/ https://folivora.ai/bettersnaptool https://magnet.crowdcafe.com/ https://manico.im/ https://folivora.ai/ https://hazeover.com/ https://thelasso.app/

Part-free: https://www.raycast.com/

Free: https://github.com/pqrs-org/Karabiner-Elements (18.2k star) https://github.com/lwouis/alt-tab-macos (10.1k star) https://github.com/rxhanson/Rectangle (25.1k star) https://github.com/ianyh/Amethyst (14.4k star) https://github.com/Hammerspoon/hammerspoon (11.7k star) https://github.com/dshnkao/SpaceId (352) https://github.com/koekeishiya/yabai (22.4k star) https://github.com/nikitabobko/AeroSpace (3.5k star) https://github.com/fikovnik/ShiftIt (5.5k star) https://bahoom.com/hyperswitch


Todo:

yabai + raycast + alttab, but yabai has bugs with WeCom.

Try other wm like amethyst and aerospace.

ysl2 commented 4 months ago

yabai & skhd

NOTE: move to space and follow, but cannot focus, current solution is a trick. join a window to a non-empty workspace, cannot focus this window. workspace back and forth (really need this) workspace prev and next (only not empty), consider using this, and write a cache file to save current workspace to back and forth.

ref: https://github.com/josean-dev/dev-environment-files/blob/main/.config/skhd/skhdrc


yabai 设置某window 变为float的时候,同时调整尺寸并且让其居中显示

yabai 多显示器:1. 将窗口发送到另一个显示器; 2. 聚焦到另一个显示器

yabai float 置顶功能,并且切换desktop的时候能跟着动

yabai 切换workspace的skhd快捷键,考虑是否有必要增加sleep的延长时间,比如0.5

需要一个rearrange的功能,类似i3wm的bulkmove

多显示器时,鼠标光标focus跟随显示器。比如多个chrome页面在多个显示器,focus应该始终跟随鼠标。不然还需要再点一下

yabai,腾讯会议,双击小会议图标,会直接跳到会议室所在的space。会议室关闭之后,会直接跳到腾讯会议的主页面所在的space。如何不是跟随过去,而是直接拽到当前space?

yabai 发送float窗口到另外显示器,有问题。定位到float窗口没有默认居中和调整尺寸

yabai stack layout,设置成循环滚动。目前是卡住的状态。

严重bug:yabai对于"Wecom · Meetings"会抽疯,直接导致yabai不可用

https://github.com/kclejeune/system/blob/eb9eaf87bc7e81858d837883c0df4cd309b104cb/modules/home-manager/dotfiles/hammerspoon/yabai.lua

ysl2 commented 4 months ago

switch capslock and esc

ysl2 commented 4 months ago

https://github.com/felixhageloh/uebersicht

ysl2 commented 3 months ago

需要看一下kitty的类似alacritty的ctrl + shift + space的功能,即通过键盘进行局部选择的。

https://github.com/kovidgoyal/kitty/issues/1698

ysl2 commented 3 months ago

open html in lf,默认是用mimeopen打开。但是mac只有open,没有mimeopen

ysl2 commented 3 months ago

how to pin window on top?

ysl2 commented 3 months ago

warp terminal?

ysl2 commented 3 months ago

autoraise,在切换到企微再切换预览图的时候,如果光标不在预览图上,会强行聚焦到企微上面

目前禁用了autoraise

ysl2 commented 1 month ago

mac没有alt键,导致:

  1. 终端下没法后退前进整个单词
  2. nvim没法退出terminal返回到normal模式
  3. lf无法使用删除mark相关功能

发现alt默认是super。但是alt+m会直接导致kitty最小化。需要禁用系统默认keymap

ysl2 commented 2 weeks ago

aerospace:

autotiling scratchpad -> https://github.com/nikitabobko/AeroSpace/issues/510 float and shrink to 1 / 2 float window resize wecom 弹出窗口应该float finder float by default snipaste top,should across workspaces weterm弹出的登录窗口,需要float 窗口如何resize float should be pinned as default.

others' config I found: https://gist.github.com/carlosflorencio/93c8086372ad7ac99e731517e08a41f8

reddit config: https://github.com/agenttank/dotfiles_macos https://github.com/samkaj/dots.macos https://github.com/forteleaf/sketkchybar-with-aerospace https://gist.github.com/nullptropy/c26e4f90d979b8b10828188f17078102 https://github.com/lucax88x/wentsketchy https://github.com/johnend/dots https://github.com/waytoabv/Dotfiles