diff options
| author | spl3g <spleefer6@yandex.ru> | 2025-12-06 10:30:10 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-12-06 10:30:10 +0300 |
| commit | 1986eaa0ce7478d56b63089e83804f254dceb05e (patch) | |
| tree | 0dfb783f82ddca74f044baa50fd8428db2dbcdde /home-manager/homeModules/attachments | |
| parent | cbe4b83d252102603ae53aac14c3c18c19d2812a (diff) | |
fix(hypr): fix the bug for long sink numbers
Diffstat (limited to 'home-manager/homeModules/attachments')
| -rwxr-xr-x | home-manager/homeModules/attachments/hypr-scripts/switch-sink.py | 2 |
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 |
