From aff435a0fb3a56b1d7b738c7dede363440884b3a Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Thu, 17 Sep 2026 15:05:36 +0100 Subject: Add the Canonical laptop profile and setup workflows --- run_after_canonical-desktop.sh.tmpl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 run_after_canonical-desktop.sh.tmpl (limited to 'run_after_canonical-desktop.sh.tmpl') diff --git a/run_after_canonical-desktop.sh.tmpl b/run_after_canonical-desktop.sh.tmpl new file mode 100644 index 0000000..54e0a72 --- /dev/null +++ b/run_after_canonical-desktop.sh.tmpl @@ -0,0 +1,8 @@ +{{ if eq (default "host" (index . "machineRole")) "canonical" -}} +#!/bin/sh +set -eu +case "${XDG_CURRENT_DESKTOP:-}" in + *GNOME*|*gnome*) /usr/bin/python3 "$HOME/.local/lib/dotfiles/canonical_desktop.py" settings ;; + *) echo 'Run just canonical-desktop from GNOME to apply desktop keys.' ;; +esac +{{ end -}} -- cgit v1.3.1