from cph import Counter import time # have to "pip install" locally first (or run ./installer.py): import keyboard import cursor count = Counter() # If you want your cursor back afterwards, just run curser_show in your console cursor.hide() ''' I suggest running this in a tiny shell, with transparency, for Linux tilda is a great choice ''' # Sets two hotkeys, one to increase and one to decrease, change at will (combinations possible eg. 'shift+i') keyboard.add_hotkey('`+a', count.increase) keyboard.add_hotkey('`+z', count.decrease) # Refreshes current CPH in absence of hotkey input while True: time.sleep(5) count.refresh()