new pc install (took me 8 years!)

This commit is contained in:
Rick van Lieshout 2018-08-15 18:42:09 +02:00
parent 889139a906
commit b6b6bd501e
5 changed files with 31 additions and 3 deletions

View File

@ -1,3 +1,5 @@
#/bin/bash
# no changes yet.
MYPATH="$PWD/computers/dev-pc"
ln -sf "$MYPATH/xprofile.sh" ~/.xprofile

View File

@ -0,0 +1,2 @@
#!/bin/sh
xrandr --output DP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DVI-I-1 --off --output DVI-D-1 --off --output HDMI-1 --primary --mode 1920x1080 --pos 1920x0 --rotate normal

View File

@ -10,7 +10,7 @@ ln -sf "$MYPATH/Xresources.docked" ~/.Xresources.docked
ln -sf "$MYPATH/Xresources.undocked" ~/.Xresources.undocked
ln -sf "$MYPATH/docked.sh" ~/.docked.sh
ln -sf "$MYPATH/undocked.sh" ~/.undocked.sh
ln -sf "$MYPATH/xprofile" ~/.xprofile
ln -sf "$MYPATH/xprofile.sh" ~/.xprofile
# custom (laptop specific) bashrc thingies :)
ln -sf "$MYPATH/custom-bashrc.sh" ~/.custom

View File

@ -1,3 +1,6 @@
xorg-server
xorg-xinit
mesa
i3-gaps
rsync
i3lock
@ -40,4 +43,21 @@ alsa-utils
ntp
xclip
openssh
nodejs
nodejs
npm
a52dec
faac
faad2
flac
jasper
lame
libdca
libdv
libmad
libmpeg2
libtheora
libvorbis
libxv
wavpack
x264
xvidcore

View File

@ -92,6 +92,7 @@ function install_config {
ln -sf "$PWD"/config/nano/.nanorc ~/.nanorc
ln -sf "$PWD"/bash/.powerline-shell.json ~/.powerline-shell.json
ln -sf "$PWD"/wallpapers/space.jpg ~/Pictures/Wallpapers/wallpaper.jpg
mkdir -p ~/.config/rofi
ln -sf "$PWD"/config/rofi ~/.config/rofi/config
ln -sf "$PWD"/config/.gitconfig ~/.gitconfig
@ -102,6 +103,9 @@ function install_config {
# create empty .custom alias file
echo "" > ~/.custom
# system fixes
echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system
}
# Installs the dependencies on Arch Linux