You are not logged in.

#1 2023-09-06 11:04:56

scatherinch
Member
Registered: 2023-02-24
Posts: 160

[SOLVED] Awesome WM w/ Nitrogen: Instructions unclear

Hi, the instructions at https://wiki.archlinux.org/title/nitrogen , https://wiki.archlinux.org/title/Awesome#Autostart are unclear as to how to get awesome to initiate a shell file so i can set an additional wallpaper on my second monitor using nitrogen. I have the shell file made with contents:

#!/bin/sh

run() {
  if ! pgrep -f "$1" ;
  then
    "$@"&
  fi
}
run nitrogen --restore &

and

awful.spawn.with_shell("~/.config/awesome/autorun.sh")

at the bottom of rc.lua but awesome won't initiate nitrogen on the start of a new session

help?

EDIT: NVM, I got it. You need to make this file executable.

Last edited by scatherinch (2023-09-06 11:08:33)

Offline

Board footer

Powered by FluxBB