From 632759ea7c12e371d380303b7bffe94e23ce4072 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Tue, 14 Jan 2020 11:13:06 +0000 Subject: [PATCH] Add sway config for cobalt --- states/sway/files/cobalt | 21 +++++++++++++++++++++ states/sway/files/config.jinja | 7 +++++++ 2 files changed, 28 insertions(+) create mode 100644 states/sway/files/cobalt diff --git a/states/sway/files/cobalt b/states/sway/files/cobalt new file mode 100644 index 0000000..a638176 --- /dev/null +++ b/states/sway/files/cobalt @@ -0,0 +1,21 @@ +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +bar { + id bar + status_command conky-i3bar + position top + font pango:Liberation Mono 11 + 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 + +# Disable tap-to-click on touchpad to prevent jerkyness +input type:touch tap disable diff --git a/states/sway/files/config.jinja b/states/sway/files/config.jinja index 0ce972f..3bd88e8 100644 --- a/states/sway/files/config.jinja +++ b/states/sway/files/config.jinja @@ -216,6 +216,13 @@ input 16700:8455:DELL_Dell_USB_Entry_Keyboard { input 7504:24616:unspecified_ErgoDox_ergonomic_keyboard { xkb_layout gb } + +input 1:1:AT_Translated_Set_2_keyboard { + xkb_layout gb + xkb_variant colemak + xkb_options ctrl:nocaps +} + # host specific section {%- do salt.log.error('sway/files/' + host) -%} {% include 'sway/files/' + host %} -- 2.46.2