From 3e357991df729af71cc8c3bc237416e4a2997276 Mon Sep 17 00:00:00 2001 From: Guilhem Baccialone Date: Thu, 18 Jun 2026 19:05:17 +0200 Subject: [PATCH] mango: Move startup app into a script --- mango/autostart.sh | 28 ++++++++++++++++++++++++++++ mango/config.conf | 9 +-------- 2 files changed, 29 insertions(+), 8 deletions(-) create mode 100755 mango/autostart.sh diff --git a/mango/autostart.sh b/mango/autostart.sh new file mode 100755 index 0000000..bafc1e9 --- /dev/null +++ b/mango/autostart.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +set +e + +# pipewire +gentoo-pipewire-launcher restart >/dev/null 2>&1 & + +# ssh agent +ssh-agent -a /run/user/1000/ssh-agent.socket >/dev/null 2>&1 & + +# kdeconnectd +kdeconnectd >/dev/null 2>&1 & + +# password +/usr/lib/polkit-kde-authentication-agent-1 >/dev/null 2>&1 & + +# portal +/usr/lib/xdg-desktop-portal-wlr >/dev/null 2>&1 & + +# clipboard content manager +wl-paste --type text --watch cliphist store >/dev/null 2>&1 & + +discord --start-minimized >/dev/null 2>&1 & +# Noctalia +# qs -c noctalia-shell & + +# dankshell +dms run & diff --git a/mango/config.conf b/mango/config.conf index a61c28a..97aec28 100644 --- a/mango/config.conf +++ b/mango/config.conf @@ -289,14 +289,7 @@ source=./dms/cursor.conf # autostart your favorite applications here -exec-once = sleep 1 && gentoo-pipewire-launcher & -exec-once = kdeconnectd -# exec-once = qs -c noctalia-shell -exec-once = dms run -exec-once = bash -c wl-paste --watch cliphist store & # optional: clipboard history | cliphist is needed -exec-once = ssh-agent -a /run/user/1000/ssh-agent.socket & -exec-once = /usr/lib/xdg-desktop-portal-wlr & -exec-once = discord --start-minimized & +exec-once=~/.config/mango/autostart.sh source=./dms/cursor.conf