diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index 3a5dd43..751521e 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -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 diff --git a/zshrc b/zshrc index 97d26fe..f2c5856 100644 --- a/zshrc +++ b/zshrc @@ -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"