repairs and added crunchyroll to do not darken

This commit is contained in:
Hannes
2026-06-21 19:44:36 +02:00
parent dd07b89fd5
commit d6e82ab45b
4 changed files with 17 additions and 7 deletions
+5 -3
View File
@@ -38,6 +38,8 @@ hl.bind("SUPER+L", hl.dsp.exec_cmd(lockscreen), { locked = true })
-- Scrolling
hl.bind("SUPER+CTRL+left", hl.dsp.layout("move -col"))
hl.bind("SUPER+CTRL+right", hl.dsp.layout("move +col"))
hl.bind("SUPER+mouse_left", hl.dsp.layout("move -col"))
hl.bind("SUPER+mouse_right", hl.dsp.layout("move +col"))
hl.bind("SUPER+CTRL+SHIFT+left", hl.dsp.layout("swapcol l"))
hl.bind("SUPER+CTRL+SHIFT+right", hl.dsp.layout("swapcol r"))
@@ -48,8 +50,8 @@ hl.bind("SUPER+L", hl.dsp.exec_cmd(lockscreen), { locked = true })
-- hl.bind("SUPER+SHIFT+down", "resizeactive", "0 30")
-- Mouse Commands for moving windows
hl.bind("SUPER+mouse_down", hl.dsp.focus({ workspace = "e+1", on_current_monitor = true }))
hl.bind("SUPER+mouse_up", hl.dsp.focus({ workspace = "e+1", on_current_monitor = true }))
hl.bind("SUPER+mouse_down", hl.dsp.focus({ workspace = "e+1", on_current_monitor = false }))
hl.bind("SUPER+mouse_up", hl.dsp.focus({ workspace = "e+1", on_current_monitor = false }))
hl.bind("SUPER + mouse:272", hl.dsp.window.drag(), { mouse = true })
hl.bind("SUPER + mouse:273", hl.dsp.window.resize(), { mouse = true })
hl.bind("SUPER + SHIFT + mouse:272", hl.dsp.window.resize(), { mouse = true })
@@ -59,7 +61,7 @@ hl.bind("SUPER+L", hl.dsp.exec_cmd(lockscreen), { locked = true })
hl.bind("SUPER+right", hl.dsp.focus({ direction = "r" }))
hl.bind("SUPER+up" , hl.dsp.focus({ direction = "u" }))
hl.bind("SUPER+down" , hl.dsp.focus({ direction = "d" }))
hl.bind("SUPER+TAB" , hl.dsp.focus({ workspace = "e+1", on_current_monitor = true }))
hl.bind("SUPER+TAB" , hl.dsp.focus({ workspace = "e+1", on_current_monitor = false }))
-- Screenshots
hl.bind("SUPER+P", hl.dsp.exec_cmd("~/.config/hypr/scripts/screenshot/screenshot_window.sh"))
+1 -1
View File
@@ -5,7 +5,7 @@ hl.env("HYPRLAND_TRACE", "1")
-- Toolkit Backend Variables
hl.env("GDK_BACKEND", "wayland,x11,*")
hl.env("QT_QPA_PLATFORM", "wayland;xcb")
hl.env("SDL_VIDEODRIVER", "wayland") -- if older game fails set to x11
hl.env("SDL_VIDEODRIVER", "wayland,x11") -- if older game fails set to x11
hl.env("CLUTTER_BACKEND", "wayland")
-- XDG Specifications
+1 -3
View File
@@ -31,6 +31,4 @@ if HOSTNAME == "archlinux-hypr" then
kb_layout = "us",
}
})
end
-- hyprctl devices
end
+10
View File
@@ -74,6 +74,16 @@ hl.window_rule({
content = "video"
})
-- Videos
hl.window_rule({
name = "Youtube",
match = {
title = ".*Crunchyroll — .*"
},
no_dim = true,
content = "video"
})
hl.window_rule({
name = "Fladder",
match = {