tmux stuff
This commit is contained in:
@@ -15,3 +15,8 @@ shift + cmd - f : yabai -m window --toggle zoom-fullscreen
|
||||
|
||||
# balance windows
|
||||
shift + cmd - b : yabai -m space --balance
|
||||
|
||||
# remember float setting
|
||||
fn - t : app=$(yabai -m query --windows --window mouse | jq -r '.app' | tr ' ' '_');\
|
||||
yabai -m window --toggle float;\
|
||||
yabai -m signal --remove autofloat_$app || yabai -m signal --add event=window_created app=$app label=autofloat_$app action="yabai -m window $YABAI_WINDOW_ID --toggle float"
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
# ~/.tmux.conf
|
||||
|
||||
# Options to make tmux more pleasant
|
||||
set -g mouse on
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -a terminal-features 'xterm-256color:RGB'
|
||||
|
||||
# Configure the catppuccin plugin
|
||||
set -g @catppuccin_flavor "mocha"
|
||||
set -g @catppuccin_window_status_style "rounded"
|
||||
|
||||
# Load catppuccin
|
||||
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
|
||||
# For TPM, instead use `run ~/.config/tmux/plugins/tmux/catppuccin.tmux`
|
||||
|
||||
# Make the status line pretty and add some modules
|
||||
set -g status-right-length 100
|
||||
set -g status-left-length 100
|
||||
set -g status-left ""
|
||||
set -g status-right "#{E:@catppuccin_date_time}"
|
||||
|
||||
run ~/.config/tmux/plugins/tmux-plugins/tmux-cpu/cpu.tmux
|
||||
run ~/.config/tmux/plugins/tmux-plugins/tmux-battery/battery.tmux
|
||||
# Or, if using TPM, just run TPM
|
||||
@@ -19,12 +19,19 @@ yabai -m mouse_action2 resize
|
||||
|
||||
yabai -m mouse_drop_action swap
|
||||
|
||||
# ignore apps
|
||||
# manage apps
|
||||
yabai -m rule --add app="^System Settings$" manage=off
|
||||
yabai -m rule --add app="^Calculator$" manage=off
|
||||
yabai -m rule --add app="^love$" manage=off
|
||||
yabai -m rule --add app="^Messages$" manage=off
|
||||
|
||||
yabai -m rule --add app="Godot" manage=on
|
||||
yabai -m rule --add app="Godot" title=".*\(DEBUG\).*" manage=off
|
||||
yabai -m rule --add app="Godot" title=".*Settings.*" manage=off
|
||||
yabai -m rule --add app="Godot" title=".*Create.*" manage=off
|
||||
yabai -m rule --add app="Godot" title="Please Confirm..." manage=off
|
||||
yabai -m rule --add app="Godot" title=".*Save.*" manage=off
|
||||
|
||||
# include apps
|
||||
yabai -m rule --add app="^Unity$" manage=on
|
||||
|
||||
|
||||
Reference in New Issue
Block a user