-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added programming icon poller inspired by ideas and implementation of…
… wenkokke Split up the status bar pollers into different pollers that can be turned on individually Finished refactoring in the new content API and removed references to the old API Added configuration file to put in the preferences that are used for things like paths etc Added persistable prefered microphone Added programming icons from various icon packs laid out in the README Chose a more consistent style - walkthrough instead of walk_through and double quotes instead of single
- Loading branch information
1 parent
ba587bb
commit b11f456
Showing
52 changed files
with
923 additions
and
1,011 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
from talon import Module | ||
from typing import Any | ||
import os | ||
|
||
# Defaults | ||
preferences_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "preferences") | ||
|
||
# This file is used for all the configurations like custom paths etc | ||
hud_configuration = { | ||
"user_preferences_folder": preferences_dir, | ||
"content_preferences_folder": preferences_dir, | ||
} | ||
|
||
def hud_get_configuration(title: str, default = None) -> Any: | ||
global hud_configuration | ||
return hud_configuration[title] if title in hud_configuration else default | ||
|
||
mod = Module() | ||
@mod.action_class | ||
class Actions: | ||
|
||
def hud_get_configuration(title: str, default: Any = None) -> Any: | ||
"""Get a configuration setting from the HUD setting object""" | ||
return hud_get_configuration(title, default) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.