implement XDG Autostart specification

This commit is contained in:
Guilherme Rugai Freire 2022-04-24 17:13:44 -03:00
parent 68998f7f4e
commit 0a4f06572f
No known key found for this signature in database
GPG Key ID: FC05BE5CD322C427
3 changed files with 22 additions and 6 deletions

View File

@ -0,0 +1,8 @@
[Desktop Entry]
Name=Greenclip
GenericName=Clipboard manager
Exec="/usr/bin/greenclip" daemon
Terminal=false
Categories=Utility
Type=Application
StartupNotify=false

View File

@ -0,0 +1,11 @@
[Desktop Entry]
Name=Nextcloud
GenericName=File Synchronizer
Exec="/usr/bin/nextcloud" --background
Terminal=false
Icon=Nextcloud
Categories=Network
Type=Application
StartupNotify=false
X-GNOME-Autostart-enabled=true
X-GNOME-Autostart-Delay=10

View File

@ -12,9 +12,6 @@
# Start notification server
dunst &
# Start clipboard manager
greenclip daemon &
# Display background image
feh --bg-scale ~/.config/wall.png
@ -27,9 +24,6 @@ nm-applet &
# Start volume bar
~/.config/xob/volume.sh &
# Start nextcloud
nextcloud --background &
# Set up wacom tablet
autoxsetwacom
@ -48,3 +42,6 @@ xidlehook \
'systemctl suspend' \
'' &
# Run all applications in the autostart folder
dex ~/.config/autostart/*