Files
dotfiles/link_config.sh
Fabian Ising d1e8697ba6 Squashed 'i3/' changes from 1903b20..68180b2
68180b2 Add workspace handling to auto_monitor.sh
f48098c Merge branch 'master' of vcs.murgi.de:dotfiles_fabian/i3config
4c9bf8f VGA config
bda0687 Add Xresources

git-subtree-dir: i3
git-subtree-split: 68180b2a45b48b3da2b09629a90113963ccb4cca
2018-05-04 13:46:14 +02:00

26 lines
748 B
Bash
Executable File

#! /bin/sh
#
# link_config.sh
# Copyright (C) 2016 fabian <fabian@tmurgi.de>
#
# Distributed under terms of the MIT license.
#
mkdir -p $HOME/.config/i3
mkdir -p $HOME/.config/polybar
ln -Ts $PWD/i3config ~/.config/i3/config
ln -Ts $PWD/polybarconfig ~/.config/polybar/config
ln -Ts $PWD/.xinitrc ~/.xinitrc
ln -Ts $PWD/.Xresources ~/.Xresources
while true; do
read -p "Is this your laptop? [y/n]" yn
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac
done
sudo ln -Ts $PWD/auto_monitor.sh /usr/local/bin/auto_monitor.sh
sudo ln -Ts $PWD/switch_monitors.sh /usr/local/bin/switch_monitors.sh
sudo ln -Ts $PWD/98-monitor-hotplug.rules /etc/udev/rules.d/98-monitor-hotplug.rules