forked from Shinonome/dots-hyprland
get_keybinds.py now only checks for "bind=" (#654)
This commit is contained in:
@@ -195,7 +195,7 @@ def get_binds_recursive(current_content, scope):
|
|||||||
if(keybind != None):
|
if(keybind != None):
|
||||||
current_content["keybinds"].append(keybind)
|
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
|
pass
|
||||||
|
|
||||||
else: # Normal keybind
|
else: # Normal keybind
|
||||||
|
|||||||
Reference in New Issue
Block a user