Optional nVidia Power Management tricks.
This commit is contained in:
parent
1fac5825e4
commit
402b4c4000
|
@ -1,6 +1,8 @@
|
|||
os.execute ("setxkbmap -layout 'us,ru'")
|
||||
os.execute ("setxkbmap -option 'grp:shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp'")
|
||||
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")
|
||||
--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 &")
|
||||
|
|
Loading…
Reference in New Issue