formalconf 2.0.12 → 2.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/formalconf.js +19 -4
  2. package/package.json +2 -2
@@ -467,8 +467,8 @@ function StatusIndicator({
467
467
  // package.json
468
468
  var package_default = {
469
469
  name: "formalconf",
470
- version: "2.0.12",
471
- description: "Dotfiles management TUI for macOS - config management, package sync, and theme switching",
470
+ version: "2.0.13",
471
+ description: "Dotfiles management TUI for macOS and Linux - config management, package sync, and theme switching",
472
472
  type: "module",
473
473
  main: "./dist/formalconf.js",
474
474
  bin: {
@@ -5024,8 +5024,6 @@ async function runColloidInstall(options) {
5024
5024
  if (options.installLibadwaita !== false) {
5025
5025
  args.push("-l");
5026
5026
  }
5027
- const tweaks = options.tweaks && options.tweaks.length > 0 ? options.tweaks : ["normal"];
5028
- args.push("--tweaks", ...tweaks);
5029
5027
  const result = await exec(args, COLLOID_DIR);
5030
5028
  return result.exitCode;
5031
5029
  }
@@ -5088,6 +5086,23 @@ ${instructions}`
5088
5086
  };
5089
5087
  }
5090
5088
  const installedThemeName = getGtkThemeName(themeName, mode);
5089
+ const hasGsettings = await commandExists("gsettings");
5090
+ if (hasGsettings) {
5091
+ await exec([
5092
+ "gsettings",
5093
+ "set",
5094
+ "org.gnome.desktop.interface",
5095
+ "gtk-theme",
5096
+ installedThemeName
5097
+ ]);
5098
+ await exec([
5099
+ "gsettings",
5100
+ "set",
5101
+ "org.gnome.desktop.interface",
5102
+ "color-scheme",
5103
+ `prefer-${mode}`
5104
+ ]);
5105
+ }
5091
5106
  return {
5092
5107
  success: true,
5093
5108
  themeName: installedThemeName
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "formalconf",
3
- "version": "2.0.12",
4
- "description": "Dotfiles management TUI for macOS - config management, package sync, and theme switching",
3
+ "version": "2.0.13",
4
+ "description": "Dotfiles management TUI for macOS and Linux - config management, package sync, and theme switching",
5
5
  "type": "module",
6
6
  "main": "./dist/formalconf.js",
7
7
  "bin": {