- Idle is handled in the shell instead of hypridle: the screen dims slowly at 4 minutes, locks at 5, powers down at 6, and suspends at 15 on battery. Idle inhibitors hold every stage off; Super+Shift+I does the same by hand and puts a cup on the rail. - The shell draws the wallpaper (backdrop/), so hyprpaper is gone. The picture is drawn a little larger than the screen and drifts with the workspace a beat after the windows, and dims a shade while windows are open. The path lives in quickshell/wallpaper. - The lock screen and power menu say "Take your time." instead of the NieR slogan. - hyprpaper is no longer launched twice, the media module keeps the player that played last instead of an empty browser tab, and grouped windows show thin untitled tabs with their place in the group (2/3) in the bar title. - qt6ct uses Darkly; the package list gains adw-gtk-theme and darkly-bin.
32 lines
1.5 KiB
Lua
32 lines
1.5 KiB
Lua
-- https://wiki.hypr.land/Configuring/Basics/Autostart/
|
|
--
|
|
-- Everything that used to be exec-once now runs off the start event.
|
|
|
|
hl.on("hyprland.start", function()
|
|
-- Takemi shell — bar, popouts, notifications, OSD, power menu and lock
|
|
-- screen. Config lives in ~/.config/quickshell. It owns
|
|
-- org.freedesktop.Notifications, so dunst must stay masked
|
|
-- (systemctl --user mask dunst.service).
|
|
hl.exec_cmd("uwsm app -- qs")
|
|
|
|
hl.exec_cmd("uwsm app -- nm-applet --indicator")
|
|
-- hyprpaper is not started here: its systemd unit is enabled for
|
|
-- graphical-session.target, and a second copy here ran alongside it.
|
|
|
|
-- clipboard history, text and images
|
|
hl.exec_cmd("wl-paste --type text --watch cliphist store")
|
|
hl.exec_cmd("wl-paste --type image --watch cliphist store")
|
|
|
|
-- pdfs-prompt has no hidden/resident mode, so the first search of the
|
|
-- session is cold. Run one throwaway query once the Proton Drive daemon
|
|
-- is up to pull the binary into the page cache and warm the daemon's index.
|
|
hl.exec_cmd("uwsm app -- pdfs-prompt --preload")
|
|
|
|
-- hl.exec_cmd("uwsm app -- nextcloud --background")
|
|
-- hl.exec_cmd("uwsm app -- rclone mount google_drive: ~/gdrive")
|
|
-- hl.exec_cmd("uwsm app -- protonvpn-app")
|
|
-- hl.exec_cmd("uwsm app -- /usr/bin/discord --enable-features=UseOzonePlatform --ozone-platform=wayland --start-minimized")
|
|
-- hl.exec_cmd("uwsm app -- /usr/lib/xdg-desktop-portal-hyprland")
|
|
-- hl.exec_cmd("sleep 5 && ~/.config/hypr/scripts/replay-ctrl.sh start")
|
|
end)
|