diff options
author | Yuchen Pei <hi@ypei.me> | 2022-10-09 09:38:53 +1100 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-10-09 09:38:53 +1100 |
commit | 1a5c7f6e4f0a6f7b4aa662ad0d9b1fca2bc58ac4 (patch) | |
tree | 90d41b6dc4bb3d967b3d293acef2c57a24e4953a | |
parent | b0406ca48a2e66a663338783cc9d2768b93cecf6 (diff) |
adding active profile indication
-rw-r--r-- | pactl.el | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -32,9 +32,13 @@ (alist-get 'id card) (alist-get 'id profile)) 'invisible t) - (format "%s/%s%s" + (format "%s/%s%s%s" (alist-get 'description card) (alist-get 'description profile) + (if (equal (alist-get 'active-profile card) + (alist-get 'id profile)) + " (Active)" + "") (if (alist-get 'available profile) "" " (Unavailable)")))) |