update
parent
8668b41624
commit
254f626f23
|
@ -21,7 +21,6 @@ case $jgmenu_theme in
|
||||||
export color_norm_fg="#FFFFFF "
|
export color_norm_fg="#FFFFFF "
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
#echo "BG$color_menu_bg"
|
|
||||||
|
|
||||||
|
|
||||||
gtkbookmarks() {
|
gtkbookmarks() {
|
||||||
|
@ -451,6 +450,7 @@ case $LANG in
|
||||||
SEC5="Za 5 sekund"
|
SEC5="Za 5 sekund"
|
||||||
SEC10="Za 10 sekund"
|
SEC10="Za 10 sekund"
|
||||||
BACK="wróć"
|
BACK="wróć"
|
||||||
|
OPEN_SCR_DIR="Otwórz katalog ze zrzutami ekranu"
|
||||||
CANCEL="Anuluj"
|
CANCEL="Anuluj"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -463,10 +463,10 @@ case $LANG in
|
||||||
SEC5="In 5 seconds"
|
SEC5="In 5 seconds"
|
||||||
SEC10="In 10 seconds"
|
SEC10="In 10 seconds"
|
||||||
BACK="back"
|
BACK="back"
|
||||||
|
OPEN_SCR_DIR="Open screenshot directory"
|
||||||
CANCEL="Cancel"
|
CANCEL="Cancel"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
#Lokalne zmienne;
|
|
||||||
JGWIDTH="340"
|
JGWIDTH="340"
|
||||||
MENU_PADDING_TOP=213
|
MENU_PADDING_TOP=213
|
||||||
MENU_HALIGN="center"
|
MENU_HALIGN="center"
|
||||||
|
@ -476,7 +476,9 @@ ITEM_HEIGHT=25
|
||||||
font='Noto Sans Medium 10'
|
font='Noto Sans Medium 10'
|
||||||
MENU_RADIUS=${RADIUS:-0}
|
MENU_RADIUS=${RADIUS:-0}
|
||||||
|
|
||||||
IMG="$(xdg-user-dir PICTURES)/Mabox_%Y-%m-%d-%H:%M:%s.png"
|
[ -d $(xdg-user-dir PICTURES)/screenshots ] || mkdir -p $(xdg-user-dir PICTURES)/screenshots
|
||||||
|
|
||||||
|
IMG="$(xdg-user-dir PICTURES)/screenshots/Mabox_%Y-%m-%d-%H:%M:%s.png"
|
||||||
VIEW="'viewnior $IMG'"
|
VIEW="'viewnior $IMG'"
|
||||||
|
|
||||||
THUMB="$(DISPLAY=:0 scrot -t 340x213 -o /tmp/jgscrot.png -e 'echo $m')"
|
THUMB="$(DISPLAY=:0 scrot -t 340x213 -o /tmp/jgscrot.png -e 'echo $m')"
|
||||||
|
@ -491,6 +493,8 @@ cat <<EOF > ${MENU_ITEMS}
|
||||||
$ACTIVE_WIN_NO_DECOR,^root(borderless)
|
$ACTIVE_WIN_NO_DECOR,^root(borderless)
|
||||||
$SELECTED,scrot -s $IMG -e $VIEW
|
$SELECTED,scrot -s $IMG -e $VIEW
|
||||||
# Multimonitor, scrot -m $IMG -e $VIEW
|
# Multimonitor, scrot -m $IMG -e $VIEW
|
||||||
|
^sep()
|
||||||
|
$OPEN_SCR_DIR,xdg-open $(xdg-user-dir PICTURES)/screenshots
|
||||||
^sep()
|
^sep()
|
||||||
$CANCEL <small>esc</small>,exit 1
|
$CANCEL <small>esc</small>,exit 1
|
||||||
^tag(full)
|
^tag(full)
|
||||||
|
|
Loading…
Reference in New Issue