From 322a5009f9d6bf29a11770fa0875956952bc52a7 Mon Sep 17 00:00:00 2001 From: Myryk Date: Thu, 27 Jun 2024 15:21:39 +0200 Subject: [PATCH] get_keybinds.py now only checks for "bind=" --- .config/ags/scripts/hyprland/get_keybinds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/ags/scripts/hyprland/get_keybinds.py b/.config/ags/scripts/hyprland/get_keybinds.py index 8fc12896..9b784df0 100755 --- a/.config/ags/scripts/hyprland/get_keybinds.py +++ b/.config/ags/scripts/hyprland/get_keybinds.py @@ -195,7 +195,7 @@ def get_binds_recursive(current_content, scope): if(keybind != None): current_content["keybinds"].append(keybind) - elif line == "" or line.startswith("$") or line.startswith("#"): # Comment, ignore + elif line == "" or not line.lstrip().startswith("bind"): # Comment, ignore pass else: # Normal keybind