Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renamed the project from nclock to uberqt as the maintainer of nclock seems not interested implemented theme switching added license file large updates
- Loading branch information
Showing
10 changed files
with
636 additions
and
103 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
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,10 @@ | ||
import os | ||
|
||
def get_default_theme_dir(): | ||
import platform | ||
import re | ||
# it is actually the hostname, but it should match normally :-) | ||
if re.match("Nokia-N[0-9]{3}.*", platform.node()): | ||
return os.path.join(os.path.expanduser("~"), "MyDocs", "Uberqt-themes") | ||
# default linux path | ||
return os.path.join(os.path.expanduser("~"), ".config", "uberclock", "uberqt-themes") |
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.