**Yazi Integration Fixes:** - Fixed y() function in .zshrc to prevent shell exit when quitting Yazi - Updated kitty-yazi.sh script to use AppleScript for proper tab creation - Script now focuses existing Kitty window and creates new tab instead of new window **Kitty Configuration Enhancements:** - Added advanced font rendering with ligature support - Improved cursor animations and visual effects - Enhanced tab bar with powerline styling and fade effects - Added background blur and better transparency handling - Optimized performance settings (rendering delays, scrolling) - Added comprehensive keyboard shortcuts for window/tab management - Improved URL handling and text selection features - Added notification system for long-running commands 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
15 lines
475 B
Bash
Executable File
15 lines
475 B
Bash
Executable File
#!/bin/bash
|
|
|
|
RIGHT_ID="7A7FAED1-82FF-42D7-8D6F-32E397977EB2"
|
|
DP="/opt/homebrew/bin/displayplacer"
|
|
|
|
ROTATION=$($DP list displays | awk "/Persistent screen id: $RIGHT_ID/{flag=1} flag && /Rotation:/ {print \$2; exit}")
|
|
|
|
echo "Current rotation is: $ROTATION"
|
|
|
|
if [ "$ROTATION" = "0" ]; then
|
|
$DP "id:$RIGHT_ID res:2560x1440 hz:100 color_depth:8 scaling:on origin:(0,0) degree:90"
|
|
else
|
|
$DP "id:$RIGHT_ID res:2560x1440 hz:100 color_depth:8 scaling:on origin:(0,0) degree:0"
|
|
fi
|