updated qtile config
This commit is contained in:
@@ -50,8 +50,8 @@ def dbus_register():
|
||||
'string:' + id])
|
||||
|
||||
mod = "mod4"
|
||||
terminal = "tilix"
|
||||
browser = "flatpak run com.microsoft.Edge"
|
||||
terminal = "alacritty"
|
||||
browser = "microsoft-edge"
|
||||
|
||||
@hook.subscribe.startup_once
|
||||
def autostart_once():
|
||||
@@ -113,16 +113,17 @@ keys = [
|
||||
Key([mod], "Return", lazy.spawn(terminal), desc="Launch terminal"),
|
||||
Key([mod, "control"], "b", lazy.spawn(browser), desc="Launch Browser"),
|
||||
Key([mod, "control"], "f", lazy.spawn("firefox"), desc="Launch Firefox"),
|
||||
Key([mod, "control"], "t", lazy.spawn("gtk-launch com.microsoft.Edge.flextop.msedge-cifhbcnohmdccbgoicgdjpfamggdegmo-Default.desktop"), desc="Launch Teams"),
|
||||
Key([mod, "control"], "t", lazy.spawn("gtk-launch msedge-cifhbcnohmdccbgoicgdjpfamggdegmo-Default.desktop"), desc="Launch Teams"),
|
||||
Key([mod, "control"], "o", lazy.spawn("gtk-launch msedge-faolnafnngnfdaknnbpnkhgohbobgegn-Default.desktop"), desc="Launch Teams"),
|
||||
Key([mod, "control"], "w", lazy.spawn("VirtualBoxVM --startvm rnet-windows"), desc="Launch Windows VM"),
|
||||
Key([mod, "control"], "y", lazy.spawn("gtk-launch arch-FFPWA-01H62W1P23FQGJ1KW173SWKGX5.desktop"), desc="Launch YouTube"),
|
||||
Key([mod, "control"], "p", lazy.spawn("gtk-launch arch-FFPWA-01HA11SJ7BT86K183EGJNBV6DS.desktop"), desc="Launch Pocketcasts"),
|
||||
Key([mod, "control"], "y", lazy.spawn("gtk-launch FFPWA-01HATKWJX09JCYK2HQ0E2MGSRY.desktop"), desc="Launch YouTube"),
|
||||
Key([mod, "control"], "v", lazy.spawn("VirtualBox"), desc="Launch VirtualBox"),
|
||||
Key([mod, "control"], "c", lazy.spawn("gtk launch arch-codium.dekstop"), desc="Launch VSCodium"),
|
||||
Key([mod, "control"], "j", lazy.spawn("gtk-launch arch-jetbrains-pycharm-43d13f8e-7346-4852-a7fd-0d05261a1dc0.desktop"), desc="Launch PyCharm"),
|
||||
Key([], "Print", lazy.spawn("org.flameshot.Flameshot gui"), desc="Screenshot"),
|
||||
Key([mod, "control"], "j", lazy.spawn("gtk-launch arch-pycharm-professional.desktop"), desc="Launch PyCharm"),
|
||||
Key([], "Print", lazy.spawn("flatpak run org.flameshot.Flameshot gui"), desc="Screenshot"),
|
||||
# Toggle between different layouts as defined below
|
||||
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
|
||||
Key([mod, "shift"], "Tab", lazy.prev_layout(), desc="Toggle between layouts"),
|
||||
Key([mod], "q", lazy.window.kill(), desc="Kill focused window"),
|
||||
Key([mod, "control"], "r", lazy.reload_config(), desc="Reload the config"),
|
||||
Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"),
|
||||
@@ -133,6 +134,7 @@ keys = [
|
||||
Key([], "XF86AudioRaiseVolume", lazy.spawn("amixer set Master 5%+"), desc="Increase volume"),
|
||||
Key([mod], "s", lazy.screen.next_group(skip_managed=True), desc="Switch to Next Group"),
|
||||
Key([mod], "w", lazy.screen.prev_group(skip_managed=True), desc="Switch to Previous Group"),
|
||||
Key([mod, "mod1"], "l", lazy.spawn("light-locker-command -l"), desc="Switch to Previous Group"),
|
||||
]
|
||||
|
||||
groups = [Group(i) for i in "123456789"]
|
||||
@@ -175,7 +177,7 @@ layouts = [
|
||||
# layout.Bsp(),
|
||||
# layout.Matrix(),
|
||||
layout.MonadTall(ratio=0.75, **layout_defaults),
|
||||
# layout.MonadThreeCol(margin=8),
|
||||
layout.MonadThreeCol(**layout_defaults),
|
||||
# layout.MonadWide(),
|
||||
# layout.RatioTile(),
|
||||
layout.Tile(**layout_defaults),
|
||||
@@ -185,7 +187,7 @@ layouts = [
|
||||
]
|
||||
|
||||
# defaults for groups
|
||||
groups[0].layout = "monadtall"
|
||||
groups[0].layout = "monadthreecol"
|
||||
# groups[1].spawn = "flatpak run com.microsoft.Edge"
|
||||
|
||||
powerline = {
|
||||
@@ -195,15 +197,15 @@ powerline = {
|
||||
}
|
||||
|
||||
lb_progs = [
|
||||
("com.microsoft.Edge","flatpak run com.microsoft.Edge","Launch Micorosoft Edge"),
|
||||
("teams.png", "gtk-launch com.microsoft.Edge.flextop.msedge-cifhbcnohmdccbgoicgdjpfamggdegmo-Profile_1.desktop", "Launch Microsoft Teams"),
|
||||
("microsoft-edge","microsoft-edge","Launch Micorosoft Edge"),
|
||||
("msedge-cifhbcnohmdccbgoicgdjpfamggdegmo-Default", "gtk-launch msedge-cifhbcnohmdccbgoicgdjpfamggdegmo-Default.desktop", "Launch Microsoft Teams"),
|
||||
# ("FFPWA-01H62W1P23FQGJ1KW173SWKGX5", "gtk-launch arch-FFPWA-01H62W1P23FQGJ1KW173SWKGX5.desktop",""),
|
||||
("firefox.png", "firefox", "Launch Firefox"),
|
||||
("virtualbox.png", "VirtualBox", "Launch VirtualBox"),
|
||||
("PyCharm_Icon.svg.png", "gtk-launch arch-jetbrains-pycharm-43d13f8e-7346-4852-a7fd-0d05261a1dc0.desktop", "Launch PyCharm"),
|
||||
("/home/danmac/.local/share/icons/org.gnome.Nautilus.png", "nautilus", "Launch Files"),
|
||||
("pycharm", "gtk-launch arch-pycharm-professional.desktop", "Launch PyCharm"),
|
||||
("org.gnome.Nautilus", "nautilus", "Launch Files"),
|
||||
("vscodium.png", "gtk-launch arch-codium.desktop", "Launch Codium"),
|
||||
("FFPWA-01HA11SJ7BT86K183EGJNBV6DS", "gtk-launch arch-FFPWA-01HA11SJ7BT86K183EGJNBV6DS.desktop",""),
|
||||
("FFPWA-01HATKWJX09JCYK2HQ0E2MGSRY", "gtk-launch FFPWA-01HATKWJX09JCYK2HQ0E2MGSRY.desktop",""),
|
||||
("🔊", "pavucontrol", "Launch pavucontrol"),
|
||||
]
|
||||
|
||||
@@ -217,8 +219,8 @@ app_launcher = widget.WidgetBox(
|
||||
|
||||
|
||||
shutdown_progs = [
|
||||
("reboot", "systemctl reboot", "Reboot"),
|
||||
("shutdown", "systemctl shutdown", "Shutdown"),
|
||||
("Reboot", "systemctl reboot", "Reboot"),
|
||||
("Shutdown", "systemctl halt", "Shutdown"),
|
||||
]
|
||||
|
||||
widget_defaults = dict(
|
||||
@@ -255,11 +257,12 @@ screens = [
|
||||
text_open=" ◀ ",
|
||||
**powerline
|
||||
),
|
||||
widget.Systray(background=colors["red"], **powerline),
|
||||
# widget.Systray(background=colors["red"], **powerline),
|
||||
# widget.Spacer(background=colors["red"], length=2, **powerline),
|
||||
# widget.pulse_volume(),
|
||||
widget.PulseVolume(background=colors["purple"], **powerline),
|
||||
# widget.PulseVolume(background=colors["purple"], **powerline),
|
||||
widget.UPowerWidget(background=colors["purple"], **powerline),
|
||||
widget.CPUGraph(background=colors["purple"], border_width=0, **powerline),
|
||||
widget.NvidiaSensors(background=colors["purple"], threshold=85, **powerline),
|
||||
widget.Clock(format="%a %d %b %Y %I:%M %p", background=colors["orange"], **powerline),
|
||||
# widget.QuickExit(),
|
||||
@@ -304,6 +307,7 @@ screens = [
|
||||
text_open=" ◀",
|
||||
**powerline
|
||||
),
|
||||
widget.Systray(background=colors["red"], **powerline),
|
||||
# widget.Systray(background=colors["red"]),
|
||||
# widget.ALSAWidget(background="999999", mode="both"),
|
||||
# widget.Spacer(length=2, background=colors["red"], **powerline),
|
||||
@@ -318,6 +322,7 @@ screens = [
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
# Drag floating layouts.
|
||||
mouse = [
|
||||
Drag([mod], "Button1", lazy.window.set_position_floating(), start=lazy.window.get_position()),
|
||||
@@ -328,10 +333,10 @@ mouse = [
|
||||
dgroups_key_binder = None
|
||||
dgroups_app_rules = [] # type: list
|
||||
follow_mouse_focus = True
|
||||
bring_front_click = False
|
||||
bring_front_click = True
|
||||
cursor_warp = False
|
||||
floating_layout = layout.Floating(
|
||||
border_width=0,
|
||||
border_width=1,
|
||||
float_rules=[
|
||||
# Run the utility of `xprop` to see the wm class and name of an X client.
|
||||
*layout.Floating.default_float_rules,
|
||||
@@ -344,6 +349,7 @@ floating_layout = layout.Floating(
|
||||
Match(title="Sticky Notes"),
|
||||
Match(wm_class="xpad"),
|
||||
Match(wm_class="gnome-calculator"),
|
||||
Match(wm_class="blueman-manager"),
|
||||
]
|
||||
)
|
||||
auto_fullscreen = True
|
||||
|
||||
Reference in New Issue
Block a user