You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #!/bin/sh
  2. # Programs run in background when starting x.
  3. # These programs are basically for Openbox Window Manager.
  4. # Japanese IM settings are not included in this list.
  5. _feh(){
  6. test -f "$HOME/.fehbg" &&
  7. type feh >/dev/null 2>&1 &&
  8. sh "$HOME/.fehbg"
  9. }
  10. _tint2(){
  11. #tint2 -c ~/.dotfiles/tint2rc &
  12. tint2 &
  13. }
  14. _dropbox(){
  15. dropboxd & # done by ~/.config/autostart/dropbox.desktop
  16. }
  17. _volumeicon(){
  18. volumeicon &
  19. }
  20. _conky(){
  21. conky -c ~/.dotfiles/conkyrc >~/.backup/log/conky.log 2>&1 &
  22. conky -c ~/.dotfiles/conkyrc.2 >~/.backup/log/conky.2.log 2>&1 &
  23. }
  24. _wicd(){
  25. # done by /etc/xdg/autostart/wicd-client.desktop
  26. wicd-client --tray &
  27. }
  28. _udisksvm(){
  29. # Detection of insertion of an optical disk
  30. if ! pgrep -lf "udisks-daemon: polling /dev/sr0"; then
  31. udisks --poll-for-media /dev/sr0
  32. fi
  33. udisksvm >/dev/null &
  34. }
  35. _xcompmgr(){
  36. xcompmgr -c &
  37. }
  38. _saku(){
  39. (cd ~/src/saku-3.11.1/ && python2 saku.py) &
  40. }
  41. _gkeyring(){
  42. LANG=C gnome-keyring-daemon --start -c pkcs11 &
  43. }
  44. _nmapplet(){
  45. nm-applet &
  46. }
  47. for p in $@
  48. do
  49. _$p
  50. done