2017-02-12 11:41:03 +01:00
|
|
|
#!/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
|
2017-02-12 11:41:03 +01:00
|
|
|
|
2020-01-05 15:06:23 +01:00
|
|
|
mkdir -p $HOME/.cache
|
|
|
|
mkdir -p $HOME/.cache/zsh
|
|
|
|
mkdir -p $HOME/.cache/mpd
|
|
|
|
mkdir -p $HOME/.ssh
|
2021-06-19 12:25:38 +02:00
|
|
|
# mkdir -p $HOME/.local/bin
|
2017-02-12 11:41:03 +01:00
|
|
|
|
2020-01-05 15:06:23 +01:00
|
|
|
echo "Doing stuff cuz"
|
2018-06-24 18:27:20 +02:00
|
|
|
vim +PlugUpgrade +PlugUpdate +PlugInstall +qall
|
2017-02-12 11:41:03 +01:00
|
|
|
|
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
|
2017-02-12 11:41:03 +01:00
|
|
|
|
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
|
|
|
|
2017-02-12 11:41:03 +01: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
|