mirror of
https://github.com/GRFreire/dotfiles.git
synced 2026-01-10 04:19:38 +00:00
Compare commits
3 Commits
cfc3052e2d
...
6fb0e78d48
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6fb0e78d48 | ||
|
|
a865973cad | ||
|
|
b92c7e11f0 |
@ -4,7 +4,7 @@ import = ["/home/grfreire/.config/alacritty/themes/tokyo-night.toml"]
|
|||||||
size = 24
|
size = 24
|
||||||
|
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "Cascadia Code"
|
family = "Iosevka"
|
||||||
|
|
||||||
[scrolling]
|
[scrolling]
|
||||||
history = 100000
|
history = 100000
|
||||||
|
|||||||
@ -18,6 +18,9 @@ feh --bg-scale --no-fehbg ~/.config/wall.png
|
|||||||
# Start conky
|
# Start conky
|
||||||
conky &
|
conky &
|
||||||
|
|
||||||
|
# Start X settings deamon
|
||||||
|
xsettingsd -c ~/.config/xsettingsd/xsettingsd.conf &
|
||||||
|
|
||||||
# Start network manager applet (systray)
|
# Start network manager applet (systray)
|
||||||
nm-applet &
|
nm-applet &
|
||||||
|
|
||||||
|
|||||||
@ -35,7 +35,7 @@ keys = [
|
|||||||
Key([MOD], "j", lazy.layout.down(), desc="Move focus down"),
|
Key([MOD], "j", lazy.layout.down(), desc="Move focus down"),
|
||||||
Key([MOD], "k", lazy.layout.up(), desc="Move focus up"),
|
Key([MOD], "k", lazy.layout.up(), desc="Move focus up"),
|
||||||
Key([ALT], "Tab", lazy.layout.next(), desc="Move window focus to other window"),
|
Key([ALT], "Tab", lazy.layout.next(), desc="Move window focus to other window"),
|
||||||
Key([MOD], "dead_grave", lazy.next_screen(), desc="Move window focus to other screen"),
|
Key([MOD], "apostrophe", lazy.next_screen(), desc="Move window focus to other screen"),
|
||||||
# Move windows between left/right columns.
|
# Move windows between left/right columns.
|
||||||
Key([MOD, "shift"], "h", lazy.layout.shuffle_left(), desc="Move window to the left"),
|
Key([MOD, "shift"], "h", lazy.layout.shuffle_left(), desc="Move window to the left"),
|
||||||
Key([MOD, "shift"], "l", lazy.layout.shuffle_right(), desc="Move window to the right"),
|
Key([MOD, "shift"], "l", lazy.layout.shuffle_right(), desc="Move window to the right"),
|
||||||
@ -420,7 +420,9 @@ def try_swallow(window):
|
|||||||
Match(wm_class="Alacritty"),
|
Match(wm_class="Alacritty"),
|
||||||
]
|
]
|
||||||
|
|
||||||
not_swallow=[]
|
not_swallow=[
|
||||||
|
Match(wm_class="voide-settings")
|
||||||
|
]
|
||||||
|
|
||||||
if any(window.match(rule) for rule in not_swallow):
|
if any(window.match(rule) for rule in not_swallow):
|
||||||
return
|
return
|
||||||
@ -468,24 +470,21 @@ def toggle_swallow(window):
|
|||||||
def try_regroup_window(client):
|
def try_regroup_window(client):
|
||||||
time.sleep(0.01)
|
time.sleep(0.01)
|
||||||
apps_wm_class = {
|
apps_wm_class = {
|
||||||
"google-chrome": "WWW",
|
|
||||||
"Navigator": "WWW",
|
"Navigator": "WWW",
|
||||||
"code": "DEV",
|
"chromium": "WWW",
|
||||||
|
"wireshark": "DEV",
|
||||||
"Steam": "GMG",
|
"Steam": "GMG",
|
||||||
"heroic": "GMG",
|
"heroic": "GMG",
|
||||||
"lutris": "GMG",
|
|
||||||
"nitrogen": "SYS",
|
|
||||||
"VirtualBox Manager": "SYS",
|
"VirtualBox Manager": "SYS",
|
||||||
"virt-manager": "SYS",
|
"virt-manager": "SYS",
|
||||||
"baobab": "SYS",
|
"baobab": "SYS",
|
||||||
"gnome-disks": "SYS",
|
"gnome-disks": "SYS",
|
||||||
"gedit": "DOC",
|
"gnome-system-monitor": "SYS",
|
||||||
"discord": "CHAT",
|
"gnome-text-editor": "DOC",
|
||||||
"microsoft teams - preview": "CHAT",
|
"libreoffice": "DOC",
|
||||||
"spotify": "MUS",
|
"Mail": "CHAT",
|
||||||
"obs": "VID",
|
"obs": "VID",
|
||||||
"ghb": "VID",
|
"shotcut": "EDT",
|
||||||
"resolve": "EDT",
|
|
||||||
"audacity": "EDT",
|
"audacity": "EDT",
|
||||||
"krita": "EDT",
|
"krita": "EDT",
|
||||||
"mypaint": "EDT",
|
"mypaint": "EDT",
|
||||||
@ -493,8 +492,7 @@ def try_regroup_window(client):
|
|||||||
|
|
||||||
# Notion for class is notion-nativefier-xxxx for example
|
# Notion for class is notion-nativefier-xxxx for example
|
||||||
apps_wm_class_incomplete = {
|
apps_wm_class_incomplete = {
|
||||||
"notion": "DOC",
|
"burp": "DEV",
|
||||||
"todoist": "DOC",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wm_class = client.window.get_wm_class()[0]
|
wm_class = client.window.get_wm_class()[0]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user