1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-08-02 22:20:41 +02:00

add and use wtype

This commit is contained in:
DanyLE
2023-07-27 20:41:44 +02:00
parent 9565699a58
commit f84ca2b690
5 changed files with 76 additions and 38 deletions

View File

@ -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 {