Skip to content

Commit f313068

Browse files
committed
0.4
1 parent 7a3b12b commit f313068

File tree

8 files changed

+44
-27
lines changed

8 files changed

+44
-27
lines changed

usr/share/plainDE/release_data

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3
1+
0.4

usr/share/plainDE/styles/gradient-dark.qss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ QWidget#panelPane, QWidget#autostartPane,
44
QWidget#appletsPane, QWidget#appearancePane,
55
QWidget#datetimeAppletPane, QWidget#appMenuAppletPane,
66
QWidget#about, QWidget#keyboardPane, QWidget#layoutDialog,
7-
QWidget#localIPv4AppletPane, QWidget#mprisApplet,
8-
QWidget#mprisCard {
7+
QWidget#localIPv4AppletPane, QWidget#panelsPane,
8+
QWidget#mprisApplet, QWidget#mprisCard, QInputDialog {
99
background-color: qlineargradient(spread:pad, x1:0.523, y1:0.568182, x2:0.517, y2:1, stop:0 rgba(34, 34, 34, 255), stop:1 rgba(17, 17, 17, 255));
1010
}
1111

@@ -14,7 +14,7 @@ QLabel {
1414
}
1515

1616
QPushButton, QLineEdit, QListWidget,
17-
QComboBox, QSpinBox, QTextEdit {
17+
QComboBox, QSpinBox, QDoubleSpinBox, QTextEdit {
1818
background-color: #262626;
1919
color: #f3f3f3;
2020
}

usr/share/plainDE/styles/gradient-light.qss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ QWidget#panelPane, QWidget#autostartPane,
44
QWidget#appletsPane, QWidget#appearancePane,
55
QWidget#datetimeAppletPane, QWidget#appMenuAppletPane,
66
QWidget#about, QWidget#keyboardPane, QWidget#layoutDialog,
7-
QWidget#localIPv4AppletPane, QWidget#mprisApplet,
8-
QWidget#mprisCard {
7+
QWidget#localIPv4AppletPane, QWidget#panelsPane,
8+
QWidget#mprisApplet, QWidget#mprisCard, QInputDialog {
99
background-color: qlineargradient(spread:pad, x1:0.502, y1:0, x2:0.507, y2:1, stop:0 rgba(255, 255, 255, 255),stop:1 rgba(207, 207, 207, 255));
1010
}
1111

usr/share/plainDE/styles/solarized-dark.qss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ QWidget#panelPane, QWidget#autostartPane,
88
QWidget#appletsPane, QWidget#appearancePane,
99
QWidget#datetimeAppletPane, QWidget#appMenuAppletPane,
1010
QWidget#about, QWidget#keyboardPane, QWidget#layoutDialog,
11-
QWidget#localIPv4AppletPane, QWidget#mprisApplet,
12-
QWidget#mprisCard {
11+
QWidget#localIPv4AppletPane, QWidget#panelsPane,
12+
QWidget#mprisApplet, QWidget#mprisCard, QInputDialog {
1313
background-color: #073642;
1414
}
1515

@@ -18,7 +18,7 @@ QLabel {
1818
}
1919

2020
QPushButton, QLineEdit, QListWidget,
21-
QComboBox, QSpinBox, QTextEdit, QScrollBar {
21+
QComboBox, QSpinBox, QDoubleSpinBox, QTextEdit, QScrollBar {
2222
background-color: #073642;
2323
color: #93a1a1;
2424
}

usr/share/plainDE/styles/still-dark.qss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ QWidget#panelPane, QWidget#autostartPane,
88
QWidget#appletsPane, QWidget#appearancePane,
99
QWidget#datetimeAppletPane, QWidget#appMenuAppletPane,
1010
QWidget#about, QWidget#keyboardPane, QWidget#layoutDialog,
11-
QWidget#localIPv4AppletPane, QWidget#mprisApplet,
12-
QWidget#mprisCard {
11+
QWidget#localIPv4AppletPane, QWidget#panelsPane,
12+
QWidget#mprisApplet, QWidget#mprisCard, QInputDialog {
1313
background-color: #151515;
1414
}
1515

