add bar name

This commit is contained in:
sankalp committed 2024-12-01 07:58:31 +05:45
1 parent 6fdc91f58c
commit f5eaa6596d
1 file changed
+3 -8
+3 -8
View File
@@ -1,5 +1,6 @@
import os import os
import setproctitle
from loguru import logger from loguru import logger
from fabric import Application from fabric import Application
@@ -21,16 +22,10 @@ if __name__ == "__main__":
bar = Bar() bar = Bar()
launcher = Launcher() launcher = Launcher()
launcher.hide() launcher.hide()
osd = OSDContainer() osd = OSDContainer()
notif = NotificationPopup() notif = NotificationPopup()
app = Application( app = Application("fabric-bar", bar, launcher, osd)
"fabric-bar", setproctitle.setproctitle("quickbar")
bar,
launcher,
notif,
osd,
)
css_file = monitor_file(get_relative_path("styles")) css_file = monitor_file(get_relative_path("styles"))
_ = css_file.connect("changed", lambda *_: apply_style(app)) _ = css_file.connect("changed", lambda *_: apply_style(app))