From f889076a8bc7e923d7476209b58d7ddbc29b9586 Mon Sep 17 00:00:00 2001
From: coolneng <akasroua@gmail.com>
Date: Sat, 21 May 2022 11:53:41 +0200
Subject: [PATCH] Add HDMI profile to kanshi

---
 kanshi/.config/kanshi/config | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/kanshi/.config/kanshi/config b/kanshi/.config/kanshi/config
index 0ea6492..87baa71 100644
--- a/kanshi/.config/kanshi/config
+++ b/kanshi/.config/kanshi/config
@@ -1,4 +1,4 @@
-profile multihead {
+profile multihead-DP {
   output eDP-1 enable
   output DP-1 enable
   exec swaymsg workspace "1: ", move workspace to eDP-1
@@ -10,6 +10,18 @@ profile multihead {
   exec pkill waybar; waybar
 }
 
+profile multihead-HDMI {
+  output eDP-1 enable
+  output HDMI-A-2 enable
+  exec swaymsg workspace "1: ", move workspace to eDP-1
+  exec swaymsg workspace "3: ", move workspace to eDP-1
+  exec swaymsg workspace "2: ", move workspace to DP-1
+  exec swaymsg workspace "4: ", move workspace to DP-1
+  exec light -S 100
+  exec light -s sysfs/leds/tpacpi::kbd_backlight -S 0
+  exec pkill waybar; waybar
+}
+
 profile nomad {
   output eDP-1 enable mode 1920x1080
   exec light -S 70