wlrotation: fix nerd font icon
This commit is contained in:
parent
53de1b524a
commit
bbc26c263c
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class Module(core.module.Module):
|
||||||
name = display['name']
|
name = display['name']
|
||||||
widget = self.widget(name)
|
widget = self.widget(name)
|
||||||
if not widget:
|
if not widget:
|
||||||
widget = self.add_widget(name=name, full_text="若 "+name)
|
widget = self.add_widget(name=name, full_text=" "+name)
|
||||||
widget.set("auto", util.cli.execute("systemctl --user show %s -p ActiveState" % self.service).split("\n")[0].split("=")[1])
|
widget.set("auto", util.cli.execute("systemctl --user show %s -p ActiveState" % self.service).split("\n")[0].split("=")[1])
|
||||||
core.input.register(widget, button=core.input.LEFT_MOUSE, cmd=self._toggle)
|
core.input.register(widget, button=core.input.LEFT_MOUSE, cmd=self._toggle)
|
||||||
core.input.register(widget, button=core.input.RIGHT_MOUSE, cmd=self._toggle_auto)
|
core.input.register(widget, button=core.input.RIGHT_MOUSE, cmd=self._toggle_auto)
|
||||||
|
|
Loading…
Reference in a new issue