37 lines
975 B
Bash
37 lines
975 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
mkdir ~/docs/
|
||
|
mkdir ~/dl/
|
||
|
mkdir ~/media/
|
||
|
mkdir -p ~/.local/share/gnupg/
|
||
|
mkdir -p ~/.config/mpd/playlists
|
||
|
mkdir -p ~/.local/share/desktop
|
||
|
|
||
|
#setup .zprofile and zsh history file
|
||
|
cd ~ || return
|
||
|
ln -s ~/.profile ~/.zprofile
|
||
|
mkdir -p ~/.cache/zsh
|
||
|
touch ~/.cache/zsh/history
|
||
|
|
||
|
|
||
|
#set limits for esync
|
||
|
#sudo sh -c "echo '$USER hard nofile 524288' >> /etc/security/limits.conf"
|
||
|
#set limits for monero
|
||
|
#sudo sh -c "echo '$USER hard memlock 2048' >> /etc/security/limits.conf"
|
||
|
#sudo sh -c "echo '$USER hard memlock 2048' >> /etc/security/limits.conf"
|
||
|
|
||
|
#fix issue with arduino ide and tiling wms
|
||
|
#sudo sh -c 'echo "export _JAVA_AWT_WM_NONREPARENTING=1" >> /etc/profile.d/jre.sh'
|
||
|
|
||
|
#download collapse OS
|
||
|
mkdir -p "$HOME"/.local/src/
|
||
|
cd "$HOME"/.local/src/
|
||
|
wget http://collapseos.org/files/collapseos-latest.tar.gz
|
||
|
cd -
|
||
|
|
||
|
#set wallpaper
|
||
|
ln -s ~/media/img/wallpapers/alena-aenami-eclipse-1k.jpg ~/.config/wall
|
||
|
|
||
|
#link Xresources for xwayland
|
||
|
ln -s ~/.config/Xresources ~/.Xdefaults
|