Skip to content

Commit

Permalink
add exec of ~/.config/autostart/*.desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
pad92 committed Jul 12, 2023
1 parent 6b63a8c commit 953e844
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .config/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ exec --no-startup-id pa-applet
exec --no-startup-id blueberry-tray
exec --no-startup-id /usr/libexec/gsd-xsettings
exec --no-startup-id xcompmgr &
exec --no-startup-id ~/.dotfiles/bin/autostart.sh

## Base16 Material
# Author: Nate Peterson
Expand Down
5 changes: 5 additions & 0 deletions bin/autostart.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

grep -rh ^Exec ~/.config/autostart/*.desktop | while read -r line ; do
${line:5} &
done

0 comments on commit 953e844

Please sign in to comment.