about summary refs log tree commit diff stats
path: root/pkgs/by-name/ri/river-start/river-start.sh
blob: e3a4adcb7bce74a99b81699b24e434122bcc3e37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /usr/bin/env sh

# nixos-config - My current NixOS configuration
#
# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
# SPDX-License-Identifier: GPL-3.0-or-later
#
# This file is part of my nixos-config.
#
# You should have received a copy of the License along with this program.
# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.

# NOTE: Keep this in sync with the file from `base_init.sh` <2025-02-03>
RIVER_LOG_FILE="$HOME/.local/share/river/log"

[ -d "$(dirname "$RIVER_LOG_FILE")" ] || mkdir --parents "$(dirname "$RIVER_LOG_FILE")"

exec river -log-level info >"$RIVER_LOG_FILE" 2>&1

# vim: ft=sh