Files
hyprland/config/hypr/configs/startup_apps.lua
T
sankalp 3e3bab2c6b feat(config/hypr): add keybinding for screen capture and configure portal & startup apps
Add ALT + P binding for grimblast screen capture
Set GTK_USE_PORTAL=1 environment variable
Configure cursor theme and startup commands in startup_apps.lua
Add window rule for modus windows with blur and no animation.
2026-07-05 20:01:42 +05:45

18 lines
504 B
Lua

-- Startup
hl.on("hyprland.start", function()
local cmds = {
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP",
-- GTK_MODULES is set at Modus runtime by _setup_environment() in globalmenu.py
"gsettings set org.gnome.desktop.interface cursor-theme Bibata-Modern-Ice",
"hyprctl setcursor Bibata-Modern-Ice 6",
"/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1",
"udiskie",
}
for i = 1, #cmds do
local cmd = cmds[i]
hl.exec_cmd(cmd)
end
end)