mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-26 14:13:53 +01:00
.. | ||
files/.config/polybar | ||
tasks | ||
templates | ||
README.md |
Dualscreen configuration
Add a dir named as hostname to include specific host configuration for multiple screen launch
mkdir templates/$(hostname)
echo <<\EOF > templates/$(hostname)/launch.j2
MONITOR=HDMI1 polybar top &
MONITOR=HDMI2 polybar top &
MONITOR=HDMI2 polybar bottom &
EOF
It will uncomment monitor values in config.j2 too
Modules configuration
mkdir templates/$(hostname)
# Top modules configuration
echo <<\EOF > templates/$(hostname)/modules-top.j2
modules-left = i3 xwindow
modules-center =
modules-right = backlight volume pkg wlan vpncheck battery date
EOF
# Bottom modules configuration
echo <<\EOF > templates/$(hostname)/modules-bottom.j2
modules-left =
modules-center = networkspeedup networkspeeddown
modules-right = temperature filesystem-slash filesystem-home cpu memory
EOF