From 7090f6614f0f439ed17991ce3a25d94ce5c4bea4 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Thu, 25 Jan 2024 12:39:27 +0100 Subject: [PATCH] polybar: Fix linting error for playerctl script --- home-manager/modules/polybar/scripts/polybar-playerctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home-manager/modules/polybar/scripts/polybar-playerctl b/home-manager/modules/polybar/scripts/polybar-playerctl index ede1f6a..64ad5da 100755 --- a/home-manager/modules/polybar/scripts/polybar-playerctl +++ b/home-manager/modules/polybar/scripts/polybar-playerctl @@ -47,7 +47,7 @@ if os.path.isfile(player_file): player_found = False player_changed = False player_index = 0 -for (index, p) in enumerate(players): +for index, p in enumerate(players): if p.instance == current_player_name: player_found = True player_index = index