From: Maximilian Friedersdorff Date: Tue, 9 Feb 2021 21:01:38 +0000 (+0000) Subject: Make some i3 config changes for rhenium X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=cb9f695496e9a7426ce28cd4b82d0b01bc981e8c;p=max%2Fsaltfiles.git Make some i3 config changes for rhenium --- diff --git a/bootstrap.sh b/bootstrap.sh index 721f8b3..1f1b001 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -8,9 +8,7 @@ install_salt() { sudo sh "${bootstrap}" -P } -if ! which $SALT_CMD > /dev/null; then - install_salt -fi +which $SALT_CMD > /dev/null || install_salt if [[ ! $1 ]]; then sudo $SALT_CMD \ diff --git a/states/i3/files/config.jinja b/states/i3/files/config.jinja index 82ca6d4..1cda1ce 100644 --- a/states/i3/files/config.jinja +++ b/states/i3/files/config.jinja @@ -273,6 +273,7 @@ for_window [class="zoom"] move workspace $chat exec "termite --name 'music' -e 'tmux'" exec "zoom" + {% elif host == 'dubnium' %} bar { id bar_left @@ -309,6 +310,24 @@ bar { workspace 1 output DVI-D-1 workspace 2 output DP-1 + +{% elif host == 'rhenium' %} +bar { + id bar_right + status_command ~/.local/bin/conky-i3bar + position top + output "eDP-1" + font pango:Liberation Mono 12 + colors { + background $black_super + focused_background $black + focused_workspace $black_super $yellow_super $black + active_workspace $black_super $blue_super $black + inactive_workspace $black_super $black_super $white_super + urgent_workspace $black $red_super $white + separator $white + } +} {% endif %} exec mako diff --git a/states/termite/files/config b/states/termite/files/config index c81a2ff..dc8e339 100644 --- a/states/termite/files/config +++ b/states/termite/files/config @@ -1,5 +1,5 @@ {% if grains['host'] in ['rhenium', ] %} - {% set font_size = 10 %} + {% set font_size = 16 %} {% elif grains['host'] in ['dubnium', ] %} {% set font_size = 13 %} {% else %}