This commit is contained in:
Daniel Napora 2024-09-16 00:50:38 +02:00
parent dbd4386fb9
commit 0b5fbbf53c
5 changed files with 10 additions and 5 deletions

View File

@ -124,6 +124,7 @@ case "$LANG" in
RESETCOLORS="Przywróć domyślne kolory"
AREYOUSURE="Czy aby napewno?"
_COLORIZER_ROOT="<b>Colorizer</b> - menu główne"
LEFTSIDEPANEL="Lewy panel boczny"
;;
*)
COLORIZECONKY="Conky Manager"
@ -181,6 +182,7 @@ case "$LANG" in
RESETCOLORS="Restore default colors"
AREYOUSURE="Are you sure?"
_COLORIZER_ROOT="<b>Colorizer</b> rootmenu"
LEFTSIDEPANEL="Left Sidepanel"
;;
esac
@ -477,6 +479,7 @@ if [[ "$1" == "-s" ]]; then
out+=("^sep()")
out+=(" ${arrow_string_left} $_COLORIZER_ROOT,colorizer -s")
out+=(" ${arrow_string_left} ${arrow_string_left} $LEFTSIDEPANEL,mb-jgtools places")
if [[ "$colorizer_size" == "full" ]];then
eval $(xdotool getdisplaygeometry --shell)

View File

@ -1,7 +1,7 @@
#!/bin/bash
#
# colorizer - set of tools for Mabox (auto)theming
# Copyright (C) 2022-2023 Daniel Napora <napcok@gmail.com>
# Copyright (C) 2022-2024 Daniel Napora <napcok@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by

View File

@ -1020,7 +1020,9 @@ cmdmenu () {
label=${line%,*}
done <<< $(grep -v '^\s*$\|^#\|^\s*#' ${CONKYDIR}/menuscripts/${name}.csv)
#notify-send.sh "${label}" "${cmd[@]}"
sleep .1
${cmd[@]}
exit 0
else
# more than 1 lines - show menu
CUSTOMCOMMANDS=". ${CONKYDIR}/menuscripts/${name}.csv"
@ -1031,7 +1033,7 @@ cmdmenu () {
# otherwise build and show standalone menu with custom commands
sleep .2
sleep .1
read WINTRANS <<< "$(grep own_window_transparent ${CONKYCFG} | cut -d'=' -f2 | cut -d"," -f1)"
read FONTDEF <<< "$(grep "font .*=.*,$" ${CONKYCFG} | cut -d'=' -f2,3 |cut -d"'" -f2)"
FONT=${FONTDEF%:*}
@ -1378,7 +1380,7 @@ case "$1" in
toggleone) toggleone "$2";;
restartone) restartone "$2";;
contextmenu) contextmenu;;
cmdmenu) cmdmenu;;
cmdmenu) cmdmenu "$2";;
cmdmenu_edit) cmdmenu_edit "$2";;
makemoveableall) makemoveableall;;
saveposall) saveposall;;

View File

@ -135,7 +135,7 @@ h5 {font-size: 2vw !important;border-bottom: 1px solid;padding-left: 1em;}
</nav>
<div class="fixeddown">
<div class="center small" style="margin: 0 4px 4px 2px;">
<p><a class="tag small indigo" href="run://pcmanwp"> Wallpaper...</a> <a class="tag small indigo" href="run://mbwallpaper -o"></a></p>
<p><a class="tag small indigo" href="run://jgwallpaperchanger -s"> Wallpaper...</a> <a class="tag small indigo" href="run://mbwallpaper -o"></a></p>
<p><em>dynamic menus:</em></p>
<p>
<a class="tag small purple" href="run://colorizer -s"> Colorizer</a><br />

View File

@ -136,7 +136,7 @@ h5 {font-size: 2vw !important;border-bottom: 1px solid;padding-left: 1em;}
</nav>
<div class="fixeddown">
<div class="center small" style="margin: 0 4px 4px 2px;">
<p><a class="tag small indigo" href="run://pcmanwp"> Wybierz tapetę</a> <a class="tag small indigo" href="run://mbwallpaper -o"></a></p>
<p><a class="tag small indigo" href="run://jgwallpaperchanger -s"> Wybierz tapetę</a> <a class="tag small indigo" href="run://mbwallpaper -o"></a></p>
<p><em>dynamiczne menu</em></p>
<p>
<a class="tag small purple" href="run://colorizer -s"> Colorizer</a><br />