@@ -18,7 +18,7 @@ QLabel {
1818
}
1919

2020
QPushButton, QLineEdit, QListWidget,
21-
QComboBox, QSpinBox, QTextEdit, QScrollBar {
21+
QComboBox, QSpinBox, QDoubleSpinBox, QTextEdit, QScrollBar {
2222
background-color: #262626;
2323
color: #f3f3f3;
2424
}

usr/share/plainDE/styles/still-light.qss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ QWidget#panelPane, QWidget#autostartPane,
44
QWidget#appletsPane, QWidget#appearancePane,
55
QWidget#datetimeAppletPane, QWidget#appMenuAppletPane,
66
QWidget#about, QWidget#keyboardPane, QWidget#layoutDialog,
7-
QWidget#localIPv4AppletPane, QWidget#mprisApplet,
8-
QWidget#mprisCard {
7+
QWidget#localIPv4AppletPane, QWidget#panelsPane,
8+
QWidget#mprisApplet, QWidget#mprisCard, QInputDialog {
99
background-color: #e8e8e8;
1010
}
1111

usr/share/plainDE/tools/genconfig.py

100644100755
Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,11 @@
77

88
config = {'accent': '#376594',
99
'appMenuTriangularTabs': True,
10-
'applets': ['appmenu', 'windowlist',
11-
'spacer', 'mpris',
12-
'workspaces', 'volume',
13-
'kblayout', 'datetime',
14-
'splitter', 'usermenu'],
1510
'autostart': [],
1611
'background': '',
1712
'configVersion': releaseVersion,
1813
'dateFormat': 'MMM d',
1914
'enableAnimation': True,
20-
'expandPanel': True,
2115
'favApps': [],
2216
'firstDayOfWeek': 1,
2317
'fontFamily': 'Open Sans',
@@ -27,15 +21,38 @@
2721
'kbLayouts': 'us',
2822
'menuIcon': '/usr/share/plainDE/menuIcon.png',
2923
'menuText': 'Apps',
30-
'panelHeight': 28,
31-
'panelLocation': 'top',
32-
'panelOpacity': 0.85,
3324
'showDate': True,
3425
'theme': 'gradient-light.qss',
3526
'timeFormat': 'h:mm AP',
3627
'useCountryFlag': True,
37-
'xOffset': 0,
38-
'ipIfname': '' }
28+
'ipIfname': '',
29+
'panel1': {
30+
'applets': ['appmenu',
31+
'spacer',
32+
'mpris',
33+
'volume',
34+
'kblayout',
35+
'datetime',
36+
'splitter',
37+
'usermenu'],
38+
'expand': True,
39+
'height': 28,
40+
'location': "top",
41+
'opacity': 0.85,
42+
'xOffset': 0
43+
},
44+
'panel2': {
45+
'applets': ['windowlist',
46+
'spacer',
47+
'localipv4',
48+
'workspaces'],
49+
'expand': True,
50+
'height': 28,
51+
'location': "bottom",
52+
'opacity': 0.85,
53+
'xOffset': 0
54+
}
55+
}
3956

4057

4158
homePath = os.getenv('HOME')

usr/share/plainDE/tools/update-config.py

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
newConfig = json.load(configReader)
2020

2121
for key in newConfig.keys():
22-
if not(key in currentConfig.keys()):
22+
if key not in currentConfig.keys():
2323
currentConfig[key] = newConfig[key]
2424
elif not(isinstance(currentConfig[key], type(newConfig[key]))):
2525
currentConfig[key] = newConfig[key]
26-
26+
2727
currentConfig['configVersion'] = currentRelease
2828

2929
with open(configDir + 'config.json.sav', 'w') as configWriter:

0 commit comments

Comments
 (0)