Files
dotfiles/.config/hypr/autostart.lua
T
2026-09-07 17:56:47 +01:00

25 lines
679 B
Lua

hl.on('hyprland.start', function()
exec 'uwsm-app -- hypridle'
exec 'uwsm-app -- mako'
exec 'uwsm-app -- fcitx5 --disable notificationitem'
exec 'uwsm-app -- Enpass -minimize'
exec 'uwsm-app -- steam'
exec 'nextcloud'
exec 'station-bg-random'
exec '/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1'
exec 'dbus-update-activation-environment --systemd --all'
local monitors = hl.get_monitors()
for j = #monitors, 1, -1 do
local monitor = monitors[j]
hl.dsp.focus { workspace = 'name:Home_' .. j }
end
end)
hl.on('config.reloaded', function()
toggle_laptop_monitor()
exec 'station-bg-random'
end)