From 85904ee8ab3bf1ae2be36a66e38b7b77709af4ae Mon Sep 17 00:00:00 2001 From: shmibs Date: Sun, 7 Sep 2014 23:59:26 -0700 Subject: account for bumblebee yay power saving! also added a launger for gwaei because i use it always forever always --- .config/herbstluftwm/autostart | 1 + .xinitrc | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index 677c2b3..adef952 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -123,6 +123,7 @@ hc keybind Mod4-c spawn ~/.config/herbstluftwm/colourgrab.sh hc keybind Mod4-Return spawn urxvt hc keybind Mod4-Shift-d spawn ~/games/desura/desura hc keybind Mod4-Shift-f spawn firefox +hc keybind Mod4-Shift-g spawn gwaei hc keybind Mod4-Shift-i spawn gimp hc keybind Mod4-Shift-m spawn mathematica hc keybind Mod4-Shift-o spawn ~/stuffs/tor/start-tor-browser diff --git a/.xinitrc b/.xinitrc index be2964b..c120e73 100644 --- a/.xinitrc +++ b/.xinitrc @@ -26,7 +26,11 @@ export XDG_CACHE_HOME=/home/shmibs/.cache xset +fp /usr/share/fonts/local xset fp rehash -#disable power saving +#infinality settings +export INFINALITY_FT_BRIGHTNESS="-10" +export INFINALITY_FT_FILTER_PARAMS="16 20 28 20 16" + +#disable power saving, so screen doesn't power off xset -dpms xset s off @@ -36,8 +40,13 @@ urxvtd & #QT style mimic gtk #export QT_STYLE_OVERRIDE=gtk +#this is an ugly hack which runs a dummy program +#through bumblebee to get the fans on discrete +#nvidia graphics cards to shut up +command -v optirun && $(echo "" | optirun bar) + xsetroot -cursor_name left_ptr -compton -b --backend glx --vsync opengl & +compton -b --backend glx --vsync drm & #ibus-daemon -x & nitrogen --restore & -- cgit v1.2.3