From 43e94f201986f9eb850bfa4730edb2a56ba0a27f Mon Sep 17 00:00:00 2001 From: katherine Date: Sat, 11 Apr 2020 13:36:07 -0700 Subject: move video-card hack to zprofile --- .xinitrc | 5 ----- .zprofile | 4 ++++ 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 -- cgit v1.2.3