Skip to content

Commit

Permalink
Merge pull request #57 from yahluo-dev/master
Browse files Browse the repository at this point in the history
Fix monitor variable name when iterating over multiple monitors
  • Loading branch information
thevinter authored Nov 16, 2024
2 parents 0446706 + 3e2dc5e commit 7e216dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions styli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ hyprpaper_cmd() {
}

nitrogen_cmd() {
for ((MONITOR = 0; monitor < "$MONITORS"; monitor++)); do
local NITROGEN_ARR=(nitrogen --save --head="$MONITOR")
for ((monitor = 0; monitor < "$MONITORS"; monitor++)); do
local NITROGEN_ARR=(nitrogen --save --head="$monitor")

if [ -n "$BGTYPE" ]; then
if [ "$BGTYPE" == 'bg-center' ]; then
Expand Down

0 comments on commit 7e216dc

Please sign in to comment.