aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhome-manager/homeModules/attachments/hypr-scripts/switch-sink.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/home-manager/homeModules/attachments/hypr-scripts/switch-sink.py b/home-manager/homeModules/attachments/hypr-scripts/switch-sink.py
index a043238..aa7eec1 100755
--- a/home-manager/homeModules/attachments/hypr-scripts/switch-sink.py
+++ b/home-manager/homeModules/attachments/hypr-scripts/switch-sink.py
@@ -22,7 +22,7 @@ for line in status_lines[sink_line:]:
nums = line[0]
name = line[1]
end_name = line[1].index('[')
- sink = nums[8:]
+ sink = nums[2:].strip()
if nums[4] == '*':
continue