Skip to content

Commit

Permalink
Add desktop background, Fixes #535
Browse files Browse the repository at this point in the history
  • Loading branch information
guysoft committed Mar 30, 2024
1 parent 73a536a commit 89e3f9a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

USER_AGENT="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"

feh --bg-center /opt/custompios/background.png

while true
do
if [[ $(curl -sL -b cookiefile -w "%{http_code}\\n" -H "user-agent: ${USER_AGENT}" "$(/opt/custompios/scripts/get_url)" -o /dev/null) =~ ^([23][0-9]{2,2}|401)$ ]] || grep -q disabled "/boot/firmware/check_for_httpd" ; then
Expand Down
2 changes: 1 addition & 1 deletion src/modules/fullpageos/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ apt-get remove -y --purge $remove_extra
apt-get autoremove -y

#apt-get tools
apt-get -y --force-yes install git screen checkinstall avahi-daemon libavahi-compat-libdnssd1 xterm xdotool vim expect
apt-get -y --force-yes install git screen checkinstall avahi-daemon libavahi-compat-libdnssd1 xterm xdotool vim expect feh

if [ "$FULLPAGEOS_INCLUDE_CHROMIUM" == "yes" ]
then
Expand Down

0 comments on commit 89e3f9a

Please sign in to comment.