Update
This commit is contained in:
18
.i3initrc
18
.i3initrc
@@ -5,18 +5,18 @@
|
||||
i3config="/tmp/i3_${USER}_config"
|
||||
rm -f $i3config
|
||||
|
||||
if [ -f ~/.i3/base.config ]; then
|
||||
cat ~/.i3/base.config >> $i3config
|
||||
if [ -f "$HOME/.i3/base.config" ]; then
|
||||
cat "$HOME/.i3/base.config" >> $i3config
|
||||
fi
|
||||
|
||||
if [ "`hostname`" = "kubaArch-Laptop" ] && [ -f ~/.i3/home.config ]; then
|
||||
cat ~/.i3/home.config >> $i3config
|
||||
elif [ "`hostname`" = "kubaDesktop" ] && [ -f ~/.i3/home.config ]; then
|
||||
cat ~/.i3/home.config >> $i3config
|
||||
elif [ "`hostname`" = "JakubArch" ] && [ -f ~/.i3/work.config ]; then
|
||||
cat ~/.i3/work.config >> $i3config
|
||||
if [ "`hostname`" = "kubaArch-Laptop" ] && [ -f "$HOME/.i3/home.config" ]; then
|
||||
cat "$HOME/.i3/home.config" >> $i3config
|
||||
elif [ "`hostname`" = "kubaDesktop" ] && [ -f "$HOME/.i3/home.config" ]; then
|
||||
cat "$HOME/.i3/home.config" >> $i3config
|
||||
elif [ "`hostname`" = "JakubArch" ] && [ -f "$HOME/.i3/work.config" ]; then
|
||||
cat "$HOME/.i3/work.config" >> $i3config
|
||||
fi
|
||||
|
||||
#exec i3 -c $i3config -V >> ~/${WM}.log 2>&1
|
||||
sh ~/.i3/scripts/displays.sh auto
|
||||
sh "$HOME/.i3/scripts/displays.sh" auto
|
||||
exec i3 -c $i3config
|
||||
|
||||
Reference in New Issue
Block a user