Oraginzing Qtile config file
This commit is contained in:
+25
-21
@@ -221,8 +221,8 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Spacer(
|
widget.Spacer(
|
||||||
length=8,
|
length=8,
|
||||||
background='#353446',
|
background='#353446',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -238,10 +238,11 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.CurrentLayout(
|
widget.CurrentLayout(
|
||||||
background='#353446',
|
background='#353446',
|
||||||
foreground='#CAA9E0',
|
foreground='#CAA9E0',
|
||||||
fmt='{}',
|
fmt='{}',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -261,6 +262,7 @@ screens = [
|
|||||||
fmt='Search',
|
fmt='Search',
|
||||||
background='#282738',
|
background='#282738',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
foreground='#CAA9E0',
|
foreground='#CAA9E0',
|
||||||
mouse_callbacks={"Button1": search},
|
mouse_callbacks={"Button1": search},
|
||||||
),
|
),
|
||||||
@@ -333,17 +335,18 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Spacer(
|
widget.Spacer(
|
||||||
length=-7,
|
length=-7,
|
||||||
background='#353446',
|
background='#353446',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
widget.Memory(
|
widget.Memory(
|
||||||
background='#353446',
|
background='#353446',
|
||||||
format='{MemUsed: .0f}{mm}',
|
format='{MemUsed: .0f}{mm}',
|
||||||
foreground='#CAA9E0',
|
foreground='#CAA9E0',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
update_interval=5,
|
fontsize=13,
|
||||||
|
update_interval=5,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -372,10 +375,10 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Battery(
|
widget.Battery(
|
||||||
font='JetBrains Mono Bold',
|
font='JetBrains Mono Bold',
|
||||||
background='#353446',
|
background='#353446',
|
||||||
foreground='#CAA9E0',
|
foreground='#CAA9E0',
|
||||||
format='{percent:2.0%}',
|
format='{percent:2.0%}',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -408,7 +411,7 @@ screens = [
|
|||||||
font='JetBrainsMono Nerd Font',
|
font='JetBrainsMono Nerd Font',
|
||||||
theme_path='~/.config/qtile/Assets/Volume/',
|
theme_path='~/.config/qtile/Assets/Volume/',
|
||||||
emoji=True,
|
emoji=True,
|
||||||
fontsize=12,
|
fontsize=13,
|
||||||
background='#353446',
|
background='#353446',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -420,9 +423,9 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Volume(
|
widget.Volume(
|
||||||
font='JetBrains Mono Bold',
|
font='JetBrains Mono Bold',
|
||||||
background='#353446',
|
background='#353446',
|
||||||
foreground='#CAA9E0',
|
foreground='#CAA9E0',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -445,6 +448,7 @@ screens = [
|
|||||||
background='#282738',
|
background='#282738',
|
||||||
foreground='#CAA9E0',
|
foreground='#CAA9E0',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -221,8 +221,8 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Spacer(
|
widget.Spacer(
|
||||||
length=8,
|
length=8,
|
||||||
background='#353446',
|
background='#353446',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -238,10 +238,11 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.CurrentLayout(
|
widget.CurrentLayout(
|
||||||
background='#353446',
|
background='#353446',
|
||||||
foreground='#CAA9E0',
|
foreground='#CAA9E0',
|
||||||
fmt='{}',
|
fmt='{}',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -261,6 +262,7 @@ screens = [
|
|||||||
fmt='Search',
|
fmt='Search',
|
||||||
background='#282738',
|
background='#282738',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
foreground='#CAA9E0',
|
foreground='#CAA9E0',
|
||||||
mouse_callbacks={"Button1": search},
|
mouse_callbacks={"Button1": search},
|
||||||
),
|
),
|
||||||
@@ -333,17 +335,18 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Spacer(
|
widget.Spacer(
|
||||||
length=-7,
|
length=-7,
|
||||||
background='#353446',
|
background='#353446',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
widget.Memory(
|
widget.Memory(
|
||||||
background='#353446',
|
background='#353446',
|
||||||
format='{MemUsed: .0f}{mm}',
|
format='{MemUsed: .0f}{mm}',
|
||||||
foreground='#CAA9E0',
|
foreground='#CAA9E0',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
update_interval=5,
|
fontsize=13,
|
||||||
|
update_interval=5,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -372,10 +375,10 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Battery(
|
widget.Battery(
|
||||||
font='JetBrains Mono Bold',
|
font='JetBrains Mono Bold',
|
||||||
background='#353446',
|
background='#353446',
|
||||||
foreground='#CAA9E0',
|
foreground='#CAA9E0',
|
||||||
format='{percent:2.0%}',
|
format='{percent:2.0%}',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -408,7 +411,7 @@ screens = [
|
|||||||
font='JetBrainsMono Nerd Font',
|
font='JetBrainsMono Nerd Font',
|
||||||
theme_path='~/.config/qtile/Assets/Volume/',
|
theme_path='~/.config/qtile/Assets/Volume/',
|
||||||
emoji=True,
|
emoji=True,
|
||||||
fontsize=12,
|
fontsize=13,
|
||||||
background='#353446',
|
background='#353446',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -420,9 +423,9 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Volume(
|
widget.Volume(
|
||||||
font='JetBrains Mono Bold',
|
font='JetBrains Mono Bold',
|
||||||
background='#353446',
|
background='#353446',
|
||||||
foreground='#CAA9E0',
|
foreground='#CAA9E0',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -445,6 +448,7 @@ screens = [
|
|||||||
background='#282738',
|
background='#282738',
|
||||||
foreground='#CAA9E0',
|
foreground='#CAA9E0',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -498,12 +502,15 @@ floating_layout = layout.Floating(
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
from libqtile import hook
|
||||||
|
# some other imports
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
# stuff
|
# stuff
|
||||||
@hook.subscribe.startup_once
|
@hook.subscribe.startup_once
|
||||||
def autostart():
|
def autostart_once():
|
||||||
subprocess.call([os.path.expanduser('~/.config/qtile/autostart_once.sh')])
|
subprocess.run('/home/unreal/.config/qtile/autostart_once.sh')# path to my script, under my user directory
|
||||||
|
subprocess.call([home])
|
||||||
|
|
||||||
auto_fullscreen = True
|
auto_fullscreen = True
|
||||||
focus_on_window_activation = "smart"
|
focus_on_window_activation = "smart"
|
||||||
|
|||||||
@@ -238,10 +238,11 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.CurrentLayout(
|
widget.CurrentLayout(
|
||||||
background='#343F44',
|
background='#343F44',
|
||||||
foreground='#86918A',
|
foreground='#86918A',
|
||||||
fmt='{}',
|
fmt='{}',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -261,6 +262,7 @@ screens = [
|
|||||||
fmt='Search',
|
fmt='Search',
|
||||||
background='#232A2E',
|
background='#232A2E',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
foreground='#86918A',
|
foreground='#86918A',
|
||||||
mouse_callbacks={"Button1": search},
|
mouse_callbacks={"Button1": search},
|
||||||
),
|
),
|
||||||
@@ -274,7 +276,8 @@ screens = [
|
|||||||
widget.WindowName(
|
widget.WindowName(
|
||||||
background = '#343F44',
|
background = '#343F44',
|
||||||
format = "{name}",
|
format = "{name}",
|
||||||
font='JetBrains Mono Bold',
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
foreground='#86918A',
|
foreground='#86918A',
|
||||||
empty_group_string = 'Desktop',
|
empty_group_string = 'Desktop',
|
||||||
|
|
||||||
@@ -333,17 +336,18 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Spacer(
|
widget.Spacer(
|
||||||
length=-7,
|
length=-7,
|
||||||
background='#343F44',
|
background='#343F44',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
widget.Memory(
|
widget.Memory(
|
||||||
background='#343F44',
|
background='#343F44',
|
||||||
format='{MemUsed: .0f}{mm}',
|
format='{MemUsed: .0f}{mm}',
|
||||||
foreground='#86918A',
|
foreground='#86918A',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
update_interval=5,
|
fontsize=13,
|
||||||
|
update_interval=5,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -372,10 +376,11 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Battery(
|
widget.Battery(
|
||||||
font='JetBrains Mono Bold',
|
font="JetBrains Mono Bold",
|
||||||
background='#343F44',
|
fontsize=13,
|
||||||
foreground='#86918A',
|
background='#343F44',
|
||||||
format='{percent:2.0%}',
|
foreground='#86918A',
|
||||||
|
format='{percent:2.0%}',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -405,7 +410,8 @@ screens = [
|
|||||||
# ),
|
# ),
|
||||||
|
|
||||||
widget.Volume(
|
widget.Volume(
|
||||||
font='JetBrainsMono Nerd Font',
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
theme_path='~/.config/qtile/Assets/Volume/',
|
theme_path='~/.config/qtile/Assets/Volume/',
|
||||||
emoji=True,
|
emoji=True,
|
||||||
fontsize=12,
|
fontsize=12,
|
||||||
@@ -420,9 +426,10 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Volume(
|
widget.Volume(
|
||||||
font='JetBrains Mono Bold',
|
font="JetBrains Mono Bold",
|
||||||
background='#343F44',
|
fontsize=13,
|
||||||
foreground='#86918A',
|
background='#343F44',
|
||||||
|
foreground='#86918A',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -445,6 +452,7 @@ screens = [
|
|||||||
background='#232A2E',
|
background='#232A2E',
|
||||||
foreground='#86918A',
|
foreground='#86918A',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -224,8 +224,8 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Spacer(
|
widget.Spacer(
|
||||||
length=8,
|
length=8,
|
||||||
background='#202222',
|
background='#202222',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -241,10 +241,11 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.CurrentLayout(
|
widget.CurrentLayout(
|
||||||
background='#202222',
|
background='#202222',
|
||||||
foreground='#607767',
|
foreground='#607767',
|
||||||
fmt='{}',
|
fmt='{}',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -264,6 +265,7 @@ screens = [
|
|||||||
fmt='Search',
|
fmt='Search',
|
||||||
background='#0F1212',
|
background='#0F1212',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
foreground='#607767',
|
foreground='#607767',
|
||||||
mouse_callbacks={"Button1": search},
|
mouse_callbacks={"Button1": search},
|
||||||
),
|
),
|
||||||
@@ -277,7 +279,8 @@ screens = [
|
|||||||
widget.WindowName(
|
widget.WindowName(
|
||||||
background = '#202222',
|
background = '#202222',
|
||||||
format = "{name}",
|
format = "{name}",
|
||||||
font='JetBrains Mono Bold',
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
foreground='#607767',
|
foreground='#607767',
|
||||||
empty_group_string = 'Desktop',
|
empty_group_string = 'Desktop',
|
||||||
|
|
||||||
@@ -336,17 +339,18 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Spacer(
|
widget.Spacer(
|
||||||
length=-7,
|
length=-7,
|
||||||
background='#202222',
|
background='#202222',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
widget.Memory(
|
widget.Memory(
|
||||||
background='#202222',
|
background='#202222',
|
||||||
format='{MemUsed: .0f}{mm}',
|
format='{MemUsed: .0f}{mm}',
|
||||||
foreground='#607767',
|
foreground='#607767',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
update_interval=5,
|
fontsize=13,
|
||||||
|
update_interval=5,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -375,10 +379,11 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Battery(
|
widget.Battery(
|
||||||
font='JetBrains Mono Bold',
|
font="JetBrains Mono Bold",
|
||||||
background='#202222',
|
fontsize=13,
|
||||||
foreground='#607767',
|
background='#202222',
|
||||||
format='{percent:2.0%}',
|
foreground='#607767',
|
||||||
|
format='{percent:2.0%}',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -408,7 +413,8 @@ screens = [
|
|||||||
# ),
|
# ),
|
||||||
|
|
||||||
widget.Volume(
|
widget.Volume(
|
||||||
font='JetBrainsMono Nerd Font',
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
theme_path='~/.config/qtile/Assets/Volume/',
|
theme_path='~/.config/qtile/Assets/Volume/',
|
||||||
emoji=True,
|
emoji=True,
|
||||||
fontsize=12,
|
fontsize=12,
|
||||||
@@ -423,9 +429,10 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Volume(
|
widget.Volume(
|
||||||
font='JetBrains Mono Bold',
|
font="JetBrains Mono Bold",
|
||||||
background='#202222',
|
fontsize=13,
|
||||||
foreground='#607767',
|
background='#202222',
|
||||||
|
foreground='#607767',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -448,6 +455,7 @@ screens = [
|
|||||||
background='#0F1212',
|
background='#0F1212',
|
||||||
foreground='#607767',
|
foreground='#607767',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -224,8 +224,8 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Spacer(
|
widget.Spacer(
|
||||||
length=8,
|
length=8,
|
||||||
background='#353446',
|
background='#353446',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -241,10 +241,11 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.CurrentLayout(
|
widget.CurrentLayout(
|
||||||
background='#353446',
|
background='#353446',
|
||||||
foreground='#E5B9C6',
|
foreground='#E5B9C6',
|
||||||
fmt='{}',
|
fmt='{}',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -264,6 +265,7 @@ screens = [
|
|||||||
fmt='Search',
|
fmt='Search',
|
||||||
background='#282738',
|
background='#282738',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
foreground='#E5B9C6',
|
foreground='#E5B9C6',
|
||||||
mouse_callbacks={"Button1": search},
|
mouse_callbacks={"Button1": search},
|
||||||
),
|
),
|
||||||
@@ -277,7 +279,8 @@ screens = [
|
|||||||
widget.WindowName(
|
widget.WindowName(
|
||||||
background = '#353446',
|
background = '#353446',
|
||||||
format = "{name}",
|
format = "{name}",
|
||||||
font='JetBrains Mono Bold',
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
foreground='#E5B9C6',
|
foreground='#E5B9C6',
|
||||||
empty_group_string = 'Desktop',
|
empty_group_string = 'Desktop',
|
||||||
|
|
||||||
@@ -336,20 +339,21 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Spacer(
|
widget.Spacer(
|
||||||
length=-7,
|
length=-7,
|
||||||
background='#353446',
|
background='#353446',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
widget.Memory(
|
widget.Memory(
|
||||||
background='#353446',
|
background='#353446',
|
||||||
format='{MemUsed: .0f}{mm}',
|
format='{MemUsed: .0f}{mm}',
|
||||||
foreground='#E5B9C6',
|
foreground='#E5B9C6',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
update_interval=5,
|
fontsize=13,
|
||||||
|
update_interval=5,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
# widget.Image(
|
# widget.Image(
|
||||||
# filename='~/.config/qtile/Assets/Drop2.png',
|
# filename='~/.config/qtile/Assets/Drop2.png',
|
||||||
# ),
|
# ),
|
||||||
@@ -375,10 +379,11 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Battery(
|
widget.Battery(
|
||||||
font='JetBrains Mono Bold',
|
font="JetBrains Mono Bold",
|
||||||
background='#353446',
|
fontsize=13,
|
||||||
foreground='#E5B9C6',
|
background='#353446',
|
||||||
format='{percent:2.0%}',
|
foreground='#E5B9C6',
|
||||||
|
format='{percent:2.0%}',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -408,7 +413,8 @@ screens = [
|
|||||||
# ),
|
# ),
|
||||||
|
|
||||||
widget.Volume(
|
widget.Volume(
|
||||||
font='JetBrainsMono Nerd Font',
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
theme_path='~/.config/qtile/Assets/Volume/',
|
theme_path='~/.config/qtile/Assets/Volume/',
|
||||||
emoji=True,
|
emoji=True,
|
||||||
fontsize=12,
|
fontsize=12,
|
||||||
@@ -423,9 +429,10 @@ screens = [
|
|||||||
|
|
||||||
|
|
||||||
widget.Volume(
|
widget.Volume(
|
||||||
font='JetBrains Mono Bold',
|
font="JetBrains Mono Bold",
|
||||||
background='#353446',
|
fontsize=13,
|
||||||
foreground='#E5B9C6',
|
background='#353446',
|
||||||
|
foreground='#E5B9C6',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
@@ -448,6 +455,7 @@ screens = [
|
|||||||
background='#282738',
|
background='#282738',
|
||||||
foreground='#E5B9C6',
|
foreground='#E5B9C6',
|
||||||
font="JetBrains Mono Bold",
|
font="JetBrains Mono Bold",
|
||||||
|
fontsize=13,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user