Removed title bar from alacritty

This commit is contained in:
Afonso Franco 2024-02-12 15:04:57 +00:00
parent ad9912c773
commit 2e2db2ab1d
Signed by: afonso
SSH key fingerprint: SHA256:JiuxZNdA5bRWXPMUJChI0AQ75yC+cXY4xM0IaVwEVys
3 changed files with 58 additions and 0 deletions

View file

@ -16,6 +16,7 @@ style = "Light"
opacity = 0.95
option_as_alt = "Both"
dynamic_padding = true
decorations= "Buttonless"
[window.padding]
x = 2

31
.config/skhd/skhdrc Normal file
View file

@ -0,0 +1,31 @@
# Terminal and Applications
cmd - t : open -na alacritty
cmd - b : open -a Firefox
# System Controls
cmd - return : yabai -m window --swap west
cmd - q : yabai -m window --close
cmd - u : yabai --load-sa && yabai --restart # Assuming you have scripting additions installed
# Window Management
cmd - h : yabai -m window --resize left:20:0
cmd - l : yabai -m window --resize right:20:0
cmd - j : yabai -m window --focus prev || yabai -m window --focus last
cmd - k : yabai -m window --focus next || yabai -m window --focus first
# Focus workspaces 1 through 6
cmd - 1 : yabai -m space --focus 1
cmd - 2 : yabai -m space --focus 2
cmd - 3 : yabai -m space --focus 3
cmd - 4 : yabai -m space --focus 4
cmd - 5 : yabai -m space --focus 5
cmd - 6 : yabai -m space --focus 6
# Move focused window to workspaces 1 through 6 and focus that space
cmd + shift - 1 : yabai -m window --space 1
cmd + shift - 2 : yabai -m window --space 2
cmd + shift - 3 : yabai -m window --space 3
cmd + shift - 4 : yabai -m window --space 4
cmd + shift - 5 : yabai -m window --space 5
cmd + shift - 6 : yabai -m window --space 6

26
.config/yabai/yabairc Executable file
View file

@ -0,0 +1,26 @@
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
sudo yabai --load-sa
yabai -m config layout bsp
#yabai -m config debug_output on
# General settings
yabai -m config focus_follows_mouse autofocus
yabai -m config window_placement first_child
yabai -m config window_placement second_child
yabai -m rule --add app="^Firefox$" space=2
# Add more rules based on your applications and workspace preferences
#Indicator
yabai -m signal --add event=mission_control_exit action='echo "refresh" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=display_added action='echo "refresh" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=display_removed action='echo "refresh" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=window_created action='echo "refresh windows" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=window_destroyed action='echo "refresh windows" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=window_focused action='echo "refresh windows" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=window_moved action='echo "refresh windows" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=window_resized action='echo "refresh windows" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=window_minimized action='echo "refresh windows" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=window_deminimized action='echo "refresh windows" | nc -U /tmp/yabai-indicator.socket'