-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrules.conf
71 lines (57 loc) · 2.24 KB
/
rules.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
$browsers = firefox|Firefox|librewolf|floorp|Thorium-browser|zen-alpha|zen-beta|zen
$term = kitty
$editor = Neovim$|goneovim|Code
$explorer = thunar|Thunar
$music_players = youtube-music-desktop-app|YouTube Music|org.strawberrymusicplayer.strawberry|Clementine
# Switch programs to workspaces
windowrule = workspace 2,$browsers
windowrule = workspace 1,$term
windowrule = workspace 4,$editor
windowrule = workspace 3,$explorer
windowrule = workspace 5,Clementine
windowrule = workspace 3,thunar
windowrulev2 = workspace 5,class:($music_players)
# Set floating
windowrule = float,^(.*Lxappearance.*)$
windowrule = float,^(.*kdeconnect.app.*)$
windowrule = float,^(.*scrcpy.*)$
windowrule = float,nwg-look
windowrule = float,xfce-polkit
windowrule = float,zenity
windowrule = float,blueman-sendto
windowrule = float,wlogout
windowrule = float,waypaper
windowrulev2 = float,class:(xdg-desktop-portal-gtk)
windowrulev2 = float,class:(pavucontrol)
windowrulev2 = float,title:(Picture-in-Picture|Pantalla en pantalla)
windowrulev2 = float,class:(org.kde.kdeconnect.handler)
windowrulev2 = float,class:(org.gnome.Calculator)
# Set noshadow
windowrulev2 = noshadow,class:(cava|GLava)
windowrulev2 = noblur,class:(cava|GLava)
windowrulev2 = float,class:(GLava)
windowrulev2 = pin,class:(GLava)
# windowrulev2 = xray no,class:()
windowrule = noshadow,$term
windowrulev2 = noshadow,class:(aimp.exe),title:(TrayControl)
# Set pin
windowrulev2 = pin,title:(Picture-in-Picture|Pantalla en pantalla)
windowrulev2 = pin,class:(xfce-polkit|polkit-mate-authentication-agent-1)
# Set opaque
windowrulev2 = opaque,title:(Picture-in-Picture|Pantalla en pantalla)
windowrule = opaque,^(.*scrcpy.*)$
# Set rules to emty data windows (like context menus)
# windowrulev2 = opaque noshadow noblur,class:(^$)
$none = ^$
windowrulev2 = opaque,class:($none)
windowrulev2 = noshadow,class:($none)
windowrulev2 = noblur,class:($none)
$xdg_desktop_portal = Xdg-desktop-portal-gtk
windowrule = opaque,class:($xdg_desktop_portal)
windowrule = noblur,class:($xdg_desktop_portal)
windowrule = noshadow,class:($xdg_desktop_portal)
# Resize this programs
windowrule = size 1030 565,zenity
windowrule = size 600 470,nwg-look
windowrule = size 770 675,waypaper
windowrulev2 = size 411 616,class:(org.gnome.Calculator)