mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-22 11:00:27 +10:00
Adding 10 colorschemes in a new colors.py file.
This commit is contained in:
122
.config/qtile/colors.py
Normal file
122
.config/qtile/colors.py
Normal file
@@ -0,0 +1,122 @@
|
|||||||
|
# If using transparency, make sure you add (background="#00000000") to 'Screen' line(s).
|
||||||
|
# Then, you can use RGBA color codes to add transparency to the colors below.
|
||||||
|
# For ex: colors = [["#282c34ee", "#282c34dd"], ...
|
||||||
|
|
||||||
|
doom_one = [
|
||||||
|
["#282c34", "#282c34"], # bg
|
||||||
|
["#bbc2cf", "#bbc2cf"], # fg
|
||||||
|
["#1c1f24", "#1c1f24"], # color01
|
||||||
|
["#ff6c6b", "#ff6c6b"], # color02
|
||||||
|
["#98be65", "#98be65"], # color03
|
||||||
|
["#da8548", "#da8548"], # color04
|
||||||
|
["#51afef", "#51afef"], # color05
|
||||||
|
["#c678dd", "#c678dd"], # color06
|
||||||
|
["#46d9ff", "#46d9ff"] # color15
|
||||||
|
]
|
||||||
|
|
||||||
|
dracula = [
|
||||||
|
["#282a36", "#282a36"], # bg
|
||||||
|
["#f8f8f2", "#f8f8f2"], # fg
|
||||||
|
["#000000", "#000000"], # color01
|
||||||
|
["#ff5555", "#ff5555"], # color02
|
||||||
|
["#50fa7b", "#50fa7b"], # color03
|
||||||
|
["#f1fa8c", "#f1fa8c"], # color04
|
||||||
|
["#bd93f9", "#bd93f9"], # color05
|
||||||
|
["#ff79c6", "#ff79c6"], # color06
|
||||||
|
["#9aedfe", "#9aedfe"] # color15
|
||||||
|
]
|
||||||
|
|
||||||
|
gruvbox_dark = [
|
||||||
|
["#282828", "#282828"], # bg
|
||||||
|
["#ebdbb2", "#ebdbb2"], # fg
|
||||||
|
["#000000", "#000000"], # color01
|
||||||
|
["#fb4934", "#fb4934"], # color02
|
||||||
|
["#98971a", "#98971a"], # color03
|
||||||
|
["#d79921", "#d79921"], # color04
|
||||||
|
["#83a598", "#83a598"], # color05
|
||||||
|
["#d3869b", "#d3869b"], # color06
|
||||||
|
["#b8bb26", "#b8bb26"], # color11
|
||||||
|
]
|
||||||
|
monokai_pro = [
|
||||||
|
["#2D2A2E", "#2D2A2E"], # bg
|
||||||
|
["#FCFCFA", "#FCFCFA"], # fg
|
||||||
|
["#403E41", "#403E41"], # color01
|
||||||
|
["#FF6188", "#FF6188"], # color02
|
||||||
|
["#A9DC76", "#A9DC76"], # color03
|
||||||
|
["#FFD866", "#FFD866"], # color04
|
||||||
|
["#FC9867", "#FC9867"], # color05
|
||||||
|
["#AB9DF2", "#AB9DF2"], # color06
|
||||||
|
["#78DCE8", "#78DCE8"] # color07
|
||||||
|
]
|
||||||
|
|
||||||
|
nord = [
|
||||||
|
["#2E3440", "#2E3440"], # bg
|
||||||
|
["#D8DEE9", "#D8DEE9"], # fg
|
||||||
|
["#3B4252", "#3B4252"], # color01
|
||||||
|
["#BF616A", "#BF616A"], # color02
|
||||||
|
["#A3BE8C", "#A3BE8C"], # color03
|
||||||
|
["#EBCB8B", "#EBCB8B"], # color04
|
||||||
|
["#81A1C1", "#81A1C1"], # color05
|
||||||
|
["#B48EAD", "#B48EAD"], # color06
|
||||||
|
["#88C0D0", "#88C0D0"] # color07
|
||||||
|
]
|
||||||
|
|
||||||
|
oceanic_next = [
|
||||||
|
["#1b2b34", "#1b2b34"], # bg
|
||||||
|
["#d8dee9", "#d8dee9"], # fg
|
||||||
|
["#29414f", "#29414f"], # color01
|
||||||
|
["#ec5f67", "#ec5f67"], # color02
|
||||||
|
["#99c794", "#99c794"], # color03
|
||||||
|
["#fac863", "#fac863"], # color04
|
||||||
|
["#6699cc", "#6699cc"], # color05
|
||||||
|
["#c594c5", "#c594c5"], # color06
|
||||||
|
["#5fb3b3", "#5fb3b3"] # color07
|
||||||
|
]
|
||||||
|
|
||||||
|
palenight = [
|
||||||
|
["#292d3e", "#292d3e"], # bg
|
||||||
|
["#d0d0d0", "#d0d0d0"], # fg
|
||||||
|
["#434758", "#434758"], # color01
|
||||||
|
["#f07178", "#f07178"], # color02
|
||||||
|
["#c3e88d", "#c3e88d"], # color03
|
||||||
|
["#ffcb6b", "#ffcb6b"], # color04
|
||||||
|
["#82aaff", "#82aaff"], # color05
|
||||||
|
["#c792ea", "#c792ea"], # color06
|
||||||
|
["#89ddff", "#89ddff"] # color15
|
||||||
|
]
|
||||||
|
|
||||||
|
solarized_dark = [
|
||||||
|
["#002b36", "#002b36"], # bg
|
||||||
|
["#839496", "#839496"], # fg
|
||||||
|
["#073642", "#073642"], # color01
|
||||||
|
["#dc322f", "#dc322f"], # color02
|
||||||
|
["#859900", "#859900"], # color03
|
||||||
|
["#b58900", "#b58900"], # color04
|
||||||
|
["#268bd2", "#268bd2"], # color05
|
||||||
|
["#d33682", "#d33682"], # color06
|
||||||
|
["#2aa198", "#2aa198"] # color15
|
||||||
|
]
|
||||||
|
|
||||||
|
solarized_light = [
|
||||||
|
["#fdf6e3", "#fdf6e3"], # bg
|
||||||
|
["#657b83", "#657b83"], # fg
|
||||||
|
["#ece5ac", "#ece5ac"], # color01
|
||||||
|
["#dc322f", "#dc322f"], # color02
|
||||||
|
["#859900", "#859900"], # color03
|
||||||
|
["#b58900", "#b58900"], # color04
|
||||||
|
["#268bd2", "#268bd2"], # color05
|
||||||
|
["#d33682", "#d33682"], # color06
|
||||||
|
["#2aa198", "#2aa198"] # color15
|
||||||
|
]
|
||||||
|
|
||||||
|
tomorrow_night = [
|
||||||
|
["#1d1f21", "#1d1f21"], # bg
|
||||||
|
["#c5c8c6", "#c5c8c6"], # fg
|
||||||
|
["#373b41", "#373b41"], # color01
|
||||||
|
["#cc6666", "#cc6666"], # color02
|
||||||
|
["#b5bd68", "#b5bd68"], # color03
|
||||||
|
["#e6c547", "#e6c547"], # color04
|
||||||
|
["#81a2be", "#81a2be"], # color05
|
||||||
|
["#b294bb", "#b294bb"], # color06
|
||||||
|
["#70c0ba", "#70c0ba"] # color15
|
||||||
|
]
|
||||||
@@ -24,12 +24,12 @@
|
|||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
|
|
||||||
|
import colors
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
from libqtile import bar, extension, hook, layout, qtile, widget
|
from libqtile import bar, extension, hook, layout, qtile, widget
|
||||||
from libqtile.config import Click, Drag, Group, Key, KeyChord, Match, Screen
|
from libqtile.config import Click, Drag, Group, Key, KeyChord, Match, Screen
|
||||||
from libqtile.lazy import lazy
|
from libqtile.lazy import lazy
|
||||||
# from libqtile.utils import guess_terminal
|
|
||||||
|
|
||||||
# Make sure 'qtile-extras' is installed or this config will not work.
|
# Make sure 'qtile-extras' is installed or this config will not work.
|
||||||
from qtile_extras import widget
|
from qtile_extras import widget
|
||||||
@@ -216,84 +216,23 @@ for i in groups:
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
# If using transparency, make sure you add (background="#00000000") to 'Screen' line(s).
|
|
||||||
# Then, you can use RGBA color codes to add transparency to the colors below.
|
|
||||||
# For ex: colors = [["#282c34ee", "#282c34dd"], ...
|
|
||||||
|
|
||||||
doom_one = [
|
### COLORSCHEME ###
|
||||||
["#282c34", "#282c34"], # bg
|
# Colors are defined in a separate 'colors.py' file.
|
||||||
["#bbc2cf", "#bbc2cf"], # fg
|
# There 10 colorschemes available to choose from:
|
||||||
["#1c1f24", "#1c1f24"], # color01
|
colors = colors.doom_one
|
||||||
["#ff6c6b", "#ff6c6b"], # color02
|
# colors = colors.dracula
|
||||||
["#98be65", "#98be65"], # color03
|
# colors = colors.gruvbox_dark
|
||||||
["#da8548", "#da8548"], # color04
|
# colors = colors.monokai_pro
|
||||||
["#51afef", "#51afef"], # color05
|
# colors = colors.nord
|
||||||
["#c678dd", "#c678dd"], # color06
|
# colors = colors.oceanic_next
|
||||||
["#46d9ff", "#46d9ff"] # color15
|
# colors = colors.palenight
|
||||||
]
|
# colors = colors.solarized_dark
|
||||||
|
# colors = colors.solarized_light
|
||||||
dracula = [
|
# colors = colors.tomorrow_night
|
||||||
["#282a36", "#282a36"], # bg
|
|
||||||
["#f8f8f2", "#f8f8f2"], # fg
|
|
||||||
["#000000", "#000000"], # color01
|
|
||||||
["#ff5555", "#ff5555"], # color02
|
|
||||||
["#50fa7b", "#50fa7b"], # color03
|
|
||||||
["#f1fa8c", "#f1fa8c"], # color04
|
|
||||||
["#bd93f9", "#bd93f9"], # color05
|
|
||||||
["#ff79c6", "#ff79c6"], # color06
|
|
||||||
["#9aedfe", "#9aedfe"] # color15
|
|
||||||
]
|
|
||||||
|
|
||||||
gruvbox_dark = [
|
|
||||||
["#282828", "#282828"], # bg
|
|
||||||
["#ebdbb2", "#ebdbb2"], # fg
|
|
||||||
["#000000", "#000000"], # color01
|
|
||||||
["#fb4934", "#fb4934"], # color02
|
|
||||||
["#98971a", "#98971a"], # color03
|
|
||||||
["#d79921", "#d79921"], # color04
|
|
||||||
["#83a598", "#83a598"], # color05
|
|
||||||
["#d3869b", "#d3869b"], # color06
|
|
||||||
["#b8bb26", "#b8bb26"], # color11
|
|
||||||
]
|
|
||||||
monokai_pro = [
|
|
||||||
["#2D2A2E", "#2D2A2E"], # bg
|
|
||||||
["#FCFCFA", "#FCFCFA"], # fg
|
|
||||||
["#403E41", "#403E41"], # color01
|
|
||||||
["#FF6188", "#FF6188"], # color02
|
|
||||||
["#A9DC76", "#A9DC76"], # color03
|
|
||||||
["#FFD866", "#FFD866"], # color04
|
|
||||||
["#FC9867", "#FC9867"], # color05
|
|
||||||
["#AB9DF2", "#AB9DF2"], # color06
|
|
||||||
["#78DCE8", "#78DCE8"] # color07
|
|
||||||
]
|
|
||||||
|
|
||||||
nord = [
|
|
||||||
["#2E3440", "#2E3440"], # bg
|
|
||||||
["#D8DEE9", "#D8DEE9"], # fg
|
|
||||||
["#3B4252", "#3B4252"], # color01
|
|
||||||
["#BF616A", "#BF616A"], # color02
|
|
||||||
["#A3BE8C", "#A3BE8C"], # color03
|
|
||||||
["#EBCB8B", "#EBCB8B"], # color04
|
|
||||||
["#81A1C1", "#81A1C1"], # color05
|
|
||||||
["#B48EAD", "#B48EAD"], # color06
|
|
||||||
["#88C0D0", "#88C0D0"] # color07
|
|
||||||
]
|
|
||||||
|
|
||||||
oceanic_next = [
|
|
||||||
["#1b2b34", "#1b2b34"], # bg
|
|
||||||
["#d8dee9", "#d8dee9"], # fg
|
|
||||||
["#29414f", "#29414f"], # color01
|
|
||||||
["#ec5f67", "#ec5f67"], # color02
|
|
||||||
["#99c794", "#99c794"], # color03
|
|
||||||
["#fac863", "#fac863"], # color04
|
|
||||||
["#6699cc", "#6699cc"], # color05
|
|
||||||
["#c594c5", "#c594c5"], # color06
|
|
||||||
["#5fb3b3", "#5fb3b3"] # color07
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
colors = doom_one
|
|
||||||
|
|
||||||
|
# Some settings that I use on almost every layout, which saves us
|
||||||
|
# from having to type these out for each individual layout.
|
||||||
layout_theme = {"border_width": 2,
|
layout_theme = {"border_width": 2,
|
||||||
"margin": 8,
|
"margin": 8,
|
||||||
"border_focus": colors[8],
|
"border_focus": colors[8],
|
||||||
@@ -339,174 +278,166 @@ layouts = [
|
|||||||
layout.Zoomy(**layout_theme),
|
layout.Zoomy(**layout_theme),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Some settings that I use on almost every widget, which saves us
|
||||||
|
# from having to type these out for each individual widget.
|
||||||
widget_defaults = dict(
|
widget_defaults = dict(
|
||||||
font="Ubuntu Bold",
|
font="Ubuntu Bold",
|
||||||
fontsize = 12,
|
fontsize = 12,
|
||||||
padding = 5,
|
padding = 0,
|
||||||
background=colors[0]
|
background=colors[0]
|
||||||
)
|
)
|
||||||
|
|
||||||
extension_defaults = widget_defaults.copy()
|
extension_defaults = widget_defaults.copy()
|
||||||
|
|
||||||
|
|
||||||
def init_widgets_list():
|
def init_widgets_list():
|
||||||
widgets_list = [
|
widgets_list = [
|
||||||
widget.Image(
|
widget.Image(
|
||||||
filename = "~/.config/qtile/icons/python-white.png",
|
filename = "~/.config/qtile/icons/python-white.png",
|
||||||
scale = "False",
|
scale = "False",
|
||||||
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm)},
|
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm)},
|
||||||
),
|
),
|
||||||
widget.Prompt(
|
widget.Prompt(
|
||||||
font = "Ubuntu Mono",
|
font = "Ubuntu Mono",
|
||||||
fontsize=14,
|
fontsize=14,
|
||||||
foreground = colors[1]
|
foreground = colors[1]
|
||||||
),
|
),
|
||||||
widget.GroupBox(
|
widget.GroupBox(
|
||||||
fontsize = 11,
|
fontsize = 11,
|
||||||
margin_y = 3,
|
margin_y = 3,
|
||||||
margin_x = 4,
|
margin_x = 4,
|
||||||
padding_y = 2,
|
padding_y = 2,
|
||||||
padding_x = 3,
|
padding_x = 3,
|
||||||
borderwidth = 3,
|
borderwidth = 3,
|
||||||
active = colors[8],
|
active = colors[8],
|
||||||
inactive = colors[1],
|
inactive = colors[1],
|
||||||
rounded = False,
|
rounded = False,
|
||||||
highlight_color = colors[2],
|
highlight_color = colors[2],
|
||||||
highlight_method = "line",
|
highlight_method = "line",
|
||||||
this_current_screen_border = colors[7],
|
this_current_screen_border = colors[7],
|
||||||
this_screen_border = colors [4],
|
this_screen_border = colors [4],
|
||||||
other_current_screen_border = colors[7],
|
other_current_screen_border = colors[7],
|
||||||
other_screen_border = colors[4],
|
other_screen_border = colors[4],
|
||||||
#foreground = colors[1]
|
),
|
||||||
),
|
widget.TextBox(
|
||||||
widget.TextBox(
|
text = '|',
|
||||||
text = '|',
|
font = "Ubuntu Mono",
|
||||||
font = "Ubuntu Mono",
|
foreground = colors[1],
|
||||||
foreground = colors[1],
|
padding = 2,
|
||||||
padding = 2,
|
fontsize = 14
|
||||||
fontsize = 14
|
),
|
||||||
),
|
widget.CurrentLayoutIcon(
|
||||||
widget.CurrentLayoutIcon(
|
# custom_icon_paths = [os.path.expanduser("~/.config/qtile/icons")],
|
||||||
# custom_icon_paths = [os.path.expanduser("~/.config/qtile/icons")],
|
foreground = colors[1],
|
||||||
foreground = colors[1],
|
padding = 0,
|
||||||
padding = 0,
|
scale = 0.7
|
||||||
scale = 0.7
|
),
|
||||||
),
|
widget.CurrentLayout(
|
||||||
widget.CurrentLayout(
|
foreground = colors[1],
|
||||||
foreground = colors[1],
|
padding = 5
|
||||||
padding = 5
|
),
|
||||||
),
|
widget.TextBox(
|
||||||
widget.TextBox(
|
text = '|',
|
||||||
text = '|',
|
font = "Ubuntu Mono",
|
||||||
font = "Ubuntu Mono",
|
foreground = colors[1],
|
||||||
foreground = colors[1],
|
padding = 2,
|
||||||
padding = 2,
|
fontsize = 14
|
||||||
fontsize = 14
|
),
|
||||||
),
|
widget.WindowName(
|
||||||
widget.WindowName(
|
foreground = colors[6],
|
||||||
foreground = colors[6],
|
max_chars = 40
|
||||||
max_chars = 40
|
),
|
||||||
),
|
widget.GenPollText(
|
||||||
widget.GenPollText(
|
update_interval = 300,
|
||||||
update_interval = 300,
|
func = lambda: subprocess.check_output("printf $(uname -r)", shell=True, text=True),
|
||||||
func = lambda: subprocess.check_output("printf $(uname -r)", shell=True, text=True),
|
foreground = colors[3],
|
||||||
foreground = colors[3],
|
fmt = '❤ Kernel: {}',
|
||||||
fmt = '❤ Kernel: {}',
|
decorations=[
|
||||||
decorations=[
|
BorderDecoration(
|
||||||
BorderDecoration(
|
colour = colors[3],
|
||||||
colour = colors[3],
|
border_width = [0, 0, 2, 0],
|
||||||
border_width = [0, 0, 2, 0],
|
)
|
||||||
padding_x = 5,
|
],
|
||||||
padding_y = None,
|
),
|
||||||
)
|
widget.Spacer(length = 8),
|
||||||
],
|
widget.CPU(
|
||||||
),
|
format = '🏼 Cpu: {load_percent}%',
|
||||||
widget.CPU(
|
foreground = colors[4],
|
||||||
format = '🏼 Cpu: {load_percent}%',
|
decorations=[
|
||||||
foreground = colors[4],
|
BorderDecoration(
|
||||||
decorations=[
|
colour = colors[4],
|
||||||
BorderDecoration(
|
border_width = [0, 0, 2, 0],
|
||||||
colour = colors[4],
|
)
|
||||||
border_width = [0, 0, 2, 0],
|
],
|
||||||
padding_x = 5,
|
),
|
||||||
padding_y = None,
|
widget.Spacer(length = 8),
|
||||||
)
|
widget.Memory(
|
||||||
],
|
foreground = colors[8],
|
||||||
),
|
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')},
|
||||||
widget.Memory(
|
format = '{MemUsed: .0f}{mm}',
|
||||||
foreground = colors[8],
|
fmt = '🖥 Mem: {} used',
|
||||||
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')},
|
decorations=[
|
||||||
format = '{MemUsed: .0f}{mm}',
|
BorderDecoration(
|
||||||
fmt = '🖥 Mem: {} used',
|
colour = colors[8],
|
||||||
decorations=[
|
border_width = [0, 0, 2, 0],
|
||||||
BorderDecoration(
|
)
|
||||||
colour = colors[8],
|
],
|
||||||
border_width = [0, 0, 2, 0],
|
),
|
||||||
padding_x = 5,
|
widget.Spacer(length = 8),
|
||||||
padding_y = None,
|
widget.DF(
|
||||||
)
|
update_interval = 60,
|
||||||
],
|
foreground = colors[5],
|
||||||
),
|
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e df')},
|
||||||
widget.DF(
|
partition = '/',
|
||||||
update_interval = 60,
|
#format = '[{p}] {uf}{m} ({r:.0f}%)',
|
||||||
foreground = colors[5],
|
format = '{uf}{m} free',
|
||||||
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e df')},
|
fmt = '✇ Disk: {}',
|
||||||
partition = '/',
|
visible_on_warn = False,
|
||||||
#format = '[{p}] {uf}{m} ({r:.0f}%)',
|
decorations=[
|
||||||
format = '{uf}{m} free',
|
BorderDecoration(
|
||||||
fmt = '✇ Disk: {}',
|
colour = colors[5],
|
||||||
visible_on_warn = False,
|
border_width = [0, 0, 2, 0],
|
||||||
decorations=[
|
)
|
||||||
BorderDecoration(
|
],
|
||||||
colour = colors[5],
|
),
|
||||||
border_width = [0, 0, 2, 0],
|
widget.Spacer(length = 8),
|
||||||
padding_x = 5,
|
widget.Volume(
|
||||||
padding_y = None,
|
foreground = colors[7],
|
||||||
)
|
fmt = '🕫 Vol: {}',
|
||||||
],
|
decorations=[
|
||||||
),
|
BorderDecoration(
|
||||||
widget.Volume(
|
colour = colors[7],
|
||||||
foreground = colors[7],
|
border_width = [0, 0, 2, 0],
|
||||||
fmt = '🕫 Vol: {}',
|
)
|
||||||
decorations=[
|
],
|
||||||
BorderDecoration(
|
),
|
||||||
colour = colors[7],
|
widget.Spacer(length = 8),
|
||||||
border_width = [0, 0, 2, 0],
|
widget.KeyboardLayout(
|
||||||
padding_x = 5,
|
foreground = colors[8],
|
||||||
padding_y = None,
|
fmt = '⌨ Kbd: {}',
|
||||||
)
|
decorations=[
|
||||||
],
|
BorderDecoration(
|
||||||
),
|
colour = colors[8],
|
||||||
widget.KeyboardLayout(
|
border_width = [0, 0, 2, 0],
|
||||||
foreground = colors[8],
|
)
|
||||||
fmt = '⌨ Kbd: {}',
|
],
|
||||||
decorations=[
|
),
|
||||||
BorderDecoration(
|
widget.Spacer(length = 8),
|
||||||
colour = colors[8],
|
widget.Clock(
|
||||||
border_width = [0, 0, 2, 0],
|
foreground = colors[6],
|
||||||
padding_x = 5,
|
format = "⏱ %a, %b %d - %H:%M",
|
||||||
padding_y = None,
|
decorations=[
|
||||||
)
|
BorderDecoration(
|
||||||
],
|
colour = colors[6],
|
||||||
),
|
border_width = [0, 0, 2, 0],
|
||||||
widget.Clock(
|
)
|
||||||
foreground = colors[6],
|
],
|
||||||
format = "⏱ %a, %b %d - %H:%M",
|
),
|
||||||
decorations=[
|
widget.Spacer(length = 8),
|
||||||
BorderDecoration(
|
widget.Systray(padding = 3),
|
||||||
colour = colors[6],
|
widget.Spacer(length = 8),
|
||||||
border_width = [0, 0, 2, 0],
|
|
||||||
padding_x = 5,
|
|
||||||
padding_y = None,
|
|
||||||
)
|
|
||||||
],
|
|
||||||
),
|
|
||||||
widget.Systray(
|
|
||||||
padding = 4
|
|
||||||
),
|
|
||||||
widget.Spacer(
|
|
||||||
length = 8,
|
|
||||||
),
|
|
||||||
|
|
||||||
]
|
]
|
||||||
return widgets_list
|
return widgets_list
|
||||||
|
|
||||||
# I use 3 monitors which means that I need 3 bars, but some widgets (such as the systray)
|
# I use 3 monitors which means that I need 3 bars, but some widgets (such as the systray)
|
||||||
@@ -516,7 +447,7 @@ def init_widgets_list():
|
|||||||
|
|
||||||
def init_widgets_screen1():
|
def init_widgets_screen1():
|
||||||
widgets_screen1 = init_widgets_list()
|
widgets_screen1 = init_widgets_list()
|
||||||
del widgets_screen1[15:16] # Removes widgets 15 and 16 for bars on Monitors 1 + 3
|
del widgets_screen1[22:23] # Removes widgets 15 and 16 for bars on Monitors 1 + 3
|
||||||
return widgets_screen1
|
return widgets_screen1
|
||||||
|
|
||||||
def init_widgets_screen2():
|
def init_widgets_screen2():
|
||||||
|
|||||||
Reference in New Issue
Block a user