mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-07-31 05:00:42 +02:00
add and use wtype
This commit is contained in:
@ -10,7 +10,7 @@ switcher {
|
||||
|
||||
function("SfwbarInit") {
|
||||
SetBarId "bar-0"
|
||||
SetLayer "top"
|
||||
SetLayer "bottom"
|
||||
}
|
||||
|
||||
function("ToggleMinimize") {
|
||||
@ -72,10 +72,10 @@ function("ShowDesktop") {
|
||||
}
|
||||
|
||||
menu("winops") {
|
||||
item("focus", Focus );
|
||||
item("close", Close );
|
||||
item("(un)minimize", Function "ToggleMinimize" );
|
||||
item("(un)maximize", Function "ToggleMaximize" );
|
||||
item("Focus", Focus );
|
||||
item("Close", Close );
|
||||
item("Toggle minimize", Function "ToggleMinimize" );
|
||||
item("Toggle maximize", Function "ToggleMaximize" );
|
||||
}
|
||||
|
||||
# Panel layout
|
||||
@ -84,7 +84,12 @@ layout {
|
||||
button {
|
||||
style = "launcher"
|
||||
value = "/usr/share/icons/Adwaita/scalable/actions/view-app-grid-symbolic.svg"
|
||||
tooltip = "Quick menu"
|
||||
action = Exec "wtype -M alt ' ' -m alt"
|
||||
}
|
||||
button {
|
||||
style = "launcher"
|
||||
value = "/usr/share/icons/Adwaita/scalable/actions/system-run-symbolic.svg"
|
||||
tooltip = "Quick run"
|
||||
action = Exec "bash -c \"`tofi-drun`\""
|
||||
}
|
||||
button {
|
||||
|
17
recipes-support/wtype/wtype_git.bb
Normal file
17
recipes-support/wtype/wtype_git.bb
Normal file
@ -0,0 +1,17 @@
|
||||
DESCRIPTION = "virtual key event for wayland"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
|
||||
DEPENDS = "wayland wayland-native wayland-protocols-native wayland-protocols libxkbcommon"
|
||||
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
SRC_URI = "git://github.com/atx/wtype.git;protocol=https;branch=master"
|
||||
|
||||
S="${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig
|
||||
|
||||
EXTRA_OEMESON += "--buildtype release"
|
Reference in New Issue
Block a user