From 43f0477e5934840668cb04f7da9505aa341845de Mon Sep 17 00:00:00 2001 From: cyteen Date: Wed, 11 Mar 2026 01:41:42 +0000 Subject: [PATCH] Syntax fixes. --- 020_niri-wayland-compositor.sh | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/020_niri-wayland-compositor.sh b/020_niri-wayland-compositor.sh index 704448c..570d5a5 100644 --- a/020_niri-wayland-compositor.sh +++ b/020_niri-wayland-compositor.sh @@ -9,7 +9,7 @@ DEST=${1:-/etc/skel} KEY_HOME=/usr/share/keyrings # Add user to the video and render groups: -sudo usermod -aG video,render $USER +sudo usermod -aG video,render "$USER" # Create the directory for sources files to which we symlink mkdir -p /etc/apt/sources.list-available/ @@ -211,7 +211,7 @@ EOF # fi sudo apt-get update -sudo apt install -y quickshell niri +sudo apt install -y quickshell niri waybar fuzzel alacritty swaylock brightnessctl playerctl sudo apt install -y dms sudo apt install -y mate-polkit @@ -219,7 +219,7 @@ sudo apt install -y mate-polkit # sudo apt install quickshell-git niri-git # sudo apt install dms-git -mkdir -p ${DEST}/Pictures/Screenshots +mkdir -p "${DEST}/Pictures/Screenshots" conf_print_desktop() { cat <<-EOF @@ -252,16 +252,16 @@ sleep 1 dbus-run-session niri --session EOF } -conf_print_xephyr | tee ${HOME}/.local/bin/niri-start_xnested.sh -chmod +x ${HOME}/.local/bin/niri-start_xnested.sh +conf_print_xephyr | tee "${HOME}/.local/bin/niri-start_xnested.sh" +chmod +x "${HOME}/.local/bin/niri-start_xnested.sh" # Add your user to the render group: -sudo usermod -aG render $USER -sudo usermod -aG video $USER +sudo usermod -aG render "$USER" +sudo usermod -aG video "$USER" # Configuratiom # Original Niri Configuration -conf_print_config() { +conf_print_niri_config() { cat <