mirror of
https://github.com/FAUSheppy/config
synced 2025-12-07 15:31:35 +01:00
fixing LDPreload/Chromium for zsh and herbstluftwm
This commit is contained in:
@@ -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
3
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"
|
||||
|
||||
Reference in New Issue
Block a user