Files
dotfiles/.config/hypr/autostart.lua
T

23 lines
617 B
Lua
Raw Normal View History

2026-08-16 16:57:29 +01:00
hl.on('hyprland.start', function()
2026-09-02 14:30:16 +01:00
exec 'uwsm-app -- hypridle'
exec 'uwsm-app -- mako'
exec 'uwsm-app -- fcitx5 --disable notificationitem'
exec 'nextcloud'
exec '/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1'
exec 'dbus-update-activation-environment --systemd --all'
2026-09-27 17:06:16 +01:00
exec 'station-bg-set'
2026-09-07 17:56:47 +01:00
local monitors = hl.get_monitors()
for j = #monitors, 1, -1 do
local monitor = monitors[j]
2026-09-26 22:45:43 +01:00
hl.dispatch(hl.dsp.focus { workspace = 'name:Home_' .. j })
2026-09-07 17:56:47 +01:00
end
2026-09-02 14:30:16 +01:00
end)
hl.on('config.reloaded', function()
toggle_laptop_monitor()
2026-09-27 17:06:16 +01:00
exec 'station-bg-set'
2026-06-09 21:53:08 +01:00
end)
2026-08-16 16:57:29 +01:00