updates hyprland configs

This commit is contained in:
2026-08-06 17:42:53 +02:00
parent 7d08cb7344
commit aa1eb88a13
33 changed files with 771 additions and 24 deletions
+5 -1
View File
@@ -13,10 +13,14 @@ hl.on("hyprland.start", function()
hl.exec_cmd('gsettings set org.gnome.desktop.interface cursor-theme "Volantes Cursors"')
hl.exec_cmd('gsettings set org.gnome.desktop.interface font-name "Fira Sans Semi-Bold 11"')
hl.exec_cmd('"gsettings set org.gnome.desktop.interface color-scheme "prefer_dark"')
hl.exec_cmd('hyprctl setcursor "Volantes Cursors"')
hl.exec_cmd("systemctl --user start hyprpolkitagent")
hl.exec_cmd("snappy-switcher --daemon &")
hl.exec_cmd("ibus start --type wayland &")
hl.exec_cmd("hyprpaper &")
hl.exec_cmd("waybar &")
hl.exec_cmd("dunst &")
hl.exec_cmd("discord &")
hl.exec_cmd("vesktop &")
hl.exec_cmd("Applications/scriptlauncher-linux-1.9.0_aaee5214782c168936494cc4997ef7ca.AppImage &")
end)
+7
View File
@@ -20,8 +20,15 @@ hl.env("QT_AUTO_SCREEN_SCALE_FACTOR", "1")
-- GTK
hl.env("GDK_SCALE", "1")
hl.env("GTK_IM_MODULE", "wayland")
hl.env("XMODIFIERS", "@im=ibus")
hl.env("QT_IM_MODULES", "wayland;ibus")
hl.env("QT_IM_MODULE", "ibus")
hl.env("XCURSOR_SIZE", "20")
hl.env("HYPRCURSOR_SIZE", "20")
hl.env("HYPRCURSOR_THEME", "Volantes Cursors")
-- Mozilla
hl.env("MOZ_ENABLE_WAYLAND", "1")
+3
View File
@@ -23,6 +23,9 @@ hl.config({
touchpad = {
natural_scroll = false,
},
tablet = {
output = BOTTOM_MONITOR
}
},
-- See https://wiki.hypr.land/Configuring/Gestures
})
+24 -3
View File
@@ -8,7 +8,6 @@
local mainMod = "SUPER"
-- Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
-- KeyBinds
-- Open
hl.bind(mainMod .. " + T", hl.dsp.exec_cmd(TERMINAL, {float = true, size = {1920, 1080}})) -- Open Terminal
@@ -21,13 +20,20 @@ hl.bind(mainMod .. " + C", hl.dsp.window.close()) -- Close Window
hl.bind(mainMod .. " + V", hl.dsp.window.float({ action = "toggle" })) -- Toggle Float
hl.bind(mainMod .. " + P", hl.dsp.window.pseudo()) -- Toggle Pseudo
hl.bind(mainMod .. " + F11", hl.dsp.window.fullscreen("")) -- Toggle Fullscreen
hl.bind(mainMod .. " + J", hl.dsp.layout("togglesplit")) -- Toggle Split
hl.bind(mainMod .. " + SHIFT + F11", hl.dsp.window.float({action = "toggle"})) -- Toggle Fullscreen
hl.bind(mainMod .. " + SHIFT + F11", hl.dsp.window.resize({x = 2560*3, y = 1440})) -- Toggle Fullscreen
hl.bind(mainMod .. " + SHIFT + F11", hl.dsp.window.move({x = 0, y = 0})) -- Toggle Fullscreen
hl.bind(mainMod .. " + H", hl.dsp.layout("togglesplit")) -- Toggle Split
hl.bind(mainMod .. " + left", hl.dsp.focus({ direction = "left" })) -- Focus Left
hl.bind(mainMod .. " + right", hl.dsp.focus({ direction = "right" })) -- Focus Right
hl.bind(mainMod .. " + up", hl.dsp.focus({ direction = "up" })) -- Focus Up
hl.bind(mainMod .. " + down", hl.dsp.focus({ direction = "down" })) -- Focus Down
hl.bind(mainMod .. " + TAB", hl.dsp.window.cycle_next({floating = true, tiled = true, next = true}))
hl.bind("ALT + TAB", hl.dsp.exec_cmd("snappy-switcher next"))
hl.bind("ALT + SHIFT + TAB", hl.dsp.exec_cmd("snappy-switcher prev"))
hl.bind(mainMod .. " + SHIFT + left", hl.dsp.window.move({ workspace = "e+1" })) -- Move Left
hl.bind(mainMod .. " + SHIFT + right", hl.dsp.window.move({ workspace = "e-1" })) -- Move Right
hl.bind(mainMod .. " + SHIFT + up", hl.dsp.window.move({ workspace = 2 })) -- Move Up
@@ -42,6 +48,11 @@ hl.bind("ALT + mouse:272", hl.dsp.window.drag()) -- Move with Mouse
hl.bind("ALT + mouse:273", hl.dsp.window.resize()) -- Resize with Mouse
-- Workspaces
hl.bind(mainMod .. " + J", hl.dsp.focus({ workspace = "name:" })) -- Focus left Workspace
hl.bind(mainMod .. " + K", hl.dsp.focus({ workspace = "name:" })) -- Focus bottom Workspace
hl.bind(mainMod .. " + CTRL + K", hl.dsp.focus({ workspace = "name:[]" })) -- Focus [bottom] Workspace
hl.bind(mainMod .. " + L", hl.dsp.focus({ workspace = "name:" })) -- Focus right Workspace
hl.bind(mainMod .. " + I", hl.dsp.focus({ workspace = "name:" })) -- Focus top Workspace
hl.bind(mainMod .. " + 1", hl.dsp.focus({ workspace = 1 })) -- Focus Workspace 1
hl.bind(mainMod .. " + 2", hl.dsp.focus({ workspace = 2 })) -- Focus Workspace 2
hl.bind(mainMod .. " + 3", hl.dsp.focus({ workspace = 3 })) -- Focus Workspace 3
@@ -53,6 +64,13 @@ hl.bind(mainMod .. " + 8", hl.dsp.focus({ workspace = 8 })) -- Focus Workspace 8
hl.bind(mainMod .. " + 9", hl.dsp.focus({ workspace = 9 })) -- Focus Workspace 9
hl.bind(mainMod .. " + 0", hl.dsp.focus({ workspace = 10 })) -- Focus Workspace 10
hl.bind(mainMod .. " + SHIFT + J", hl.dsp.window.move({ workspace = "name:" })) -- Focus left Workspace
hl.bind(mainMod .. " + SHIFT + K", hl.dsp.window.move({ workspace = "name:" })) -- Focus bottom Workspace
hl.bind(mainMod .. " + SHIFT + CTRL + K", hl.dsp.window.move({ workspace = "name:[]" })) -- Focus [bottom] Workspace
hl.bind(mainMod .. " + SHIFT + L", hl.dsp.window.move({ workspace = "name:" })) -- Focus right Workspace
hl.bind(mainMod .. " + SHIFT + I", hl.dsp.window.move({ workspace = "name:" })) -- Focus top Workspace
hl.bind(mainMod .. " + SHIFT + 1", hl.dsp.window.move({ workspace = 1 })) -- Move to Workspace 1
hl.bind(mainMod .. " + SHIFT + 2", hl.dsp.window.move({ workspace = 2 })) -- Move to Workspace 2
hl.bind(mainMod .. " + SHIFT + 3", hl.dsp.window.move({ workspace = 3 })) -- Move to Workspace 3
@@ -67,6 +85,9 @@ hl.bind(mainMod .. " + SHIFT + 0", hl.dsp.window.move({ workspace = 10 })) -- Mo
hl.bind(mainMod .. " + S", hl.dsp.workspace.toggle_special("magic")) -- Focus Magic Workspace
hl.bind(mainMod .. " + SHIFT + S", hl.dsp.window.move({ workspace = "special:magic" })) -- Move to Magic Workspace
-- Capture
hl.bind(mainMod .. " + F9", hl.dsp.exec_cmd("hyprshot -m region"))
hl.bind(mainMod .. " + SHIFT + F9", hl.dsp.exec_cmd("hyprshot -m window"))
-- Media Keys
hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd(SCRIPT_DIR .. "/volume up"), { locked = true, repeating = true }) -- Volume Up
hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd(SCRIPT_DIR .. "/volume down"), { locked = true, repeating = true }) -- Volume Down
@@ -82,4 +103,4 @@ hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true
-- System
hl.bind(mainMod .. " + F1", hl.dsp.exec_cmd("keybinds")) -- Show Keybinds
hl.bind(mainMod .. " + L", hl.dsp.exec_cmd("hyprlock")) -- Lock the System
hl.bind(mainMod .. " + Escape", hl.dsp.exec_cmd("hyprlock")) -- Lock the System
+3 -2
View File
@@ -35,11 +35,12 @@ hl.window_rule({
})
hl.window_rule({
name = "discord",
name = "vesktop",
match = {
class = "discord",
class = "vesktop",
},
monitor = RIGHT_MONITOR,
no_follow_mouse = true
})
hl.window_rule({
+7
View File
@@ -0,0 +1,7 @@
hl.workspace_rule({ workspace = "name:", monitor = LEFT_MONITOR, default = true })
hl.workspace_rule({ workspace = "name:", monitor = TOP_MONITOR, default = true})
hl.workspace_rule({ workspace = "name:", monitor = RIGHT_MONITOR, default = true })
hl.workspace_rule({ workspace = "name:", monitor = BOTTOM_MONITOR, default = true })
hl.workspace_rule({ workspace = "name:[]", monitor = BOTTOM_MONITOR })
hl.workspace_rule({ workspace = "name:{}", monitor = BOTTOM_MONITOR })
+1
View File
@@ -22,5 +22,6 @@ require("conf.input")
require("conf.keybinds")
-- Source: ./conf/style.conf — convert this file to Lua and ensure it is on Lua's package.path.
require("conf.style")
require("conf.workspaces")
-- Source: ./conf/windows.conf — convert this file to Lua and ensure it is on Lua's package.path.
require("conf.windows")
+3
View File
@@ -0,0 +1,3 @@
screencopy {
custom_picker_binary = hyprland-preview-share-picker
}