Squashed 'i3/' changes from 3b59540..1903b20
1903b20 Add remote setup, add laptop/desktop config 974a497 Config copy, i3 install git-subtree-dir: i3 git-subtree-split: 1903b2030d6be0da85a5759dea4876b4e4274a3d
This commit is contained in:
@@ -5,9 +5,20 @@
|
|||||||
#
|
#
|
||||||
# Distributed under terms of the MIT license.
|
# Distributed under terms of the MIT license.
|
||||||
#
|
#
|
||||||
|
mkdir -p $HOME/.config/i3
|
||||||
|
mkdir -p $HOME/.config/polybar
|
||||||
|
|
||||||
ln -s $PWD/i3config ~/.config/i3/config
|
ln -s $PWD/i3config ~/.config/i3/config
|
||||||
ln -s $PWD/polybarconfig ~/.config/polybar/config
|
ln -s $PWD/polybarconfig ~/.config/polybar/config
|
||||||
ln -s $PWD/.xinitrc ~/.xinitrc
|
ln -s $PWD/.xinitrc ~/.xinitrc
|
||||||
|
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 -s $PWD/auto_monitor.sh /usr/local/bin/auto_monitor.sh
|
sudo ln -s $PWD/auto_monitor.sh /usr/local/bin/auto_monitor.sh
|
||||||
sudo ln -s $PWD/switch_monitors.sh /usr/local/bin/switch_monitors.sh
|
sudo ln -s $PWD/switch_monitors.sh /usr/local/bin/switch_monitors.sh
|
||||||
sudo ln -s $PWD/98-monitor-hotplug.rules /etc/udev/rules.d/98-monitor-hotplug.rules
|
sudo ln -s $PWD/98-monitor-hotplug.rules /etc/udev/rules.d/98-monitor-hotplug.rules
|
||||||
|
|||||||
Reference in New Issue
Block a user