mirror of
				https://github.com/arcan1s/awesome-widgets.git
				synced 2025-10-25 10:53:42 +00:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			3.5.0
			...
			eecb128865
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| eecb128865 | |||
| 0565d3533f | 
| @ -16,7 +16,7 @@ set(PROJECT_CONTACT "esalexeev@gmail.com") | ||||
| set(PROJECT_LICENSE "GPL3") | ||||
| set(PROJECT_VERSION_MAJOR "3") | ||||
| set(PROJECT_VERSION_MINOR "5") | ||||
| set(PROJECT_VERSION_PATCH "0") | ||||
| set(PROJECT_VERSION_PATCH "1") | ||||
| set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}") | ||||
| # append git version if any | ||||
| set(PROJECT_COMMIT_SHA "Commit hash" CACHE INTERNAL "") | ||||
|  | ||||
| @ -19,7 +19,7 @@ X-Plasma-MainScript=ui/main.qml | ||||
| X-KDE-PluginInfo-Author=Evgeniy Alekseev aka arcanis | ||||
| X-KDE-PluginInfo-Email=esalexeev@gmail.com | ||||
| X-KDE-PluginInfo-Name=org.kde.plasma.awesomewidget | ||||
| X-KDE-PluginInfo-Version=3.5.0 | ||||
| X-KDE-PluginInfo-Version=3.5.1 | ||||
| X-KDE-PluginInfo-Website=https://arcanis.me/projects/awesome-widgets/ | ||||
| X-KDE-PluginInfo-Category=System Information | ||||
| X-KDE-PluginInfo-License=GPLv3 | ||||
|  | ||||
| @ -19,7 +19,7 @@ X-Plasma-MainScript=ui/main.qml | ||||
| X-KDE-PluginInfo-Author=Evgeniy Alekseev aka arcanis | ||||
| X-KDE-PluginInfo-Email=esalexeev@gmail.com | ||||
| X-KDE-PluginInfo-Name=org.kde.plasma.desktoppanel | ||||
| X-KDE-PluginInfo-Version=3.5.0 | ||||
| X-KDE-PluginInfo-Version=3.5.1 | ||||
| X-KDE-PluginInfo-Website=https://arcanis.me/projects/awesome-widgets/ | ||||
| X-KDE-PluginInfo-Category=System Information | ||||
| X-KDE-PluginInfo-License=GPLv3 | ||||
|  | ||||
| @ -46,13 +46,14 @@ QVariant DesktopSource::data(const QString &_source) | ||||
| { | ||||
|     qCDebug(LOG_ESS) << "Source" << _source; | ||||
|  | ||||
|     auto increment = KWindowSystem::isPlatformX11() ? 0 : 1; | ||||
|     auto current = m_vdi->position(m_vdi->currentDesktop()) + increment; | ||||
|     auto nativeIndex = m_vdi->position(m_vdi->currentDesktop()); | ||||
|     auto decrement = KWindowSystem::isPlatformX11() ? 1 : 0; | ||||
|     auto current = nativeIndex - decrement; | ||||
|  | ||||
|     if (_source == "desktop/current/name") { | ||||
|         return m_vdi->desktopNames().at(current); | ||||
|     } else if (_source == "desktop/current/number") { | ||||
|         return current; | ||||
|         return current + 1; | ||||
|     } else if (_source == "desktop/total/name") { | ||||
|         return m_vdi->desktopNames(); | ||||
|     } else if (_source == "desktop/total/number") { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user