Skip to content

Commit 555a061

Browse files
authored
Add files via upload
1 parent e9e12d4 commit 555a061

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

tools/genconfig.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
'background': '',
1313
'dateFormat': 'MMM d',
1414
'enableAnimation': True,
15+
'expandPanel': True,
1516
'favApps': [],
1617
'firstDayOfWeek': 'Monday',
1718
'fontFamily': 'Open Sans',
@@ -22,18 +23,15 @@
2223
'panelHeight': 28,
2324
'panelLocation': 'top',
2425
'showDate': True,
25-
'theme': 'light',
26-
'timeFormat': 'h:mm AP'}
26+
'theme': 'gradient-light.qss',
27+
'timeFormat': 'h:mm AP',
28+
'xOffset': 0}
2729

2830

2931
userName = os.getenv('USER')
3032
dirPath = '/home/' + userName + '/.config/plainDE'
31-
32-
try:
33-
os.mkdir(dirPath)
34-
except FileNotFoundError:
35-
os.mkdir('/home/' + userName + '/.config')
36-
os.mkdir(dirPath)
33+
os.mkdir(dirPath)
3734

3835
with open(dirPath + '/config.json', 'w') as configWriter:
3936
json.dump(config, configWriter)
37+

0 commit comments

Comments
 (0)