1
0
Fork 0
mirror of https://gitlab.com/dwt1/dotfiles.git synced 2023-02-13 20:55:19 -05:00

Playing with qtile's bar.

This commit is contained in:
Derek Taylor 2020-04-10 00:17:48 -05:00
parent d9c2e9412d
commit 70f70a9e13
7 changed files with 48 additions and 46 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -240,8 +240,8 @@ for i, (name, kwargs) in enumerate(group_names, 1):
##### DEFAULT THEME SETTINGS FOR LAYOUTS ##### ##### DEFAULT THEME SETTINGS FOR LAYOUTS #####
layout_theme = {"border_width": 2, layout_theme = {"border_width": 2,
"margin": 4, "margin": 6,
"border_focus": "AD69AF", "border_focus": "e1acff",
"border_normal": "1D2330" "border_normal": "1D2330"
} }
@ -344,15 +344,12 @@ def init_widgets_list():
background = colors[0], background = colors[0],
padding = 0 padding = 0
), ),
widget.Systray( widget.TextBox(
background=colors[0], text='',
padding = 5
),
widget.Image(
filename='/home/dt/.config/qtile/black-purple.png',
background = colors[0], background = colors[0],
foreground = colors[4],
padding=0, padding=0,
scale=0.7 fontsize=37
), ),
widget.TextBox( widget.TextBox(
text="", text="",
@ -366,11 +363,12 @@ def init_widgets_list():
background=colors[4], background=colors[4],
padding = 5 padding = 5
), ),
widget.Image( widget.TextBox(
filename='/home/dt/.config/qtile/purple-blue.png', text='',
background = colors[0], background = colors[4],
foreground = colors[5],
padding=0, padding=0,
scale=0.7 fontsize=37
), ),
widget.TextBox( widget.TextBox(
text=" 🌡", text=" 🌡",
@ -384,11 +382,12 @@ def init_widgets_list():
background=colors[5], background=colors[5],
padding = 5 padding = 5
), ),
widget.Image( widget.TextBox(
filename='/home/dt/.config/qtile/blue-purple.png', text='',
background = colors[0], background = colors[5],
foreground = colors[4],
padding=0, padding=0,
scale=0.7 fontsize=37
), ),
widget.TextBox( widget.TextBox(
text="", text="",
@ -409,11 +408,12 @@ def init_widgets_list():
foreground=colors[2], foreground=colors[2],
background=colors[4] background=colors[4]
), ),
widget.Image( widget.TextBox(
filename='/home/dt/.config/qtile/purple-blue.png', text='',
background = colors[0], background = colors[4],
foreground = colors[5],
padding=0, padding=0,
scale=0.7 fontsize=37
), ),
widget.TextBox( widget.TextBox(
text=" 🖬", text=" 🖬",
@ -427,11 +427,12 @@ def init_widgets_list():
background = colors[5], background = colors[5],
padding = 5 padding = 5
), ),
widget.Image( widget.TextBox(
filename='/home/dt/.config/qtile/blue-purple.png', text='',
background = colors[0], background = colors[5],
foreground = colors[4],
padding=0, padding=0,
scale=0.7 fontsize=37
), ),
widget.Net( widget.Net(
interface = "enp6s0", interface = "enp6s0",
@ -439,11 +440,12 @@ def init_widgets_list():
background = colors[4], background = colors[4],
padding = 5 padding = 5
), ),
widget.Image( widget.TextBox(
filename='/home/dt/.config/qtile/purple-blue.png', text='',
background = colors[0], background = colors[4],
foreground = colors[5],
padding=0, padding=0,
scale=0.7 fontsize=37
), ),
widget.TextBox( widget.TextBox(
text=" Vol:", text=" Vol:",
@ -456,11 +458,12 @@ def init_widgets_list():
background = colors[5], background = colors[5],
padding = 5 padding = 5
), ),
widget.Image( widget.TextBox(
filename='/home/dt/.config/qtile/blue-purple.png', text='',
background = colors[0], background = colors[5],
foreground = colors[4],
padding=0, padding=0,
scale=0.7 fontsize=37
), ),
widget.CurrentLayoutIcon( widget.CurrentLayoutIcon(
custom_icon_paths=[os.path.expanduser("~/.config/qtile/icons")], custom_icon_paths=[os.path.expanduser("~/.config/qtile/icons")],
@ -474,28 +477,27 @@ def init_widgets_list():
background = colors[4], background = colors[4],
padding = 5 padding = 5
), ),
widget.Image( widget.TextBox(
filename='/home/dt/.config/qtile/purple-black.png', text='',
background = colors[0], background = colors[4],
foreground = colors[5],
padding=0, padding=0,
scale=0.7 fontsize=37
),
widget.Sep(
linewidth = 0,
padding = 8,
foreground = colors[0],
background = colors[0]
), ),
widget.Clock( widget.Clock(
foreground = colors[2], foreground = colors[2],
background = colors[0], background = colors[5],
format="%A, %B %d - [ %H:%M ]" format="%A, %B %d - [ %H:%M ]"
), ),
widget.Sep( widget.Sep(
linewidth = 0, linewidth = 0,
padding = 10, padding = 10,
foreground = colors[0], foreground = colors[0],
background = colors[0] background = colors[5]
),
widget.Systray(
background=colors[0],
padding = 5
), ),
] ]
return widgets_list return widgets_list

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -73,7 +73,7 @@ import XMonad.Prompt (defaultXPConfig, XPConfig(..), XPPosition(Top), Direction1
myFont = "xft:Mononoki Nerd Font:regular:pixelsize=12" myFont = "xft:Mononoki Nerd Font:regular:pixelsize=12"
myModMask = mod4Mask -- Sets modkey to super/windows key myModMask = mod4Mask -- Sets modkey to super/windows key
myTerminal = "alacritty" -- Sets default terminal myTerminal = "alacritty" -- Sets default terminal
myTextEditor = "emacsclient -c" -- Sets default text editor myTextEditor = "nvim" -- Sets default text editor
myBorderWidth = 2 -- Sets border width for windows myBorderWidth = 2 -- Sets border width for windows
windowCount = gets $ Just . show . length . W.integrate' . W.stack . W.workspace . W.current . windowset windowCount = gets $ Just . show . length . W.integrate' . W.stack . W.workspace . W.current . windowset