summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/qtile/config.py48
1 files changed, 0 insertions, 48 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
index dfc6b79..4f26401 100644
--- a/.config/qtile/config.py
+++ b/.config/qtile/config.py
@@ -8,12 +8,9 @@ from libqtile.config import Key
from libqtile.command import lazy
from libqtile.config import Click, Drag
from colors import dracula
-
-# var
hostname = socket.gethostname()
-# Groups and layouts
groups = []
group_names = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", ]
group_labels = ["Ⅰ", "Ⅱ", "Ⅲ", "Ⅳ", "Ⅴ", "Ⅵ", "Ⅶ", "Ⅷ", "Ⅸ", "Ⅹ", ]
@@ -45,23 +42,7 @@ layout_theme = init_layout_theme()
layouts = [
layout.MonadTall(**layout_theme),
- # layout.MonadWide(**layout_theme),
- # layout.Matrix(**layout_theme),
- # layout.Bsp(**layout_theme),
layout.Floating(**layout_theme),
- # layout.RatioTile(**layout_theme),
- # layout.Max(**layout_theme),
- # layout.Spiral(**layout_theme),
- layout.TreeTab(bg_color=dracula["bg"],
- active_bg=dracula["purple"],
- active_fg=dracula["fg"],
- inactive_fg=dracula["fg"],
- inactive_bg=dracula["bg"],
- font="JetBrains Mono",
- fontshadow=None,
- section_fontsize=14,
- panel_width=135,),
- # layout.Zoomy(**layout_theme),
]
@hook.subscribe.client_new
@@ -141,14 +122,7 @@ def init_widgets_list():
foreground=dracula['orange'],
font="JetBrains Mono",
margin=10,
- # get_volume_command="pamixer --get-volume-human",
- # volume_app = "pamixer"
),
- # widget.Mpris2(
- # fontsize= 16,
- # background = my_colors["red"],
- # objname="org.mpris.MediaPlayer2.spotify"
- # ),
widget.Spacer(
length=7,
padding=10,
@@ -223,10 +197,8 @@ def init_widgets_list():
return widgets_list
battery_widget = widget.Battery()
-
widgets_list = init_widgets_list()
-
def init_widgets_screen1():
"""Init every widget for primary screen."""
widgets_screen1 = init_widgets_list()
@@ -234,13 +206,11 @@ def init_widgets_screen1():
widgets_screen1.append(battery_widget)
return widgets_screen1
-
def init_widgets_screen2():
"""Remove systray and spacer for second screen."""
widgets_screen2 = init_widgets_list()
return widgets_screen2[:-2]
-
widgets_screen1 = init_widgets_screen1()
widgets_screen2 = init_widgets_screen2()
@@ -252,7 +222,6 @@ def init_screens():
Screen(top=bar.Bar(widgets=init_widgets_screen2(), size=28,
margin=7))]
-
screens = init_screens()
follow_mouse_focus = True
bring_front_click = False
@@ -261,9 +230,7 @@ auto_fullscreen = True
focus_on_window_activation = "smart" # or focus
wmname = "Qtile-Apo11o"
-
## Keys
-
# Use this to change between workspaces
dgroups_key_binder = simple_key_binder("mod4")
mod = "mod4"
@@ -273,24 +240,12 @@ keys = [
Key([mod], "Return",
lazy.spawn("emacsclient -c"),
),
- Key([mod, "shift"], "a",
- lazy.spawn('anki'),
- ),
Key([mod, "shift"], "m",
lazy.spawn("emacsclient -e '(thanos/pass-launcher)'"),
),
Key([mod], "r",
lazy.spawn("rofi -show drun"),
),
- Key([mod], "w",
- lazy.spawn("rofi -show window"),
- ),
- Key([mod], "p",
- lazy.spawn("passmenu -p 'Password for: '"),
- ),
- Key([mod], "b",
- lazy.spawn(browser),
- ),
Key([mod, "shift"], "c",
lazy.next_layout(),
),
@@ -300,9 +255,6 @@ keys = [
Key([mod, "shift"], "r",
lazy.restart(),
),
- Key([mod, "shift"], "0",
- lazy.shutdown(),
- ),
Key([mod, "shift"], "e",
lazy.spawn("emacs"),
),