great improvements
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user