diff options
Diffstat (limited to '.config/qtile/config.py')
-rw-r--r-- | .config/qtile/config.py | 54 |
1 files changed, 33 insertions, 21 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 199d043..d61aa70 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -17,11 +17,12 @@ def start_once(): ## Keybindings my_keys = MyKeys(mod="mod4", browser="qutebrowser", - term="alacritty") + term="alacritty", + editor = "emacsclient -c -a 'emacs'") keys = my_keys.init_keys() dgroups_key_binder = simple_key_binder("mod4") - +mouse = my_keys.init_mouse() ## Groups and layouts groups = [] group_names = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0",] @@ -53,7 +54,7 @@ layouts = [ # layout.MonadWide(**layout_theme), # layout.Matrix(**layout_theme), # layout.Bsp(**layout_theme), - # layout.Floating(**layout_theme), + layout.Floating(**layout_theme), # layout.RatioTile(**layout_theme), layout.Max(**layout_theme) ] @@ -122,19 +123,42 @@ def init_widgets_list(): background = my_colors["black"], ), widget.Notify( + font = "sansmono", + fontsize = "14", ), + # widget.Pomodoro( + # font = 'sansmono', + # fontsize = 17, + # color_inactive = my_colors['blue'], + # length_pomodori = 35, + # ), + # widget.Sep( + # linewidth = 1, + # padding = 10, + # foreground = my_colors["black2"], + # background = my_colors["black"] + # ), + widget.TextBox( + font="FontAwesome", + text= '|' + str(subprocess.check_output("uname -r", shell=True).strip()).replace('b','') + '|', + foreground=my_colors["grey2"], + background=my_colors["black"], + padding = 0, + fontsize=14 + ), widget.Sep( linewidth = 1, padding = 10, foreground = my_colors["black2"], background = my_colors["black"] ), - widget.Pomodoro( + widget.Volume( font = 'sansmono', - fontsize = 17, - color_inactive = my_colors['blue'], - length_pomodori = 35, + fontsize = 15, + fmt = 'Vol: {}', + foreground = my_colors['cyan'], + ), widget.Sep( linewidth = 1, @@ -142,20 +166,6 @@ def init_widgets_list(): foreground = my_colors["black2"], background = my_colors["black"] ), - # widget.TextBox( - # font="FontAwesome", - # text= '|' + str(subprocess.check_output("uname -r", shell=True).strip()).replace('b','') + '|', - # foreground=my_colors["blue"], - # background=my_colors["black"], - # padding = 0, - # fontsize=14 - # ), - # widget.Sep( - # linewidth = 1, - # padding = 10, - # foreground = my_colors["black2"], - # background = my_colors["black"] - # ), widget.Memory( measure_mem="G", fontsize=15, @@ -239,6 +249,8 @@ def init_screens(): return [Screen(top=bar.Bar(widgets=init_widgets_screen1(), size=33, opacity=0.8)), Screen(top=bar.Bar(widgets=init_widgets_screen2(), size=26, opacity=0.8))] + + screens = init_screens() follow_mouse_focus = True |