summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.config/kanshi/config24
1 files changed, 8 insertions, 16 deletions
diff --git a/.config/kanshi/config b/.config/kanshi/config
index 60e7288..2b2dee2 100644
--- a/.config/kanshi/config
+++ b/.config/kanshi/config
@@ -2,37 +2,29 @@
 
 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 3C4YP87AAK3L" mode 2560x1440 position 0,0 transform 90 scale 1 enable
-    output "Dell Inc. DELL P2720DC H97SKF3" mode 2560x1440 position 1440,0 scale 1 enable
+    output "Dell Inc. DELL U2518D 3C4YP87AAK3L" mode 2560x1440@59.951Hz position 0,0 transform 90 scale 1 enable
+    output "Dell Inc. DELL P2720DC H97SKF3" mode 2560x1440@59.951Hz position 1440,0 scale 1 enable
+    # output "Dell Inc. DELL P2720DC H97SKF3" mode 1920x1080@59.951Hz position 1440,0 scale 1 enable
 
-    exec oguri-cycle
-    exec pkill -HUP wlsunset
-    exec pkill -HUP mako
+    exec oguri-cycle; s6-svc -r ~/.s6/wlsunset; s6-svc -r ~/.s6/mako
 }
 
 profile single {
     output "Dell Inc. DELL P2720DC H97SKF3" mode 2560x1440 position 0,0 transform normal scale 1 enable
     output eDP-1 position 2560,0 scale 1.3 enable
 
-    exec oguri-cycle
-    exec pkill -HUP wlsunset
-    exec pkill -HUP mako
+    exec oguri-cycle; s6-svc -r ~/.s6/wlsunset; s6-svc -r ~/.s6/mako
 }
 
 profile tv {
     output eDP-1 position 0,0 scale 1.3 enable
     output HDMI-A-1 transform normal position 2560,0 scale 2 enable
 
-    exec oguri-cycle
-    exec pkill -HUP wlsunset
-    exec pkill -HUP mako
+    exec oguri-cycle; s6-svc -r ~/.s6/wlsunset; s6-svc -r ~/.s6/mako
 }
 
 profile laptop {
-    output eDP-1 scale 1.5 enable
+    output eDP-1 scale 1.3 enable
 
-    exec oguri-cycle
-    exec pkill -HUP wlsunset
-    exec pkill -HUP mako
+    exec oguri-cycle; s6-svc -r ~/.s6/wlsunset; s6-svc -r ~/.s6/mako
 }