Compare commits
2
Commits
376b7ef14b
...
d5a6e992ee
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5a6e992ee | ||
|
|
d6e82ab45b |
+5
-3
@@ -38,6 +38,8 @@ hl.bind("SUPER+L", hl.dsp.exec_cmd(lockscreen), { locked = true })
|
|||||||
-- Scrolling
|
-- Scrolling
|
||||||
hl.bind("SUPER+CTRL+left", hl.dsp.layout("move -col"))
|
hl.bind("SUPER+CTRL+left", hl.dsp.layout("move -col"))
|
||||||
hl.bind("SUPER+CTRL+right", 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+left", hl.dsp.layout("swapcol l"))
|
||||||
hl.bind("SUPER+CTRL+SHIFT+right", hl.dsp.layout("swapcol r"))
|
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")
|
-- hl.bind("SUPER+SHIFT+down", "resizeactive", "0 30")
|
||||||
|
|
||||||
-- Mouse Commands for moving windows
|
-- Mouse Commands for moving windows
|
||||||
hl.bind("SUPER+mouse_down", 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 = true }))
|
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:272", hl.dsp.window.drag(), { mouse = true })
|
||||||
hl.bind("SUPER + mouse:273", hl.dsp.window.resize(), { 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 })
|
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+right", hl.dsp.focus({ direction = "r" }))
|
||||||
hl.bind("SUPER+up" , hl.dsp.focus({ direction = "u" }))
|
hl.bind("SUPER+up" , hl.dsp.focus({ direction = "u" }))
|
||||||
hl.bind("SUPER+down" , hl.dsp.focus({ direction = "d" }))
|
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
|
-- Screenshots
|
||||||
hl.bind("SUPER+P", hl.dsp.exec_cmd("~/.config/hypr/scripts/screenshot/screenshot_window.sh"))
|
hl.bind("SUPER+P", hl.dsp.exec_cmd("~/.config/hypr/scripts/screenshot/screenshot_window.sh"))
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ hl.env("HYPRLAND_TRACE", "1")
|
|||||||
-- Toolkit Backend Variables
|
-- Toolkit Backend Variables
|
||||||
hl.env("GDK_BACKEND", "wayland,x11,*")
|
hl.env("GDK_BACKEND", "wayland,x11,*")
|
||||||
hl.env("QT_QPA_PLATFORM", "wayland;xcb")
|
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")
|
hl.env("CLUTTER_BACKEND", "wayland")
|
||||||
|
|
||||||
-- XDG Specifications
|
-- XDG Specifications
|
||||||
|
|||||||
@@ -32,5 +32,3 @@ if HOSTNAME == "archlinux-hypr" then
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
-- hyprctl devices
|
|
||||||
@@ -74,6 +74,16 @@ hl.window_rule({
|
|||||||
content = "video"
|
content = "video"
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Videos
|
||||||
|
hl.window_rule({
|
||||||
|
name = "Youtube",
|
||||||
|
match = {
|
||||||
|
title = ".*Crunchyroll — .*"
|
||||||
|
},
|
||||||
|
no_dim = true,
|
||||||
|
content = "video"
|
||||||
|
})
|
||||||
|
|
||||||
hl.window_rule({
|
hl.window_rule({
|
||||||
name = "Fladder",
|
name = "Fladder",
|
||||||
match = {
|
match = {
|
||||||
|
|||||||
Reference in New Issue
Block a user