From f0167e83c71879ec2e64c389e59819c9ff8d170a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Fri, 22 Aug 2014 11:53:46 +0200 Subject: Initial commit --- handlers/acpi_event_handler.sh | 4 ++++ handlers/udev_event_handler.sh | 2 ++ 2 files changed, 6 insertions(+) create mode 100755 handlers/acpi_event_handler.sh create mode 100755 handlers/udev_event_handler.sh (limited to 'handlers') diff --git a/handlers/acpi_event_handler.sh b/handlers/acpi_event_handler.sh new file mode 100755 index 0000000..21ba395 --- /dev/null +++ b/handlers/acpi_event_handler.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +#~/bin/displays/autodetect.sh +su -c "DISPLAY=:0.0 arandr" robin; diff --git a/handlers/udev_event_handler.sh b/handlers/udev_event_handler.sh new file mode 100755 index 0000000..8b7541e --- /dev/null +++ b/handlers/udev_event_handler.sh @@ -0,0 +1,2 @@ +#!/bin/sh +su -c "DISPLAY=:0.0 ~/bin/displays/autodetect.sh" robin; -- cgit v1.2.3