.awesome/autostart.lua

18 lines
1.1 KiB
Lua
Raw Normal View History

2017-07-14 12:56:39 +03:00
os.execute ("setxkbmap -layout 'us,ru'")
os.execute ("setxkbmap -option 'grp:shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp'")
2021-04-16 15:45:46 +03:00
os.execute ("xrandr --setprovideroutputsource modesetting NVIDIA-0 && xrandr --auto")
--os.execute ("/usr/bin/nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1")
--os.execute ("nvidia-smi -pm ENABLED")
2017-07-25 17:19:37 +03:00
--os.execute (os.getenv("HOME").."/.config/awesome/set_wall.sh "..os.getenv("HOME").."/.config/awesome/wallpaper.slink &")
2017-07-14 12:56:39 +03:00
os.execute ("pgrep xscreensaver || xscreensaver -no-splash &")
os.execute ("pgrep mail_loop.sh || "..os.getenv("HOME").."/.config/awesome/mail_loop.sh &")
2021-04-16 15:45:46 +03:00
os.execute ("pgrep nm-applet || nm-applet &")
2017-07-14 12:56:39 +03:00
os.execute ("numlockx on &")
2021-04-16 15:45:46 +03:00
--os.execute ("smbnetfs "..os.getenv("HOME").."/smb &")
2017-07-14 12:56:39 +03:00
--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) &")
2021-04-16 15:45:46 +03:00
os.execute ("xrandr --output HDMI-0 --left-of eDP-1-1 --mode 1920x1080 &")