From 5adaade5119a56fdb170788429f3809a606dfb0e Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Sun, 6 Mar 2022 14:23:13 +0100 Subject: update config --- .config/qtile/config.py | 53 ++++++------------------------------------------- 1 file changed, 6 insertions(+), 47 deletions(-) (limited to '.config/qtile/config.py') diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 1741027..57f75d8 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -77,11 +77,12 @@ keys = [ Key([mod, "mod1"], "q", lazy.spawn("qutebrowser"), desc="Spawn qutebrowser"), Key([mod, "mod1"], "b", lazy.spawn("brave"), desc="Spawn brave"), - Key([mod, "mod1"], "f", lazy.spawn("firefox netflix.com"), desc="Spawn firefox"), + Key([mod, "mod1"], "f", lazy.spawn("firefox-bin"), desc="Spawn firefox"), Key([mod, "mod1"], "e", lazy.spawn("emacs"), desc="Spawn emacs"), Key([mod, "mod1"], "s", lazy.spawn("alacritty -e spt"), desc="Spawn spt (spotify clent)"), Key([mod, "mod1"], "g", lazy.spawn("alacritty -e /home/jakub/.config/qtile/mdt_shell"), desc="connect to google coral device"), Key([mod, "mod1"], "l", lazy.spawn("slock"), desc="lock desktop"), + Key([mod, "mod1"], "r", lazy.spawn("alacritty -e ranger"), desc="Spawn ranger (file manager)"), ] groups_names = [ "dev", @@ -171,55 +172,13 @@ screens = [ widget.Prompt(), widget.Sep(**transparent_sep), widget.WindowName(), - widget.Net(format="↓{down} ↑{up}", foreground=YELLOW), + widget.Net(format="🌐 ↓{down} ↑{up}", foreground=YELLOW), widget.Sep(**soft_sep), - widget.CPU(format=' {load_percent}%', fontsize=12, foreground=RED), + widget.CPU(format='💻 {load_percent}%', fontsize=12, foreground=RED), widget.Sep(**soft_sep), - widget.Battery(foreground=GREEN), + widget.Battery(format='🔋 {char} {percent:2.0%} {hour:d}:{min:02d} {watt:.2f} W', foreground=GREEN), widget.Sep(**soft_sep), - widget.Clock(format='%B %-d, %H:%M', foreground=CYAN), - widget.Sep(**soft_sep), - widget.CurrentScreen() - ], - 24, - margin=8, - background=BAR, - border_color=CYAN, - border_width=1 - ), - ), - Screen( - top=bar.Bar( - [ - widget.Sep(**transparent_sep), - widget.Image(filename="~/.config/qtile/python.png", margin=4), - widget.Sep(**transparent_sep), - widget.CurrentLayout(), - widget.Sep(**transparent_sep), - widget.GroupBox( - margin_y = 3, - margin_x = 0, - padding_y = 5, - padding_x = 3, - borderwidth = 3, - rounded = False, - highlight_color = LIGHT_BAR, - highlight_method = "line", - this_current_screen_border = CYAN, - this_screen_border = CYAN, - other_current_screen_border = LIGHT_BAR, - other_screen_border = LIGHT_BAR, - ), - widget.Prompt(), - widget.Sep(**transparent_sep), - widget.WindowName(), - widget.Net(format="↓{down} ↑{up}", foreground=YELLOW), - widget.Sep(**soft_sep), - widget.CPU(format=' {load_percent}%', fontsize=12, foreground=RED), - widget.Sep(**soft_sep), - widget.Battery(foreground=GREEN), - widget.Sep(**soft_sep), - widget.Clock(format='%B %-d, %H:%M', foreground=CYAN), + widget.Clock(format='📅 %B %-d, %H:%M', foreground=CYAN), widget.Sep(**soft_sep), widget.CurrentScreen() ], -- cgit v1.2.3