dotfiles/config/scripts/install-prefs

47 lines
1.1 KiB
Plaintext
Raw Normal View History

#!/usr/bin/env bash
# Installs user preferences the way I like it
2019-10-24 19:35:00 +02:00
# NOTE In the process of migrating to a new install workflow.
# This holds stuff that have not been migrated yet.
# TODO A lot of stuff
mkdir -p $HOME/.cache
mkdir -p $HOME/.cache/zsh
mkdir -p $HOME/.cache/mpd
mkdir -p $HOME/.ssh
2020-01-21 22:25:38 +01:00
mkdir -p $HOME/.local/bin
. $HOME/.config/scripts/softwareList
echo "Doing stuff cuz"
2020-01-21 22:25:38 +01:00
if command -v Xorg > /dev/null
then
$HOME/.config/Xresources/configure
pip install --user --requirement $HOME/.config/lemonbar/requirements.txt
fi
2018-10-06 10:27:36 +02:00
changeColors monokai
vim +PlugUpgrade +PlugUpdate +PlugInstall +qall
2020-04-10 14:19:42 +02:00
systemctl enable pulseaudio --user --now
systemctl enable mpd --user --now
2020-01-21 21:39:21 +01:00
echo '# Alt keys on keypad
# In /usr/share/X11/xkb/symbols/us_qwerty-fr add:
# include "keypad(oss)"
'
2019-10-24 19:35:00 +02:00
### RECYCLE BIN
# Help yourself
2019-10-24 19:35:00 +02:00
# # translate-shell
# curl -L git.io/trans > ~/.local/bin/trans
# chmod +x ~/.local/bin/trans
2018-10-06 10:27:36 +02:00
2019-10-24 19:35:00 +02:00
# # sct
# TMP=$(mktemp /tmp/XXXXXXXXXX.c)
# wget https://gist.githubusercontent.com/ajnirp/208c03d3aa7f02c743d2/raw/55bf3eed25739173d8be57b5179ed5542cf40ed6/sct.c -O $TMP
# cc $TMP --std=c99 -lX11 -lXrandr -o $HOME/.local/bin/sct
# rm $TMP