From: Maximilian Friedersdorff Date: Thu, 12 Sep 2019 06:57:46 +0000 (+0100) Subject: Handling of rheninum (laptop arch) X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;ds=sidebyside;h=586371d4a361ad23c0b62352c24acc50f67f4f6a;p=max%2Fsaltfiles.git Handling of rheninum (laptop arch) --- diff --git a/states/conky/files/conkyrc b/states/conky/files/conkyrc index b5791c1..e1c52a6 100644 --- a/states/conky/files/conkyrc +++ b/states/conky/files/conkyrc @@ -6,6 +6,8 @@ {% set ifdev = 'wlp2s0' %} {% elif grains['host'] == 'barium' %} {% set ifdev = 'enp3s0f1' %} +{% elif grains['host'] == 'rhenium' %} + {% set ifdev = 'wlp2s0' %} {% else %} {% set ifdev = 'eth0' %} {% endif %} diff --git a/states/sway/files/rhenium b/states/sway/files/rhenium new file mode 100644 index 0000000..c8291cf --- /dev/null +++ b/states/sway/files/rhenium @@ -0,0 +1,39 @@ +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +bar { + id bar_left + status_command conky-i3bar + position top + 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 + } +} + +font pango:Liberation Mono 10 + +output eDP-1 { + scale 2 + position 0 0 + background ~/Pictures/background_1800.png center +} + +output HDMI-A-2 { + scale 1 + position 3200 0 + background ~/Pictures/background_1440.png fill +} + +input * { + xkb_layout gb + xkb_variant colemak + xkb_options ctrl:nocaps +} + +# Disable tap-to-click on touchpad to prevent jerkyness +input type:touch tap disable diff --git a/states/termite/files/config b/states/termite/files/config index a489416..97ccbae 100644 --- a/states/termite/files/config +++ b/states/termite/files/config @@ -6,7 +6,7 @@ {% set font_size = 11 %} {% endif %} -{% if grains['host'] == 'barium' %} +{% if grains['host'] == 'barium' or grains['host'] == 'rhenium' %} {% set font_family = 'Source Code Pro' %} {% else %} {% set font_family = 'Source Code Pro for Powerline' %}