diff options
author | Thanos Apollo <[email protected]> | 2022-10-04 17:59:44 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2022-10-04 17:59:44 +0300 |
commit | 6a0a514b1f4f2bf39781ff635ea1785d802d9188 (patch) | |
tree | 343606459c2b57c8f982b3bb434c4888e3678b1c /.config/qtile/config.py | |
parent | 55835e79027acc4a25535439faf1ed651ed79495 (diff) | |
parent | 780e1518d1fd0fa6cb13a79109d9e9401a015866 (diff) |
Merge branch 'master' of github.com:ThanosApollo/config
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 |