Created
October 13, 2016 07:47
-
-
Save romgrk/fd8b0615affc517d242171683b6245e3 to your computer and use it in GitHub Desktop.
Add an command to run when your desktop session starts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env zsh | |
| # Usage: autostart [title] [command] | |
| # | |
| echo "[Desktop Entry] | |
| Name=$1 | |
| Terminal=false | |
| Type=Application | |
| Exec=$2" >> ~/.config/autostart/$1.desktop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment