fixing LDPreload/Chromium for zsh and herbstluftwm

This commit is contained in:
Sheppy
2017-01-20 03:20:05 +01:00
parent 8a4b35f0a2
commit ce73e9f14f
2 changed files with 4 additions and 1 deletions

View File

@@ -48,7 +48,7 @@ hc keybind $Mod-q close
#spawn shit
hc keybind $Mod-Return spawn urxvt
hc keybind $Mod-Shift-Return spawn xterm /bin/bash
hc keybind $Mod-i spawn iceweasel
hc keybind $Mod-i spawn urxvt -e nohup zsh -c "chromium &" #need to reliably use the zshconf chromium
if [[ $HOST =~ atlantis* ]]; then
hc keybind $Mod-l spawn i3lock -i ~/.config/i3lock/bg.png -t
else

3
zshrc
View File

@@ -65,6 +65,9 @@ alias mv='mv -i'
alias cp='cp -i'
alias ..='cd ..'
## Anti-LD-Preload Chromium Wrapper ##
alias chromium="export TMP_PRELD=$LD_PRELOAD && /bin/bash -c 'unset LD_PRELOAD && chromium' && export LD_PRELOAD=$TMP_PRELD"
## LOCKS ##
if [[ $HOST =~ atlantis* ]]; then
alias i3lock="i3lock --image=/home/ik15ydit/.config/i3lock/bg.png"