Clean up bin and add better i3 output control
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Wrapper script around powerline to force a PYTHONPATH without setting it globally
|
||||
|
||||
source "$HOME/.bash_functions"
|
||||
POWERLINE_BASH_SOURCES=( $(powerline_bash_sources) )
|
||||
found=0
|
||||
# Find site_packages with powerline installed
|
||||
for file in "${POWERLINE_BASH_SOURCES[@]}"; do
|
||||
if [ -a "$file" ]; then
|
||||
# Get the corresponding site-packages root
|
||||
site_packages="$file"
|
||||
for i in {1..4}; do
|
||||
site_packages=$(dirname "$site_packages")
|
||||
done
|
||||
found=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [ $found == 1 ]; then
|
||||
PYTHONPATH="$site_packages" powerline "$@"
|
||||
else
|
||||
echo "Powerline site_packages not found"
|
||||
exit 1
|
||||
fi
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
export KDEWM=/usr/bin/sway
|
||||
/usr/bin/startplasma-wayland
|
||||
Reference in New Issue
Block a user