Files
dotfiles/.config/hypr/autostart.lua
T
2026-09-30 17:03:12 +01:00

33 lines
878 B
Lua

hl.on('hyprland.start', function()
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'
exec 'station-bg-set'
-- hl.dispatch(
-- dispatch_exec(
-- 'station-launch-tui btop',
-- { move = { workspace = 'special:monitor' } }
-- )
-- )
local monitors = hl.get_monitors()
for j = #monitors, 1, -1 do
local monitor = monitors[j]
hl.dispatch(hl.dsp.focus { workspace = 'name:Home_' .. j })
end
end)
hl.on('config.reloaded', function()
toggle_laptop_monitor()
-- exec(
-- 'station-launch-tui btop',
-- { move = { workspace = 'special:monitor' } }
-- )
end)