aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2014-09-07 23:59:26 -0700
committershmibs <shmibs@gmail.com>2014-09-07 23:59:26 -0700
commit85904ee8ab3bf1ae2be36a66e38b7b77709af4ae (patch)
treec044f3796529b2925f71622436a14b4a5c23436a
parent43284dbeae82e7e6653ff1cf050551ef53cdcf29 (diff)
downloaddotfiles-85904ee8ab3bf1ae2be36a66e38b7b77709af4ae.tar.gz
account for bumblebee
yay power saving! also added a launger for gwaei because i use it always forever always
-rwxr-xr-x.config/herbstluftwm/autostart1
-rw-r--r--.xinitrc13
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 &