From d689e7e88812de5105de8bebd50c586013d6575e Mon Sep 17 00:00:00 2001 From: The-Repo-Club Date: Sat, 16 Sep 2023 09:57:37 +0000 Subject: [PATCH] Update Dotfiles Signed-off-by: The-Repo-Club --- qtile/.config/qtile/cfg.json | 2 +- qtile/.config/qtile/core/groups.py | 26 +++++++++++++------------- qtile/.config/qtile/core/hooks.py | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/qtile/.config/qtile/cfg.json b/qtile/.config/qtile/cfg.json index 1d7389051..e88a18681 100644 --- a/qtile/.config/qtile/cfg.json +++ b/qtile/.config/qtile/cfg.json @@ -1,7 +1,7 @@ { "bar": "shapes", "bar2": "bottom", - "browser": "firefox", + "browser": "opera", "term": "alacritty", "term2": "kitty", "editor": "code", diff --git a/qtile/.config/qtile/core/groups.py b/qtile/.config/qtile/core/groups.py index 5d93694de..c8ed6728b 100644 --- a/qtile/.config/qtile/core/groups.py +++ b/qtile/.config/qtile/core/groups.py @@ -16,7 +16,7 @@ for key, label, layout, matches in [ ( "2", "二", - "max", + None, Match(wm_class=re.compile("^Code.*|^Jetbrains.*", re.IGNORECASE)), ), ( @@ -28,43 +28,43 @@ for key, label, layout, matches in [ ( "4", "四", - "max", + None, Match(wm_class=re.compile("^Aseprite.*|^Krita.*", re.IGNORECASE)), ), ( "5", "五", - "max", + None, Match(wm_class=re.compile("^CmusImage.*", re.IGNORECASE)), ), ( "6", "六", - "max", - Match(wm_class=re.compile("^Firefox.*|^Brave.*", re.IGNORECASE)), + None, + Match(wm_class=re.compile("^Firefox.*|^Opera.*", re.IGNORECASE)), ), ( "7", "七", - "max", + None, Match(wm_class=re.compile("^Mail.*|^Thunderbird.*", re.IGNORECASE)), ), ( "8", "八", - "max", + None, Match(wm_class=re.compile("^Steam.*|^Minecraft.*|^0ad.*", re.IGNORECASE)), ), ( "9", "九", - "max", + None, Match(wm_class=re.compile("^Discord.*", re.IGNORECASE)), ), ( "0", "零", - "max", + None, Match(wm_class=re.compile("^Software.*|^Virt.*|^Btop.*", re.IGNORECASE)), ), ]: @@ -92,7 +92,7 @@ for key, label, layout, matches in [ [ DropDown( "term", - "kitty --name=scratch", + "alacritty --class Scratch", width=0.6, height=0.6, x=0.2, @@ -101,7 +101,7 @@ for key, label, layout, matches in [ ), DropDown( "clifm", - "kitty --name=clifm -e clifm", + "alacritty --class CliFM -e clifm", width=0.6, height=0.6, x=0.2, @@ -110,7 +110,7 @@ for key, label, layout, matches in [ ), DropDown( "btop", - "kitty --name=btop -e btop", + "alacritty --class bTop -e btop", width=0.6, height=0.6, x=0.2, @@ -119,7 +119,7 @@ for key, label, layout, matches in [ ), DropDown( "volume", - "pavucontrol", + "PavuControl", width=0.6, height=0.6, x=0.2, diff --git a/qtile/.config/qtile/core/hooks.py b/qtile/.config/qtile/core/hooks.py index c13a8199b..2c4e4e4ad 100644 --- a/qtile/.config/qtile/core/hooks.py +++ b/qtile/.config/qtile/core/hooks.py @@ -10,7 +10,7 @@ margins = [sum(bar.margin) if bar else -1 for bar in bars] # type: ignore configure = [ "autostart", "youtube_subs -d", - "autorandr --load qtile", + # "autorandr --load qtile", "setxkbmap -option caps:escape", ]