aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2020-04-11 13:36:07 -0700
committerkatherine <ageha@airen-no-jikken.icu>2020-04-11 13:36:07 -0700
commit43e94f201986f9eb850bfa4730edb2a56ba0a27f (patch)
tree31d6568fb602e91ead02673f384e457e315e1b1c
parent7cd3d3e0c686cc2e5f18cfc007395a94d9616727 (diff)
downloaddotfiles-43e94f201986f9eb850bfa4730edb2a56ba0a27f.tar.gz
move video-card hack to zprofile
-rw-r--r--.xinitrc5
-rw-r--r--.zprofile4
2 files changed, 4 insertions, 5 deletions
diff --git a/.xinitrc b/.xinitrc
index 9888930..cdff578 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -47,11 +47,6 @@ xset s off
#daemons
picom -b --backend glx --vsync -CG
-#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 lemonbar)
-
xsetroot -cursor_name left_ptr
nitrogen --restore
xbanish &
diff --git a/.zprofile b/.zprofile
index 74605da..0cfb302 100644
--- a/.zprofile
+++ b/.zprofile
@@ -1,8 +1,12 @@
[[ -f /etc/profile ]] && \
emulate sh -c 'source /etc/profile'
+##################### MISC ####################
export QT_STYLE_OVERRIDE=gtk
+# bad hack to make video card fans shut up
+[[ ! -z $(whence optirun) ]] && optirun --no-xorg true
+
################## SET EDITOR #################
if [[ ! -z $(whence nvim) ]] then
export EDITOR=nvim