Oraginzing Qtile config file

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