dotfiles/i3/.i3/scripts/work-layout.sh

18 lines
269 B
Bash
Executable File

#!/bin/sh
ENV_FILE="/home/jfm/.i3/env"
/bin/cat <<EOM >$ENV_FILE
export LAPTOP="eDP-1"
export PRIMARY="DP1-2"
export SECONDARY="DP1-3"
export LDPI_PROFILE="default"
export HDPI_PROFILE="laptop"
EOM
. $ENV_FILE
polybar primary &
polybar secondary &
polybar laptop &