From 6d7c6ce9cf2f50ee25442ddcfd6141b843ce2b01 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Thu, 2 Mar 2023 15:37:30 +0100 Subject: [PATCH] i3: move screenlayout script config to dotter --- .dotter/kardorf.toml | 1 + .dotter/laptop.toml | 1 + i3/i3/config | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.dotter/kardorf.toml b/.dotter/kardorf.toml index c646493..3a2ef57 100644 --- a/.dotter/kardorf.toml +++ b/.dotter/kardorf.toml @@ -1,3 +1,4 @@ [i3.variables] monitor-primary = "DVI-D-1" monitor-secondary = "VGA-0" +screenlayout-script = "~/.screenlayout/2desktop-vga2.sh" diff --git a/.dotter/laptop.toml b/.dotter/laptop.toml index 2b1d7d2..b31c94b 100644 --- a/.dotter/laptop.toml +++ b/.dotter/laptop.toml @@ -1,3 +1,4 @@ [i3.variables] monitor-primary = "eDP1" monitor-secondary = "HDMI1" +screenlayout-script = "$scripts/display-layoutpicker" diff --git a/i3/i3/config b/i3/i3/config index 27611b3..29c7109 100644 --- a/i3/i3/config +++ b/i3/i3/config @@ -309,7 +309,7 @@ exec --no-startup-id dunst -config ~/.config/dunst/dunstrc exec_always --no-startup-id ff-theme-util exec_always --no-startup-id fix_xcursor -exec_always --no-startup-id $scripts/display-layoutpicker +exec_always --no-startup-id {{screenlayout-script}} #############################