From 1986eaa0ce7478d56b63089e83804f254dceb05e Mon Sep 17 00:00:00 2001 From: spl3g Date: Sat, 6 Dec 2025 10:30:10 +0300 Subject: fix(hypr): fix the bug for long sink numbers --- home-manager/homeModules/attachments/hypr-scripts/switch-sink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3