# when bash is used, the ' ' delimeter can be specified # to chain commands. if the $SHELL environment # variable is not set, it will default to '/bin/bash'. # -> = keypress is not consumed by skhd # * = matches every application not specified in # ~ = application is unbound and keypress is forwarded per usual, when specified in a # A mode is declared according to the following rules: # mode_decl = '::' ':' | '::' ':' | # '::' | '::' # name = desired name for this mode, # = capture keypresses regardless of being bound to an action # command = command is executed through '$SHELL -c' and # follows valid shell syntax. # an EOL character signifies the end of the bind. # to allow a command to extend into multiple lines, # prepend '\' at the end of the previous line. # A list of all built-in modifier and literal keywords can # be found at # A hotkey is written according to the following rules: # hotkey = ' | # mode = 'name of mode' | ',' # action = '' | '->' '' # ':' | '->' ':' # ' ' | '->' ' ' # keysym = '-' | # mod = 'modifier keyword' | '+' # key = | # literal = 'single letter or built-in keyword' # keycode = 'apple keyboard kVK_ values (0x3C)' # proc_map_lst = * # proc_map = ':' | '~' | # '*' ':' | '*' '~' # string = '"' 'sequence of characters' '"' # command = command is executed through '$SHELL -c' and # follows valid shell syntax. # FOR SIMPLE EXAMPLE MAPPINGS LOOK FURTHER DOWN THIS FILE. Yabai -m config window_gap 06 echo "yabai configuration loaded." skhd # THE FOLLOWING IS AN EXPLANATION OF THE GRAMMAR THAT SKHD PARSES. Yabai -m config insert_feedback_color 0xffd75f5f Yabai -m config normal_window_border_color 0xff555555 Yabai -m config active_window_border_color 0xff775759 Yabai -m config normal_window_opacity 0.90 Yabai -m config active_window_opacity 1.0 Yabai -m config window_opacity_duration 0.0 Yabai -m config window_placement second_child Yabai -m config window_origin_display default # for this to work you must configure sudo such that # it will be able to run the command without password # see this wiki page for information: # - (latest-release) # sudo yabai -load-sa # yabai -m signal -add event=dock_did_restart action="sudo yabai -load-sa" # global settings Uncomment # the following line to have the injection performed # when the config is executed during startup. Yabai #!/usr/bin/env sh # the scripting-addition must be loaded manually if # you are running yabai on macOS Big Sur. Something like FancyZones in PowerToys is good enough.A tiling window manager for macOS based on binary space parti On a larger/multiple screens, I find it's less necessarily to have the full features of a tiling WM. It sounds crazy but I almost prefer working on a laptop screen with a good Tiling WM to docking it with multiple screens. For me, I find the ease/convenience of this makes working on a laptop 10x better. I don't really have any hard and fast rules for what goes where, I just let things develop organically and don't restart my computer that often. So you might have something going on like:ĭesktop 2 = WinKey + 2 = Email application + WIP Replyĭesktop 3 = WinKey + 3 = Multiple Chat Appsĭesktop 5 = WinKey + 5 = Debug Window + Documentation + Another Browser Rather than using gestures, task view, or alt-tabbing to find your window, you typically have specific groups of windows on specific virtual desktops which are bound to predictable hotkeys. I also find they provide easier window management/navigation on laptops. Other commenters are speaking to the ability to have them auto-configure to specific layouts, which is indeed useful for some people.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |