Skip to content

Commit

Permalink
Weather icon
Browse files Browse the repository at this point in the history
  • Loading branch information
jpnurmi committed Oct 17, 2023
1 parent f56c4e4 commit cb7620c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 14 deletions.
20 changes: 6 additions & 14 deletions recipes-graphics/wayland/files/weston.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,13 @@ require-input=false
#homescreen=/usr/share/backgrounds/gnome/Blinds.jpg
#animation=fade

#[launcher]
#icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
#path=/usr/bin/gnome-terminal
[launcher]
icon=/usr/share/weston/terminal.png
path=/usr/bin/weston-terminal

#[launcher]
#icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
#path=/usr/bin/weston-terminal

#[launcher]
#icon=/usr/share/icons/hicolor/24x24/apps/google-chrome.png
#path=/usr/bin/google-chrome

#[launcher]
#icon=/usr/share/icons/gnome/24x24/apps/arts.png
#path=/build/weston-0lEgCh/weston-1.11.0/weston-flower
[launcher]
icon=/usr/share/icons/hicolor/48x48/apps/jpos-weather.png
path=SLINT_FULLSCREEN=1 /usr/bin/jpos-weather

#[input-method]
#path=/usr/libexec/weston-keyboard
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions recipes-jpos/jpos-weather/jpos-weather_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,20 @@ LIC_FILES_CHKSUM = "file://LICENSES/GPL-3.0-only.txt;md5=75d892af193fd5a298f724c
DEPENDS = "\
openssl \
"

FILESEXTRAPATHS:prepend := "${THISDIR}/icons:"
SRC_URI:append = "\
file://48x48/jpos-weather.png \
file://192x192/jpos-weather.png \
"
FILES:${PN}:append = "\
${datadir}/icons/hicolor/48x48/apps/jpos-weather.png \
${datadir}/icons/hicolor/192x192/apps/jpos-weather.png \
"
do_install:append() {
install -d ${D}${datadir}/icons/hicolor/48x48/apps
install ${WORKDIR}/48x48/jpos-weather.png ${D}${datadir}/icons/hicolor/48x48/apps

install -d ${D}${datadir}/icons/hicolor/192x192/apps
install ${WORKDIR}/192x192/jpos-weather.png ${D}${datadir}/icons/hicolor/192x192/apps
}

0 comments on commit cb7620c

Please sign in to comment.