Skip to content

Commit 86f67df

Browse files
authored
Merge pull request #7 from theeasternfurry/main
feat(installer): add Niri support
2 parents c6d59a5 + 6a0fd8a commit 86f67df

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/data/installer.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const deWms = [
2323
'i3',
2424
'Sway',
2525
'Hyprland',
26+
'Niri',
2627
];
2728
export const environments = ['X11', 'Wayland'];
2829
export const initSystems = ['systemd', 'OpenRC', 'runit'];
@@ -96,6 +97,7 @@ export const logic = {
9697
i3: 'Add `exec --no-startup-id fcitx5 -d` to ~/.config/i3/config',
9798
Sway: 'Add `exec --no-startup-id fcitx5 -d` to ~/.config/sway/config',
9899
Hyprland: 'Add `exec-once = fcitx5 -d` to ~/.config/hypr/hyprland.conf',
100+
Niri: 'Add `spawn-sh-at-startup "fcitx5 -d"` to ~/.config/niri/config.kdl',
99101
},
100102
wayland_extras: {
101103
General: {
@@ -124,6 +126,13 @@ export const logic = {
124126
caveats:
125127
'Do thiếu text-input-v3, IM module là giải pháp duy nhất cho Gtk/Qt.',
126128
},
129+
Niri: {
130+
best_setup: [
131+
'Nên cài đặt xwayland-satellite. Mặc định niri sẽ tự khởi động mà không cần spawn-at-startup.'
132+
],
133+
caveats:
134+
'niri không hỗ trợ Xorg trực tiếp. Hãy cài chung với xwayland-satellite',
135+
},
127136
},
128137
},
129138
};

0 commit comments

Comments
 (0)