mirror of
https://github.com/alvinlollo/Single-install-script.git
synced 2026-07-21 10:51:02 +10:00
49 lines
1.9 KiB
Plaintext
49 lines
1.9 KiB
Plaintext
-- put former exec-once commands inside the func and former exec commands outside
|
|
hl.on("hyprland.start", function()
|
|
-- Bar, wallpaper
|
|
hl.exec_cmd("$HOME/.config/hypr/hyprland/scripts/start_geoclue_agent.sh")
|
|
hl.exec_cmd("qs -c $qsConfig")
|
|
hl.exec_cmd("$HOME/.config/hypr/custom/scripts/__restore_video_wallpaper.sh")
|
|
|
|
-- Core components (authentication, lock screen, notification daemon)
|
|
hl.exec_cmd("gnome-keyring-daemon --start --components=secrets")
|
|
hl.exec_cmd("hypridle")
|
|
hl.exec_cmd("dbus-update-activation-environment --all")
|
|
hl.exec_cmd("sleep 1 && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP") -- Some fix idk
|
|
|
|
-- Audio
|
|
hl.exec_cmd("easyeffects --hide-window --service-mode")
|
|
|
|
-- Clipboard: history
|
|
--hl.exec_cmd("wl-paste --watch cliphist store")
|
|
hl.exec_cmd(
|
|
"wl-paste --type text --watch bash -c 'cliphist store && qs -c $qsConfig ipc call cliphistService update'"
|
|
)
|
|
hl.exec_cmd(
|
|
"wl-paste --type image --watch bash -c 'cliphist store && qs -c $qsConfig ipc call cliphistService update'"
|
|
)
|
|
|
|
-- Cursor
|
|
hl.exec_cmd("hyprctl setcursor Bibata-Modern-Classic 24")
|
|
|
|
-- User
|
|
--hl.exec_cmd("voxtype &")
|
|
hl.exec_cmd("kdeconnectd &")
|
|
hl.exec_cmd("zen-browser &")
|
|
hl.exec_cmd("sleep 10 && syncthingtray-qt6 --wait &")
|
|
hl.exec_cmd("sleep 10 && element-desktop --hidden &")
|
|
--hl.exec_cmd("")
|
|
hl.exec_cmd(
|
|
"rclone mount SchoolGdrive: /mnt/SchoolGdrive --dir-cache-time 10s --poll-interval 10s --attr-timeout 10s --size-only"
|
|
)
|
|
hl.exec_cmd(
|
|
"rclone mount PersonalGdrive: /mnt/PersonalGdrive --dir-cache-time 10s --poll-interval 10s --attr-timeout 10s --size-only"
|
|
)
|
|
hl.exec_cmd(
|
|
"rclone mount gcrypt: /mnt/gcrypt --dir-cache-time 10s --poll-interval 10s --attr-timeout 10s --size-only"
|
|
)
|
|
--hl.exec_cmd("steam %U -silent")
|
|
--hl.exec_cmd("sleep 10 && discord --start-minimized --enable-features=UseOzonePlatform --ozon-platform=wayland")
|
|
hl.exec_cmd("trayscale --hide-window")
|
|
end)
|