ratbagctl: show if a profile is dirty

This commit is contained in:
Yaroslav Chvanov
2023-03-07 00:30:19 +03:00
parent c4ee9d707d
commit 3b7fc7a662

View File

@@ -264,10 +264,11 @@ def print_resolution(
def print_profile(device: RatbagdDevice, profile: RatbagdProfile, level: int) -> None:
print(
" " * (level - 2)
+ "Profile {}:{}{}".format(
+ "Profile {}:{}{}{}".format(
profile.index,
" (disabled)" if profile.disabled else "",
" (active)" if profile.is_active else "",
" (dirty)" if profile.dirty else "",
)
)