about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-05-15 16:31:21 +0900
committersefidel <contact@sefidel.net>2024-05-15 16:31:21 +0900
commit3c95c44f570dd3c6786dffa7008d6d039ed0914b (patch)
tree37120292b68ba78eeef99023b9364fef9f135cb7
parent34e8b6400433edca5fa3287c462f737493228997 (diff)
downloadnixrc-3c95c44f570dd3c6786dffa7008d6d039ed0914b.tar.gz
nixrc-3c95c44f570dd3c6786dffa7008d6d039ed0914b.zip
feat(home/gui): kanshi: use new config options
-rw-r--r--home/profiles/gui/default.nix19
1 files changed, 10 insertions, 9 deletions
diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix
index e491e76..838d2ab 100644
--- a/home/profiles/gui/default.nix
+++ b/home/profiles/gui/default.nix
@@ -178,18 +178,19 @@ in
 
       kanshi = {
         enable = true;
-        profiles = {
-          haruka-standalone = {
-            outputs = [
+        settings = [
+          {
+            profile.name = "haruka-standalone";
+            profile.outputs = [
               {
                 criteria = "AU Optronics 0xD291 Unknown";
                 scale = 1.25;
               }
             ];
-          };
-
-          haruka-docked = {
-            outputs = [
+          }
+          {
+            profile.name = "haruka-docked";
+            profile.outputs = [
               {
                 criteria = "AU Optronics 0xD291 Unknown";
                 scale = 1.25;
@@ -201,8 +202,8 @@ in
                 position = "0,0";
               }
             ];
-          };
-        };
+          }
+        ];
       };
 
       swayidle =