summary refs log tree commit diff
path: root/.config/kanshi/config
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-12-03 13:15:22 +0100
committerRobert Günzler <r@gnzler.io>2020-12-07 19:28:05 +0100
commit35353c32f1ca2db5f2c2a2a394a1d0d861a8dd27 (patch)
tree83e9bebd07365ec131ca181ca8f707b5a6570d06 /.config/kanshi/config
parent9ce9b1222685520882804672c6c61bc42810beba (diff)
kanshi: run oguri-cycle when outputs change
Diffstat (limited to '.config/kanshi/config')
-rw-r--r--.config/kanshi/config34
1 files changed, 23 insertions, 11 deletions
diff --git a/.config/kanshi/config b/.config/kanshi/config
index 24d2824..77930e8 100644
--- a/.config/kanshi/config
+++ b/.config/kanshi/config
@@ -1,21 +1,33 @@
 # vim: commentstring=#\ %s
-profile laptop {
-  output eDP-1 scale 1 enable
+
+profile multi {
+    output eDP-1 disable
+    output "Dell Inc. DELL U2518D 3C4YP87AAK3L" mode 2560x1440 position 0,-600 transform 90 enable
+    output "Dell Inc. DELL U2518D 3C4YP9B9636L" mode 2560x1440 position 1440,0 enable
+    exec oguri-cycle
 }
 
-profile single {
-    output "Dell Inc. DELL U2518D 3C4YP9B9636L" mode 2560x1440 position 0,0 enable
+profile singleR {
     output eDP-1 disable
+    output "Dell Inc. DELL U2518D 3C4YP9B9636L" mode 2560x1440 position 0,0 transform normal enable
+    output "Dell Inc. DELL U2518D 3C4YP87AAK3L" disable
+    exec oguri-cycle
 }
 
-profile multi {
-    output "Dell Inc. DELL U2518D 3C4YP87AAK3L" mode 2560x1440 position 0,-600 transform 90 enable
-    output "Dell Inc. DELL U2518D 3C4YP9B9636L" mode 2560x1440 position 1440,0 enable
-    output eDP-1 scale 2 disable
+profile singleL {
+    output eDP-1 disable
+    output "Dell Inc. DELL U2518D 3C4YP87AAK3L" mode 2560x1440 position 0,0 transform 90 enable
+    output "Dell Inc. DELL U2518D 3C4YP9B9636L" disable
+    exec oguri-cycle
+}
+
+profile laptop {
+    output eDP-1 scale 1 enable
+    exec oguri-cycle
 }
-# output eDP-1 position 4000,0 scale 2 enable
 
 profile tv {
-   output HDMI-A-1 position 2560,0 enable
-   output eDP-1 scale 2 position 0,0 enable
+    output eDP-1 scale 2 position 0,0 enable
+    output HDMI-A-1 transform normal position 2560,0 enable
+    exec oguri-cycle
 }