Skip to content

Commit

Permalink
Remove systray
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigmanificient committed Aug 24, 2023
1 parent 26b35cc commit e290801
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/core/bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
Prompt,
QuickExit,
Separator,
Systray,
TaskList,
Wakatime,
)
Expand All @@ -23,7 +22,6 @@ class Bar(bar.Bar):

widgets_checks = {
Battery: lambda _: os.uname().nodename == "Bacon",
Systray: lambda self: self.id == 1,
}

_widgets = [
Expand All @@ -38,7 +36,6 @@ class Bar(bar.Bar):
CPUGraph,
Separator,
widget.Volume,
Systray,
Clock,
Separator,
QuickExit,
Expand Down
2 changes: 0 additions & 2 deletions src/widgets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Prompt,
QuickExit,
Separator,
Systray,
TaskList,
)
from .wakatime import Wakatime
Expand All @@ -23,7 +22,6 @@
"Prompt",
"QuickExit",
"Separator",
"Systray",
"TaskList",
"Wakatime",
)
1 change: 0 additions & 1 deletion src/widgets/overides.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ def mk_overrides(cls, **conf):
)

Separator = mk_overrides(widget.Spacer, length=4)
Systray = mk_overrides(widget.Systray, padding=4, icon_size=16)
Clock = mk_overrides(widget.Clock, format="%A, %b %-d %H:%M")


Expand Down

0 comments on commit e290801

Please sign in to comment.