autostart.lua updated

This commit is contained in:
Kolan Sh 2017-07-14 12:56:39 +03:00
parent feed8ef46f
commit 31df76c3ce
1 changed files with 12 additions and 15 deletions

View File

@ -1,16 +1,13 @@
os.execute ("numlockx on &")
os.execute ("xsetroot -cursor_name left_ptr &")
os.execute ("pgrep xscreensaver || xscreensaver -no-splash &")
os.execute ("pgrep pidgin || pidgin &")
os.execute ("pgrep stardict || stardict &")
os.execute ("pgrep urxvt || urxvt &")
os.execute ("pgrep firefox || (firefox || firefox-bin) &")
os.execute ("smbnetfs "..os.getenv("HOME").."/smb &")
os.execute (os.getenv("HOME").."/.config/awesome/set_wall.sh "..os.getenv("HOME").."/.config/awesome/wallpaper.slink &")
os.execute ("pgrep mail_loop.sh || "..os.getenv("HOME").."/.config/awesome/mail_loop.sh &")
os.execute ("pgrep lightsOn.sh || "..os.getenv("HOME").."/.config/awesome/lightsOn.sh &")
os.execute ("pgrep wicd-client || wicd-gtk --tray &")
-- os.execute ("(sleep 8 && xkbcomp $DISPLAY - | egrep -v 'group . = AltGr;' | xkbcomp - $DISPLAY)&")
os.execute ("setxkbmap -layout 'us,ru(winkeys)'")
os.execute ("setxkbmap -layout 'us,ru'")
os.execute ("setxkbmap -option 'grp:shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp'")
os.execute ("xkbcomp $DISPLAY - | egrep -v 'group . = AltGr;' | xkbcomp - $DISPLAY")
os.execute (os.getenv("HOME").."/.config/awesome/set_wall.sh "..os.getenv("HOME").."/.config/awesome/wallpaper.slink &")
os.execute ("pgrep xscreensaver || xscreensaver -no-splash &")
os.execute ("pgrep mail_loop.sh || "..os.getenv("HOME").."/.config/awesome/mail_loop.sh &")
os.execute ("pgrep wicd-client || wicd-gtk --tray &")
os.execute ("numlockx on &")
os.execute ("smbnetfs "..os.getenv("HOME").."/smb &")
--os.execute ("pgrep lightsOn.sh || "..os.getenv("HOME").."/.config/awesome/lightsOn.sh &")
--os.execute ("pgrep urxvt || urxvt &")
--os.execute ("pgrep stardict || stardict &")
--os.execute ("pgrep pidgin || pidgin &")
--os.execute ("pgrep firefox || (firefox || firefox-bin) &")