new config syntax
This commit is contained in:
+116
-21
@@ -199,26 +199,111 @@ device {
|
|||||||
# Example windowrule v2
|
# Example windowrule v2
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||||
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
windowrule {
|
||||||
windowrulev2 = opacity 0.85,class:^(nemo)
|
name = windowrule-1
|
||||||
windowrulev2 = opacity 0.90,class:^(code)
|
suppress_event = maximize
|
||||||
windowrulev2 = opacity 0.90,class:^(code-url-handler)
|
match:class = .* # You'll probably like this.
|
||||||
windowrulev2 = opacity 0.90,class:^(Spotify)$
|
}
|
||||||
windowrulev2 = opacity 0.90,class:^(spotify)$
|
|
||||||
windowrulev2 = opacity 0.85,class:^(thunar)$
|
windowrule {
|
||||||
windowrulev2 = opacity 0.85,class:^(Thunar)$
|
name = windowrule-2
|
||||||
windowrulev2 = opacity 0.90,class:^(org.qbittorrent.qBittorrent)$
|
opacity = 0.85
|
||||||
windowrulev2 = opacity 0.90,class:^(SWT)$
|
match:class = ^(nemo)
|
||||||
windowrulev2 = opacity 0.90,class:^(Eclipse)$
|
}
|
||||||
windowrulev2 = opacity 0.90,class:^(SpringToolSuite4)$
|
|
||||||
windowrulev2 = opacity 0.90,class:^(jetbrains-idea-ce)$
|
windowrule {
|
||||||
layerrule = blur, rofi
|
name = windowrule-3
|
||||||
layerrule = xray[0], rofi
|
opacity = 0.90
|
||||||
layerrule = ignorezero, rofi
|
match:class = ^(code)
|
||||||
layerrule = noanim, selection
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-4
|
||||||
|
opacity = 0.90
|
||||||
|
match:class = ^(code-url-handler)
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-5
|
||||||
|
opacity = 0.90
|
||||||
|
match:class = ^(Spotify)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-6
|
||||||
|
opacity = 0.90
|
||||||
|
match:class = ^(spotify)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-7
|
||||||
|
opacity = 0.85
|
||||||
|
match:class = ^(thunar)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-8
|
||||||
|
opacity = 0.85
|
||||||
|
match:class = ^(Thunar)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-9
|
||||||
|
opacity = 0.90
|
||||||
|
match:class = ^(org.qbittorrent.qBittorrent)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-10
|
||||||
|
opacity = 0.90
|
||||||
|
match:class = ^(SWT)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-11
|
||||||
|
opacity = 0.90
|
||||||
|
match:class = ^(Eclipse)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-12
|
||||||
|
opacity = 0.90
|
||||||
|
match:class = ^(SpringToolSuite4)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-13
|
||||||
|
opacity = 0.90
|
||||||
|
match:class = ^(jetbrains-idea-ce)$
|
||||||
|
}
|
||||||
|
|
||||||
|
layerrule {
|
||||||
|
name = layerrule-1
|
||||||
|
blur = on
|
||||||
|
xray[0] = on
|
||||||
|
ignore_alpha = 0
|
||||||
|
match:namespace = rofi
|
||||||
|
}
|
||||||
|
|
||||||
|
layerrule {
|
||||||
|
name = layerrule-2
|
||||||
|
no_anim = on
|
||||||
|
match:namespace = selection
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# Fix some dragging issues with XWayland
|
# Fix some dragging issues with XWayland
|
||||||
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
windowrule {
|
||||||
|
name = windowrule-14
|
||||||
|
no_focus = on
|
||||||
|
match:class = ^$
|
||||||
|
match:title = ^$
|
||||||
|
match:xwayland = 1
|
||||||
|
match:float = 1
|
||||||
|
match:fullscreen = 0
|
||||||
|
match:pin = 0
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
@@ -367,7 +452,17 @@ render {
|
|||||||
|
|
||||||
# Game Rules
|
# Game Rules
|
||||||
# steam
|
# steam
|
||||||
windowrulev2 = fullscreen,class:^steam_app\d+$
|
windowrule {
|
||||||
windowrulev2 = monitor 1,class:^steam_app_\d+$
|
name = windowrule-15
|
||||||
windowrulev2 = workspace 10,class:^steam_app_\d+$
|
fullscreen = on
|
||||||
|
match:class = ^steam_app\d+$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-16
|
||||||
|
monitor = 1
|
||||||
|
workspace = 10
|
||||||
|
match:class = ^steam_app_\d+$
|
||||||
|
}
|
||||||
|
|
||||||
workspace = 10, border:false, rounding:false,gapsin:0,gapsout:0,shadow:false,rounding:false,decorare:false,on-created-empty:bash ~/.config/hypr/gamemode.sh
|
workspace = 10, border:false, rounding:false,gapsin:0,gapsout:0,shadow:false,rounding:false,decorare:false,on-created-empty:bash ~/.config/hypr/gamemode.sh
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
preload = ~/.config/.wallpaper/wall.png
|
wallpaper {
|
||||||
|
monitor = eDP-1
|
||||||
wallpaper = ,~/.config/.wallpaper/wall.png
|
path = ~/.config/.wallpaper/wall.png
|
||||||
|
fit_mode = cover
|
||||||
splash = true
|
}
|
||||||
|
|
||||||
ipc = off
|
|
||||||
|
|||||||
Reference in New Issue
Block a user