mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-24 23:47:20 +00:00
Fixed bug with notifyrc
This commit is contained in:
parent
b7f4b80c7e
commit
60f1cd8c58
2
PKGBUILD
2
PKGBUILD
@ -19,7 +19,7 @@ makedepends=('automoc4' 'cmake')
|
|||||||
source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}.plasmoid
|
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)
|
https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_dtengine}-${_dtver}.zip)
|
||||||
install=${pkgname}.install
|
install=${pkgname}.install
|
||||||
md5sums=('988704016573b215bb36b62762075fee'
|
md5sums=('67f3e3b55992048bd519867a9e94da37'
|
||||||
'3182acdadb3b498be929b3cadad92206')
|
'3182acdadb3b498be929b3cadad92206')
|
||||||
|
|
||||||
build ()
|
build ()
|
||||||
|
Binary file not shown.
@ -41,7 +41,7 @@ class pyTextWidget(plasmascript.Applet):
|
|||||||
self.setHasConfigurationInterface(True)
|
self.setHasConfigurationInterface(True)
|
||||||
# Create notifyrc file if required
|
# Create notifyrc file if required
|
||||||
kdehome = unicode(KGlobal.dirs().localkdedir())
|
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"))):
|
(not os.path.exists("/usr" + "/share/apps/plasma_applet_pytextmonitor/plasma_applet_pytextmonitor.notifyrc"))):
|
||||||
self.createNotifyrc(kdehome)
|
self.createNotifyrc(kdehome)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user