Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

67 rindas
1.1 KiB

  1. #!/bin/sh
  2. # Programs run in background when starting x.
  3. # Japanese IM settings are not included in this script.
  4. _feh(){
  5. test -f "$HOME/.fehbg" &&
  6. type feh >/dev/null 2>&1 &&
  7. sh "$HOME/.fehbg"
  8. }
  9. _tint2(){
  10. #tint2 -c ~/.dotfiles/tint2rc &
  11. tint2 &
  12. }
  13. _dropbox(){
  14. dropboxd & # done by ~/.config/autostart/dropbox.desktop
  15. }
  16. _volumeicon(){
  17. volumeicon &
  18. }
  19. _gsoundap(){
  20. gnome-sound-applet &
  21. }
  22. _conky(){
  23. conky -c ~/.dotfiles/conkyrc >~/.var/log/conky.log 2>&1 &
  24. conky -c ~/.dotfiles/conkyrc.2 >~/.var/log/conky.2.log 2>&1 &
  25. }
  26. _wicd(){
  27. # done by /etc/xdg/autostart/wicd-client.desktop
  28. wicd-client --tray &
  29. }
  30. _udisksvm(){
  31. # detect insertion of an optical disk
  32. if ! pgrep -lf "udisks-daemon: polling /dev/sr0"; then
  33. udisks --poll-for-media /dev/sr0
  34. fi
  35. udisksvm >/dev/null &
  36. }
  37. _xcompmgr(){
  38. xcompmgr -c &
  39. }
  40. _saku(){
  41. (cd ~/src/saku-3.11.1/ && python2 saku.py) &
  42. }
  43. _gkeyring(){
  44. /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
  45. eval $(gnome-keyring-daemon -s) &
  46. }
  47. _nmapplet(){
  48. nm-applet &
  49. }
  50. for p in $@
  51. do
  52. _$p
  53. done