summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2022-02-09 00:18:07 +0100
committerRobert Günzler <r@gnzler.io>2022-02-09 00:18:07 +0100
commit3bd9590a8099ab7ff2aae5d23e3962fe37ca1427 (patch)
treee356cf10f5ca2aa582845f31d21152ea473292f9
parent466e33ccc16751ecec59b3a577fc62934e2ff328 (diff)
kanshi: trigger mako/oguri/wlsunset on profile change
-rw-r--r--.config/kanshi/config20
1 files changed, 16 insertions, 4 deletions
diff --git a/.config/kanshi/config b/.config/kanshi/config
index d5e0688..00b8955 100644
--- a/.config/kanshi/config
+++ b/.config/kanshi/config
@@ -4,22 +4,34 @@ profile multi {
     output eDP-1 disable
     output "Dell Inc. DELL U2518D 3C4YP87AAK3L" mode 2560x1440 position 0,-600 transform 90 scale 1 enable
     output "Dell Inc. DELL U2518D 3C4YP9B9636L" mode 2560x1440 position 1440,0 scale 1 enable
+
     exec oguri-cycle
+    exec s6-svc -r ~/.s6/wlsunset
+    exec s6-svc -r ~/.s6/mako
 }
 
-profile singleR {
+profile single {
     output "Dell Inc. DELL U2518D 3C4YP9B9636L" mode 2560x1440 position 0,0 transform normal scale 1 enable
-    output eDP-1 position 2560,0 scale 2 enable
+    output eDP-1 position 2560,0 scale 2 disable
+
     exec oguri-cycle
+    exec s6-svc -r ~/.s6/wlsunset
+    exec s6-svc -r ~/.s6/mako
 }
 
 profile tv {
-    output eDP-1 scale 2 position 0,0 enable
-    output HDMI-A-1 transform normal position 2560,0 scale 4 enable
+    output eDP-1 scale 1.3 position 0,0 enable
+    output HDMI-A-1 transform normal position 2560,0 scale 2 enable
+
     exec oguri-cycle
+    exec s6-svc -r ~/.s6/wlsunset
+    exec s6-svc -r ~/.s6/mako
 }
 
 profile laptop {
     output eDP-1 scale 1.3 enable
+
     exec oguri-cycle
+    exec s6-svc -r ~/.s6/wlsunset
+    exec s6-svc -r ~/.s6/mako
 }