#!/bin/bash . "$HOME/.cache/wal/colors.sh" echo "$color1" export focus_active="$color2" #export focus_inactive="$FOCUS_INACTIVE" #export border_active="$BORDER_ACTIVE" #export border_inactive="$BORDER_INACTIVE" #export border_urgent="$BORDER_URGENT" # for simplicity, using envsubst: envsubst <$HOME/.config/niri/config.template.kdl >$HOME/.config/niri/config.kdl # optionally force Niri to reload or redraw (if needed) #niri msg action redraw