great improvements

This commit is contained in:
2026-01-26 14:53:10 +02:00
parent aabb3b1566
commit 03fab63ebf
9 changed files with 73 additions and 43 deletions

View File

@@ -5,7 +5,7 @@ PROFILE_FILE="/home/raga/.config/sway/scripts/display-profile/display-profile.co
mode_str=""
if [[ -f "$PROFILE_FILE" ]]; then
mode_str="$(awk '$1=="set" && $2=="$dp1_mode" {print $3; found=1} END {if(!found) print ""}' "$PROFILE_FILE" 2>/dev/null)"
mode_str="$(awk '$1=="set" && $2=="$lg_left_monitor_mode" {print $3; found=1} END {if(!found) print ""}' "$PROFILE_FILE" 2>/dev/null)"
fi
# Display-related FontAwesome icon + a short label.