Change the way qtile handles colors in statusbar.
This commit is contained in:
parent
1b6c5cca0b
commit
3e706f9ca6
4 changed files with 20 additions and 13 deletions
|
@ -103,9 +103,9 @@ layouts = [
|
|||
]
|
||||
|
||||
widget_defaults = dict(
|
||||
foreground='#e6e1cf',
|
||||
background='#0f1419',
|
||||
font="RobotoMono Nerd Font",
|
||||
foreground='#e6e1cf',
|
||||
font="RobotoMono Nerd Font Medium",
|
||||
fontsize=14,
|
||||
)
|
||||
extension_defaults = widget_defaults.copy()
|
||||
|
@ -122,24 +122,33 @@ screens = [
|
|||
urgent_alert_method='block',
|
||||
urgent_border='#ff3333',
|
||||
),
|
||||
widget.GenPollText(
|
||||
update_interval=0.5,
|
||||
func=lambda: subprocess.check_output("sb-yubikey").decode(),
|
||||
),
|
||||
widget.Prompt(
|
||||
prompt='open: ',
|
||||
record_history=False,
|
||||
),
|
||||
widget.Spacer(),
|
||||
widget.GenPollText(
|
||||
background='#e8b923',
|
||||
foreground='#000000',
|
||||
font='RobotoMono Nerd Font Bold',
|
||||
update_interval=0.5,
|
||||
func=lambda: subprocess.check_output("sb-yubikey").decode(),
|
||||
),
|
||||
widget.GenPollText(
|
||||
background='#36a3d9',
|
||||
foreground='#000000',
|
||||
update_interval=1,
|
||||
func=lambda: subprocess.check_output("sb-mail").decode(),
|
||||
),
|
||||
widget.GenPollText(
|
||||
background='#ff3333',
|
||||
foreground='#000000',
|
||||
update_interval=1,
|
||||
func=lambda: subprocess.check_output("sb-network").decode(),
|
||||
),
|
||||
widget.GenPollText(
|
||||
background='#ff3333',
|
||||
foreground='#000000',
|
||||
update_interval=1,
|
||||
func=lambda: subprocess.check_output("sb-volume").decode(),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue