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.

xprograms 1.3 KiB

12 jaren geleden
12 jaren geleden
12 jaren geleden
10 jaren geleden
10 jaren geleden
12 jaren geleden
12 jaren geleden
10 jaren geleden
12 jaren geleden
12 jaren geleden
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. (sleep 1s && tint2) &
  12. }
  13. _neap_hotkey(){
  14. (sleep 1s && neap-hotkey) &
  15. }
  16. _synapse(){
  17. (sleep 1s && synapse --startup) &
  18. }
  19. _dropbox(){
  20. dropboxd & # done by ~/.config/autostart/dropbox.desktop
  21. }
  22. _volumeicon(){
  23. (sleep 1s && volumeicon) &
  24. }
  25. _gsoundap(){
  26. gnome-sound-applet &
  27. }
  28. _conky(){
  29. (sleep 1s && conky -c ~/conkyrc >~/.var/log/conky.log 2>&1) &
  30. #conky -c ~/.dotfiles/conkyrc.2 >~/.var/log/conky.2.log 2>&1 &
  31. }
  32. _wicd(){
  33. # done by /etc/xdg/autostart/wicd-client.desktop
  34. wicd-client --tray &
  35. }
  36. _udisksvm(){
  37. # detect insertion of an optical disk
  38. if ! pgrep -lf "udisks-daemon: polling /dev/sr0"; then
  39. udisks --poll-for-media /dev/sr0
  40. fi
  41. udisksvm >/dev/null &
  42. }
  43. _xcompmgr(){
  44. xcompmgr -c &
  45. }
  46. _compton(){
  47. compton -b
  48. }
  49. _saku(){
  50. (cd ~/src/saku-3.11.1/ && python2 saku.py) &
  51. }
  52. _gkeyring(){
  53. /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
  54. eval $(gnome-keyring-daemon -s) &
  55. }
  56. _nmapplet(){
  57. (sleep 1s && nm-applet) &
  58. }
  59. for p in $@
  60. do
  61. _$p
  62. done