25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

65 lines
1.1 KiB

  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. /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
  43. eval $(gnome-keyring-daemon -s) &
  44. }
  45. _nmapplet(){
  46. nm-applet &
  47. }
  48. for p in $@
  49. do
  50. _$p
  51. done