From f0a8aed1985ae88f350b783a337722e1e49197d2 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Sun, 23 May 2021 14:54:33 +0200 Subject: [PATCH] upd --- usr/bin/jgdeskgrid | 3 ++- usr/bin/jgdeskmngr | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/usr/bin/jgdeskgrid b/usr/bin/jgdeskgrid index adab145..e1e9933 100755 --- a/usr/bin/jgdeskgrid +++ b/usr/bin/jgdeskgrid @@ -45,10 +45,11 @@ ROWS=${rows:-6} TITLEBAR_HEIGHT=${titlebar_height:-18} me="mb-jgtools $jgtools_last" +help='\n\nUse Ctrl+Shift+Keypad_Keys to move windows on the grid\nCtrl+Shift+LeftMouseClick on appropriate area of the window to snap it in a given direction.\nSee: video on YT\n\n If you need even more control of windows size and position on the grid - use super + LeftMouseClick on window and then draw rectangle on the screen to select new window size and position.\nSee: deskgrid preview on YT\n\nConfigurable settings:\n- columns\n- rows\n- gap\n- show_outer_gap' out+=("^sep(DeskGrid)") +out+=("About DeskGrid,notify-send.sh -u critical -i mbcc 'DeskGrid - arrange your windows on the grid' '$help' -o 'Edit configuration file:geany ~/.config/deskgrid/deskgrid.cfg'") out+=("Show image helper,drawgrid") -#out+=("About,") out+=("^sep(Configuration)") out+=("Columns [ $COLUMNS ],^checkout(columns)") out+=("Rows [ $ROWS ],^checkout(rows)") diff --git a/usr/bin/jgdeskmngr b/usr/bin/jgdeskmngr index d503773..2c6aefc 100755 --- a/usr/bin/jgdeskmngr +++ b/usr/bin/jgdeskmngr @@ -18,7 +18,10 @@ esac SESSIONDIR="$HOME/.config/deskmngr/" mkdir -p $SESSIONDIR +help='\nSave all opened windows from active desktop as session.\nRestore saved session later on desktop of your choice.\n\n (beta)' + out+=("^sep(Desktop session Manager)") +out+=("About DeskMngr,\"\"\"notify-send.sh -u critical -i mbcc 'DeskMngr - save and restore sessions' '$help'\"\"\"") out+=("^sep(Saved sessions )") i="0" while IFS= read -r line