From 3cdfdcfaeb0a812da60d24ff1666a23c14179d21 Mon Sep 17 00:00:00 2001 From: nocode Date: Sat, 4 Jul 2026 13:15:33 +0200 Subject: [PATCH] feat(i3-config): add rofi configuration for i3 desktop environment Install rofi configuration file (rofi-config.rasi) for i3 desktop to provide an application menu with FWS styling, equivalent to wofi in Hyprland. Configure rofi for both skeleton and existing user home directories with proper ownership settings. --- .../airootfs/usr/share/anaconda/interactive-defaults.ks | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks b/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks index 825d0cf..e299575 100644 --- a/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks +++ b/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks @@ -448,14 +448,17 @@ if [ "$DESK" = "i3" ] && [ -f /usr/local/share/fws/i3-config ]; then # visuel que la session Hyprland FWS. install -Dm644 /usr/local/share/fws/polybar-config.ini /etc/skel/.config/polybar/config.ini install -Dm644 /usr/local/share/fws/picom.conf /etc/skel/.config/picom.conf + # rofi : menu d'applications au look FWS (équivalent du wofi d'Hyprland). + install -Dm644 /usr/local/share/fws/rofi-config.rasi /etc/skel/.config/rofi/config.rasi while IFS=: read -r _u _x _uid _g _gec _home _sh; do [ "$_uid" -ge 1000 ] && [ "$_uid" -le 60000 ] && [ -d "$_home" ] || continue install -Dm644 /usr/local/share/fws/i3-config "$_home/.config/i3/config" install -Dm644 /usr/local/share/fws/polybar-config.ini "$_home/.config/polybar/config.ini" install -Dm644 /usr/local/share/fws/picom.conf "$_home/.config/picom.conf" + install -Dm644 /usr/local/share/fws/rofi-config.rasi "$_home/.config/rofi/config.rasi" chown "$_u": "$_home/.config" 2>/dev/null || true chown -R "$_u": "$_home/.config/i3" "$_home/.config/polybar" \ - "$_home/.config/picom.conf" 2>/dev/null || true + "$_home/.config/rofi" "$_home/.config/picom.conf" 2>/dev/null || true done < /etc/passwd fi