Update
This commit is contained in:
		
							parent
							
								
									132903c1ec
								
							
						
					
					
						commit
						d1341b1d75
					
				
							
								
								
									
										17
									
								
								melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						
									
										17
									
								
								melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js
								
								
								
								
									
									
									Normal file → Executable file
								
							|  | @ -288,14 +288,15 @@ function arrayItemRemove(arr, value) { | ||||||
| 
 | 
 | ||||||
| /* systemtray */ | /* systemtray */ | ||||||
| let systrayWidget = panel.addWidget("org.kde.plasma.systemtray"); | let systrayWidget = panel.addWidget("org.kde.plasma.systemtray"); | ||||||
| let systemtrayId = systrayWidget.readConfig("SystrayContainmentId"); | systrayWidget.currentConfigGroup = []; | ||||||
| let systray = desktopById(systemtrayId); | systrayWidget.currentConfigGroup = ["General"]; | ||||||
| systray.currentConfigGroup = ["General"]; | 
 | ||||||
| let extraItems = systray.readConfig("extraItems").split(","); | 
 | ||||||
|  | let extraItems = systrayWidget.readConfig("extraItems").split(","); | ||||||
| extraItems = arrayItemRemove(extraItems, "org.kde.plasma.notifications"); | extraItems = arrayItemRemove(extraItems, "org.kde.plasma.notifications"); | ||||||
| systray.writeConfig("extraItems", extraItems); | systrayWidget.writeConfig("extraItems", extraItems); | ||||||
| systray.writeConfig("iconSpacing", 2); | systrayWidget.writeConfig("iconSpacing", 2); | ||||||
| // systray.writeConfig("shownItems", "org.kde.plasma.mediacontroller,org.kde.plasma.volume,org.kde.plasma.networkmanagement,org.kde.plasma.weather,org.kde.plasma.battery");
 | systrayWidget.writeConfig("shownItems", "org.kde.plasma.mediacontroller,org.kde.plasma.volume,org.kde.plasma.networkmanagement,org.kde.plasma.weather,org.kde.plasma.battery"); | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /* Icons configuration Dolphin */ | /* Icons configuration Dolphin */ | ||||||
|  | @ -315,7 +316,7 @@ panel_clock = panel.addWidget("org.kde.plasma.digitalclock"); | ||||||
| panel_clock.currentConfigGroup = ["Appearance"]; | panel_clock.currentConfigGroup = ["Appearance"]; | ||||||
| panel_clock.writeConfig("fontSize", 12); | panel_clock.writeConfig("fontSize", 12); | ||||||
| panel_clock.writeConfig("autoFontAndSize", "true"); | panel_clock.writeConfig("autoFontAndSize", "true"); | ||||||
| panel_clock.writeConfig("showSeconds", 2); | panel_clock.writeConfig("showSeconds", "Always"); | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /*Notification*/ | /*Notification*/ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue