I am batman

This commit is contained in:
2026-07-10 20:07:29 -04:00
commit 4aac54bff6
175 changed files with 18136 additions and 0 deletions

16
scripts/center-window.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# Toggle single_window_aspect_ratio in dwindle layout
# This script toggles between enforcing a 1:1 aspect ratio and allowing full width
# Get current dwindle settings
CURRENT_RATIO=$(hyprctl getoption dwindle:single_window_aspect_ratio | grep -oP 'vec2: \K.*')
if [ "$CURRENT_RATIO" = "[1, 1]" ]; then
# Disable aspect ratio (set to 0 0 to disable)
hyprctl keyword dwindle:single_window_aspect_ratio "0 0"
else
# Enable aspect ratio (1 1 for square)
hyprctl keyword dwindle:single_window_aspect_ratio "1 1"
fi