From a1992669bbfa4e7822d4726ce70a5f835f204fca Mon Sep 17 00:00:00 2001 From: Pavel Kachalouski Date: Sat, 6 May 2017 20:28:34 +0200 Subject: [PATCH] After update of outputs is done, run setup for keyboard again. --- monitor-switch/monitor-hotplug.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor-switch/monitor-hotplug.service b/monitor-switch/monitor-hotplug.service index a7b9da4..781a20d 100644 --- a/monitor-switch/monitor-hotplug.service +++ b/monitor-switch/monitor-hotplug.service @@ -5,4 +5,4 @@ Description=Update Monitor outputs Environment=DISPLAY=:0 Environment=XAUTHORITY=/home/nnm/.Xauthority Type=oneshot -ExecStart=/usr/bin/scala -nc -save /usr/local/src/update-output.scala +ExecStart=/bin/bash -c "/usr/bin/scala -nc -save /usr/local/src/update-output.scala && setxkbmap -option grp:switch,grp:caps_toggle,grp_led:scroll us,ru"