2018-02-09 14:18:35 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2018-04-22 18:44:43 +02:00
|
|
|
ENV_FILE="/home/jfm/.i3/env"
|
2018-02-09 14:18:35 +01:00
|
|
|
|
2018-03-15 19:58:27 +01:00
|
|
|
/bin/cat <<EOM >$ENV_FILE
|
2018-10-11 20:36:31 +02:00
|
|
|
export LAPTOP="DP1-2"
|
|
|
|
export PRIMARY="DP1-3"
|
|
|
|
export SECONDARY="DP1-2"
|
2018-02-09 14:18:35 +01:00
|
|
|
|
2018-03-15 19:58:27 +01:00
|
|
|
export LDPI_PROFILE="default"
|
|
|
|
export HDPI_PROFILE="laptop"
|
|
|
|
EOM
|
2018-02-09 14:18:35 +01:00
|
|
|
|
2018-10-11 20:36:31 +02:00
|
|
|
. $ENV_FILE
|
2018-10-12 13:38:29 +02:00
|
|
|
killall polybar &
|
2018-10-11 20:36:31 +02:00
|
|
|
polybar primary &
|
|
|
|
polybar secondary &
|