Skip to content

Commit 53eaf5d

Browse files
authored
Merge pull request #159 from s1eve-mcdichae1/chromium-url
chromium.sh - pass %ROM% parameter as cmd-line args
2 parents 69a099d + 5f2e6df commit 53eaf5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scriptmodules/supplementary/chromium.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ function configure_chromium() {
3333
#!/bin/bash
3434
xset -dpms s off s noblank
3535
matchbox-window-manager -use_titlebar no &
36-
/usr/bin/chromium-browser
36+
/usr/bin/chromium-browser "\$@"
3737
_EOF_
3838
chmod +x "$md_inst/chromium.sh"
3939

40-
addPort "$md_id" "chromium" "Chromium - Open Source Web Browser" "XINIT: $md_inst/chromium.sh"
40+
addPort "$md_id" "chromium" "Chromium - Open Source Web Browser" "XINIT: $md_inst/chromium.sh %ROM%"
4141
mv "$md_conf_root/$md_id" "$md_conf_root/ports"
42-
}
42+
}

0 commit comments

Comments
 (0)