Skip to content

Commit

Permalink
yabai: improved screencapture
Browse files Browse the repository at this point in the history
  • Loading branch information
andys8 committed Jan 20, 2025
1 parent 422bef0 commit b2d1fb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion yabai/skhdrc
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ ctrl + alt + cmd - r : yabai --restart-service
alt - p : screencapture -ixc
f13 : screencapture -ixc
alt + shift - p : screencapture -ix ~/Pictures/screenshots/screenshot_$(date +%Y-%m-%d_%H-%M-%S).png
shift - f13 : Screencapture -ix ~/Pictures/screenshots/screenshot_$(date +%Y-%m-%d_%H-%M-%S).png
shift - f13 : screencapture -ix ~/Pictures/screenshots/screenshot_$(date +%Y-%m-%d_%H-%M-%S).png

# lock
cmd + alt + ctrl - space : pmset displaysleepnow
Expand Down
2 changes: 2 additions & 0 deletions yabai/yabairc
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ yabai -m config left_padding 4
yabai -m rule --add app="^System Preferences$" manage=off
yabai -m rule --add app="^Wally$" manage=off
yabai -m rule --add app="^Pulse Secure$" manage=off
yabai -m rule --add app="^QuickRecorder$" manage=off
yabai -m rule --add app="^Kap$" manage=off

# signals
yabai -m signal --add event=window_destroyed active=yes action="yabai -m query --windows --window &> /dev/null || yabai -m window --focus mouse &> /dev/null || yabai -m window --focus \$(yabai -m query --windows --space | jq .[0].id) &> /dev/null"
Expand Down

0 comments on commit b2d1fb9

Please sign in to comment.