diff --git a/PKGBUILD b/PKGBUILD index efcefb8..76cdd69 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -19,7 +19,7 @@ makedepends=('automoc4' 'cmake') source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}.plasmoid https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_dtengine}-${_dtver}.zip) install=${pkgname}.install -md5sums=('988704016573b215bb36b62762075fee' +md5sums=('67f3e3b55992048bd519867a9e94da37' '3182acdadb3b498be929b3cadad92206') build () diff --git a/py-text-monitor-1.4.0.plasmoid b/py-text-monitor-1.4.0.plasmoid index d9d5851..f68d388 100644 Binary files a/py-text-monitor-1.4.0.plasmoid and b/py-text-monitor-1.4.0.plasmoid differ diff --git a/sources/contents/code/main.py b/sources/contents/code/main.py index d330e5d..b7333d6 100644 --- a/sources/contents/code/main.py +++ b/sources/contents/code/main.py @@ -41,7 +41,7 @@ class pyTextWidget(plasmascript.Applet): self.setHasConfigurationInterface(True) # Create notifyrc file if required kdehome = unicode(KGlobal.dirs().localkdedir()) - if ((not os.path.exists(kdehome + "/share/apps/plasma_applet_pytextmonitor/plasma_applet_pytextmonitor.notifyrc")) or + if ((not os.path.exists(kdehome + "/share/apps/plasma_applet_pytextmonitor/plasma_applet_pytextmonitor.notifyrc")) and (not os.path.exists("/usr" + "/share/apps/plasma_applet_pytextmonitor/plasma_applet_pytextmonitor.notifyrc"))): self.createNotifyrc(kdehome)