More tweaking of Notifier widget.
This commit is contained in:
parent
67ace8806d
commit
ef427db078
@ -110,6 +110,9 @@ widget_defaults = dict(
|
||||
)
|
||||
extension_defaults = widget_defaults.copy()
|
||||
|
||||
def yubikey_replace(text):
|
||||
return text.replace('YubiKey is waiting for a touch', '\uf80a')
|
||||
|
||||
screens = [
|
||||
Screen(
|
||||
top=bar.Bar(
|
||||
@ -132,9 +135,12 @@ screens = [
|
||||
background_low='#0f1419',
|
||||
background_urgent='#770000',
|
||||
foreground='#000000',
|
||||
foreground_low='#e6e1cf',
|
||||
foreground_urgent='#ffffff',
|
||||
# foreground_low='#e6e1cf',
|
||||
# foreground_urgent='#ffffff',
|
||||
foreground_low='#000000',
|
||||
foreground_urgent='#000000',
|
||||
font='RobotoMono Nerd Font Bold',
|
||||
parse_text=yubikey_replace,
|
||||
),
|
||||
widget.GenPollCommand(
|
||||
background='#005577',
|
||||
@ -159,7 +165,7 @@ screens = [
|
||||
cmd="sb-battery",
|
||||
),
|
||||
widget.Clock(
|
||||
format='[%d] %H:%M:%S'
|
||||
format='[%d] %H:%M:%S',
|
||||
),
|
||||
widget.Systray(),
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user