Browse Source

move video-card hack to zprofile

master
katherine 3 months ago
parent
commit
43e94f2019
2 changed files with 4 additions and 5 deletions
  1. +0
    -5
      .xinitrc
  2. +4
    -0
      .zprofile

+ 0
- 5
.xinitrc View File

@@ -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 &


+ 4
- 0
.zprofile View File

@@ -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


Loading…
Cancel
Save