From 9767eee0d6e8f1db4334f6e9fe142508a42aafef Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Sun, 25 Aug 2024 02:02:08 +0200 Subject: [PATCH] superclick upd --- usr/bin/jgdeskgrid | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/usr/bin/jgdeskgrid b/usr/bin/jgdeskgrid index f22db64..fd1e254 100755 --- a/usr/bin/jgdeskgrid +++ b/usr/bin/jgdeskgrid @@ -9,6 +9,7 @@ case $LANG in ABOUT="O SuperClick" TRAINER="Ćwicz z trenerem" QUICK_TILE="Trener SuperClick" + KEYBOARD_DEMO="Demo użycia z klawiatury" CONFIGURATION="Konfiguracja" LGAP="Odstęp" OUTER_GAP="Zewnętrzny odstęp" @@ -23,6 +24,7 @@ case $LANG in help='\n\nSuper + LeftMouseClick on appropriate area of the window to snap it in a given direction.\n\nWorks also with keyboard...\nUse Super + Keypad_Keys to move windows on the grid\n\nConfigurable settings:\n- gap\n- show_outer_gap' ABOUT="About SuperClick" TRAINER="Practice with trainer" + KEYBOARD_DEMO="Keyboard usage demo" QUICK_TILE="SuperClick trainer" CONFIGURATION="Configuration" LGAP="Gap between windows" @@ -39,6 +41,7 @@ case $LANG in ABOUT="About SuperClick" TRAINER="Practice with trainer" QUICK_TILE="SuperClick trainer" + KEYBOARD_DEMO="Keyboard usage demo" CONFIGURATION="Configuration" LGAP="Gap between windows" OUTER_GAP="Show outer gap" @@ -67,8 +70,9 @@ GAP=${gap:-16} me="jgdeskgrid -s" #out+=("^sep(SuperClick)") -out+=("󱇙 $ABOUT,notify-send.sh -u critical -i mbcc '$title' '$help' -o '$TRAINER:superclick trainer' -o '$CFG_MENU:jgdeskgrid -s' -o '$EDITCONF:xdg-open $CONFIG_FILE'") out+=("󰋁 $QUICK_TILE,superclick trainer") +out+=(" +  $KEYBOARD_DEMO,viewnior /usr/share/mabox/img/superclick-keyboard.gif") +out+=("󱇙 $ABOUT,notify-send.sh -u critical -i mbcc '$title' '$help' -o '$TRAINER:superclick trainer' -o '$CFG_MENU:jgdeskgrid -s' -o '$EDITCONF:xdg-open $CONFIG_FILE'") #out+=("󰕰 $SHOW_IMGHELPER,drawgrid") out+=("^sep($CONFIGURATION)")