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.
18 lines
504 B
Lua
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)
|