Files
Hyprland-config/hyprland.lua
2026-06-24 18:40:53 -05:00

52 lines
1.7 KiB
Lua

----------------
--- STARTUP ---
----------------
_G.terminal = "kitty"
_G.fileManager = "dolphin"
_G.menu = "qs -c noctalia-shell ipc call launcher toggle"
_G.launcher = "hyprlauncher"
_G.browser = "firefox"
_G.menuBar = "qs -c noctalia-shell"
_G.shellWrapper = "qs -c noctalia-shell"
_G.blkmanager = "udiskie"
_G.email = "thunderbird"
_G.notes = "obsidian"
hl.on("hyprland.start", function()
-- Force D-Bus and Systemd to catch the Wayland display variables instantly
hl.exec_cmd("dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP")
hl.exec_cmd("systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP")
hl.exec_cmd("systemctl --user start hyprpolkitagent")
hl.exec_cmd(menuBar)
-- hyprshell in systemd
hl.exec_cmd(blkmanager)
hl.exec_cmd("vicinae server") --no-window) TODO set up sddm to unlock keychain
hl.exec_cmd("hyprpm reload -n")
hl.exec_cmd("kdeconnectd")
hl.exec_cmd("vesktop -m", {workspace ="special:vesktop silent"})
hl.exec_cmd(email, {workspace ="special:email silent"})
hl.exec_cmd(notes, {workspace ="special:notes silent"})
hl.exec_cmd("steam --forcedesktopscaling 0.5 -silent -no-browser", {workspace ="special:gaming silent"})
hl.exec_cmd("protonmail-bridge --no-window") -- TODO set up sddm to unlock keychain
end)
hl.config({
master = {
orientation = "center",
new_status = "master",
mfact = 0.50
},
})
hl.env("XCURSOR_SIZE", "24")
hl.env("HYPRCURSOR_SIZE", "24")
hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto")
require("basic/looks")
require("basic/keybinds")
require("basic/vars")
require("basic/windows")
-- require("plugins")
require("monitors")