mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-02-22 16:52:47 +01:00
use default icon
This commit is contained in:
parent
b543ec49de
commit
f70874bdc2
@ -1,7 +0,0 @@
|
|||||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
||||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Transformed by: SVG Repo Mixer Tools -->
|
|
||||||
<svg fill="#5651a4" height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 50 50" enable-background="new 0 0 50 50" xml:space="preserve" stroke="#5651a4">
|
|
||||||
<g id="SVGRepo_bgCarrier" stroke-width="0"/>
|
|
||||||
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<g id="SVGRepo_iconCarrier"> <path d="M15.243,19.194c0.553,0,1-0.447,1-1s-0.447-1-1-1h-3.77c-0.553,0-1,0.447-1,1v21.951c0,0.553,0.447,1,1,1h21.951 c0.553,0,1-0.447,1-1v-3.765c0-0.553-0.447-1-1-1s-1,0.447-1,1v2.765H12.474V19.194H15.243z"/> <path d="M41.474,9.146H19.522c-0.553,0-1,0.447-1,1v21.951c0,0.553,0.447,1,1,1h21.951c0.553,0,1-0.447,1-1V10.146 C42.474,9.593,42.026,9.146,41.474,9.146z M40.474,31.097H20.522V11.146h19.951V31.097z"/> </g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1011 B |
@ -83,12 +83,12 @@ menu("winops") {
|
|||||||
layout {
|
layout {
|
||||||
button {
|
button {
|
||||||
style = "launcher"
|
style = "launcher"
|
||||||
value = "/usr/share/icons/hicolor/scalable/apps/tofi.svg"
|
value = "/usr/share/icons/Adwaita/scalable/actions/view-app-grid-symbolic.svg"
|
||||||
tooltip = "Quick menu"
|
tooltip = "Quick menu"
|
||||||
action = Exec "bash -c \"`tofi-drun`\""
|
action = Exec "bash -c \"`tofi-drun`\""
|
||||||
}
|
}
|
||||||
button {
|
button {
|
||||||
value = "/usr/share/icons/hicolor/scalable/actions/show-desktop.svg"
|
value = "/usr/share/icons/Adwaita/scalable/devices/tv-symbolic.svg"
|
||||||
style = "launcher"
|
style = "launcher"
|
||||||
tooltip = "Show Desktop"
|
tooltip = "Show Desktop"
|
||||||
action = Function "target", "ShowDesktop"
|
action = Function "target", "ShowDesktop"
|
||||||
@ -123,14 +123,16 @@ layout {
|
|||||||
#CSS
|
#CSS
|
||||||
button#launcher, button#module{
|
button#launcher, button#module{
|
||||||
padding: 0px 2px 0px 2px;
|
padding: 0px 2px 0px 2px;
|
||||||
background: none;
|
/*background: none;
|
||||||
border-style:none;
|
background-color: #5F548E;*/
|
||||||
|
border-style:none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
window {
|
window {
|
||||||
-GtkWidget-direction: top;
|
-GtkWidget-direction: top;
|
||||||
background-color: rgba(0,0,0,0.6);
|
/*background-color: rgba(0,0,0,0.6);*/
|
||||||
border-color: rgba(0,0,0,0.3);
|
border-color: rgba(0,0,0,0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -143,7 +145,6 @@ button#taskbar_normal grid {
|
|||||||
padding-right: 0px;
|
padding-right: 0px;
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
button#launcher image, button#taskbar_normal image, button#taskbar_active image, button#taskbar_normal:hover image {
|
button#launcher image, button#taskbar_normal image, button#taskbar_active image, button#taskbar_normal:hover image {
|
||||||
-GtkWidget-vexpand: true;
|
-GtkWidget-vexpand: true;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
@ -180,14 +181,21 @@ button#taskbar_normal , button#taskbar_active , button#taskbar_normal:hover {
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button#taskbar_normal label {
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
button#taskbar_active {
|
button#taskbar_active {
|
||||||
/* background-color: rgba(255,255,255,0.2);
|
/* background-color: rgba(255,255,255,0.2);
|
||||||
border-color: rgba(255,255,255,0.4); */
|
border-color: rgba(255,255,255,0.4); */
|
||||||
border-bottom:3px solid #116cd6;
|
border-bottom:3px solid #5F548E;
|
||||||
|
}
|
||||||
|
button#taskbar_active label, button#taskbar_normal:hover label {
|
||||||
|
color: #5F548E;
|
||||||
}
|
}
|
||||||
/* button#taskbar_active:hover*/
|
/* button#taskbar_active:hover*/
|
||||||
button#taskbar_normal:hover {
|
button#taskbar_normal:hover {
|
||||||
background-color: rgba(176,176,176,0.22);
|
background-color: #d2d2d2;
|
||||||
border-color: rgba(234,234,234,0.44);
|
border-color: rgba(234,234,234,0.44);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ DEPENDS = "gtk+3 gtk-layer-shell json-c wayland-native"
|
|||||||
SRCREV = "${AUTOREV}"
|
SRCREV = "${AUTOREV}"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/LBCrion/sfwbar.git;protocol=https;branch=main"
|
SRC_URI = "git://github.com/LBCrion/sfwbar.git;protocol=https;branch=main"
|
||||||
SRC_URI += " file://sfwbar.config file://icon.svg "
|
SRC_URI += " file://sfwbar.config "
|
||||||
|
|
||||||
S="${WORKDIR}/git"
|
S="${WORKDIR}/git"
|
||||||
|
|
||||||
@ -21,13 +21,6 @@ EXTRA_OEMESON += "--buildtype release"
|
|||||||
do_install:append () {
|
do_install:append () {
|
||||||
install -d ${D}/${sysconfdir}/sfwbar/
|
install -d ${D}/${sysconfdir}/sfwbar/
|
||||||
install -m 0755 ${WORKDIR}/sfwbar.config ${D}/${sysconfdir}/sfwbar/
|
install -m 0755 ${WORKDIR}/sfwbar.config ${D}/${sysconfdir}/sfwbar/
|
||||||
|
|
||||||
install -d ${D}/usr/share
|
|
||||||
install -d ${D}/usr/share/icons
|
|
||||||
install -d ${D}/usr/share/icons/hicolor
|
|
||||||
install -d ${D}/usr/share/icons/hicolor/scalable
|
|
||||||
install -d ${D}/usr/share/icons/hicolor/scalable/actions/
|
|
||||||
install -m 0755 ${WORKDIR}/icon.svg ${D}/usr/share/icons/hicolor/scalable/actions/show-desktop.svg
|
|
||||||
}
|
}
|
||||||
|
|
||||||
FILES:${PN} += "/usr/share/icons/*"
|
FILES:${PN} += "/usr/share/icons/*"
|
@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
||||||
<svg fill="#000000" width="800px" height="800px" viewBox="0 0 24 24" id="menu-alt-2" data-name="Line Color" xmlns="http://www.w3.org/2000/svg" class="icon line-color"><path id="secondary" d="M21,3H14v7h7ZM10,14H3v7h7Z" style="fill: none; stroke: rgb(44, 169, 188); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2;"></path><path id="primary" d="M10,10H3V3h7Zm11,4H14v7h7Z" style="fill: none; stroke: rgb(0, 0, 0); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2;"></path></svg>
|
|
Before Width: | Height: | Size: 625 B |
@ -10,7 +10,7 @@ DEPENDS = "wayland freetype wayland-native wayland-protocols-native wayland-prot
|
|||||||
SRCREV = "${AUTOREV}"
|
SRCREV = "${AUTOREV}"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/philj56/tofi.git;protocol=https;branch=master"
|
SRC_URI = "git://github.com/philj56/tofi.git;protocol=https;branch=master"
|
||||||
SRC_URI += " file://icon.svg file://config "
|
SRC_URI += " file://config "
|
||||||
|
|
||||||
S="${WORKDIR}/git"
|
S="${WORKDIR}/git"
|
||||||
|
|
||||||
@ -19,13 +19,6 @@ inherit meson pkgconfig
|
|||||||
EXTRA_OEMESON += "--buildtype release"
|
EXTRA_OEMESON += "--buildtype release"
|
||||||
|
|
||||||
do_install:append () {
|
do_install:append () {
|
||||||
install -d ${D}/usr/share
|
|
||||||
install -d ${D}/usr/share/icons
|
|
||||||
install -d ${D}/usr/share/icons/hicolor
|
|
||||||
install -d ${D}/usr/share/icons/hicolor/scalable
|
|
||||||
install -d ${D}/usr/share/icons/hicolor/scalable/apps
|
|
||||||
install -m 0755 ${WORKDIR}/icon.svg ${D}/usr/share/icons/hicolor/scalable/apps/tofi.svg
|
|
||||||
|
|
||||||
# replace the default config
|
# replace the default config
|
||||||
install -m 0755 ${WORKDIR}/config ${D}/${sysconfdir}/xdg/tofi/
|
install -m 0755 ${WORKDIR}/config ${D}/${sysconfdir}/xdg/tofi/
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@ case "$1" in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
stop)
|
stop)
|
||||||
echo "Stopping Weston"
|
echo "Stopping labwc"
|
||||||
killproc labwc
|
killproc labwc
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user