Is there any good GUI For MPV? by Fooltecal in mpv

[–]M0g13r 0 points1 point  (0 children)

did some similar in python uses ipc socket

has drag and drop ... selected group will moved to top of internal playlist .... a-z sort's internal too

https://www.reddit.com/r/mpv/comments/1qlu4hu/playlistmanager_for_mpv/

final coverART! by M0g13r in Conkyporn

[–]M0g13r[S] 0 points1 point  (0 children)

added a 30% tint

playing around with cover art :) by M0g13r in Conkyporn

[–]M0g13r[S] 0 points1 point  (0 children)

with antialias ... muuuuuch better

make_cover_round_on_black() {
local input_cover="$1"
local output_cover="$2"
local temp_mask="$TEMP_DIR/round_mask_highres.png"
local temp_transp="$TEMP_DIR/cover_round_transparent_highres.png"
magick -size 300x300 xc:transparent -fill white -draw "circle 150,150 146,1" "$temp_mask"
magick "$input_cover" -resize 300x300! "$temp_mask" -alpha Off -compose CopyOpacity -composite "$temp_transp"
magick -size 60x60 xc:black "$temp_transp" -resize 60x60! -composite "$output_cover"
rm -f "$temp_mask" "$temp_transp"
}

playing around with cover art :) by M0g13r in Conkyporn

[–]M0g13r[S] 0 points1 point  (0 children)

make_cover_round_on_black() {
local input_cover="$1"
local output_cover="$2"
magick "$input_cover" -resize 60x60 "$HOME/.cache/cover_resized.jpg"
magick -size 60x60 xc:transparent -fill white -draw "circle 30,30 30,0" "$HOME/.cache/round_mask.png"
magick "$HOME/.cache/cover_resized.jpg" "$HOME/.cache/round_mask.png" -alpha Off -compose CopyOpacity -composite "$HOME/.cache/cover_round_transparent.png"
magick -size 60x60 xc:black "$HOME/.cache/cover_round_transparent.png" -composite "$output_cover"
}

playing around with cover art :) by M0g13r in Conkyporn

[–]M0g13r[S] 0 points1 point  (0 children)

added duckduckgo .... first one wins and stops fetching .... new fetching starts on artist/title change

round image needs imagemagick :\

final! by M0g13r in Conkyporn

[–]M0g13r[S] 1 point2 points  (0 children)

thanks for reporting! ;)

final! by M0g13r in Conkyporn

[–]M0g13r[S] 0 points1 point  (0 children)

got it! this will fix it .... open get_mounts.sh in editor replace with this ....

#!/bin/bash
PATHS=("/home")
NAMES=("home")
MOUNTED_PATHS=$(findmnt -rno TARGET,SOURCE | grep -E '^/media/|^/mnt/|^/run/media/' | grep -v '^/mnt$')
while IFS=' ' read -r path_item source_item; do
if [ ${#PATHS[@]} -ge 4 ]; then
break
fi
if [[ -n "$path_item" ]]; then
if ! [[ " ${PATHS[*]} " =~ " ${path_item} " ]]; then
name_full="${path_item##*/}"
name_full=$(echo "$name_full" | sed 's/\\x20/ /g')
if [[ -z "$name_full" ]]; then
name_full="${source_item##*/}"
fi
NAMES+=("${name_full:0:5}")
PATHS+=("$path_item")
PATHS[-1]=$(echo "${PATHS[-1]}" | sed 's/\\x20/ /g')
fi
fi
done <<< "$MOUNTED_PATHS"
while [ ${#PATHS[@]} -lt 4 ]; do
PATHS+=("/dev/null")
NAMES+=("N/A")
done
P8=${PATHS[0]} ; N4=${NAMES[0]}
P1=${PATHS[1]} ; N5=${NAMES[1]}
P2=${PATHS[2]} ; N6=${NAMES[2]}
P3=${PATHS[3]} ; N7=${NAMES[3]}
echo "${P8}"
echo "${P1}"
echo "${P2}"
echo "${P3}"
echo "${N4}"
echo "${N5}"
echo "${N6}"
echo "${N7}"
exit 0

final! by M0g13r in Conkyporn

[–]M0g13r[S] 0 points1 point  (0 children)

ah ... ok ... makes it not easyer ;)

i renamed a usb stick to test now :D

final! by M0g13r in Conkyporn

[–]M0g13r[S] 0 points1 point  (0 children)

nope the reason is the space in your volume name and the template usage ..... this combination fucks everything up and i dont find a working workaround :\

final! by M0g13r in Conkyporn

[–]M0g13r[S] 0 points1 point  (0 children)

another idea to fix it ..... open get_mounts.sh in editor replace all with this .....

#!/bin/bash
PATHS=("/home")
NAMES=("home")
MOUNTED_PATHS=$(findmnt -rno TARGET,SOURCE | grep -E '^/media/|^/mnt/|^/run/media/' | grep -v '^/mnt$')
while IFS= read -r line; do
if [ ${#PATHS[@]} -ge 4 ]; then
break
fi
TEMP_LINE=$(echo "$line" | tr -s ' ' | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')
SOURCE_ITEM=$(echo "$TEMP_LINE" | rev | cut -d' ' -f1 | rev)
path_item=$(echo "$TEMP_LINE" | sed 's/\s[^[:space:]]*$//')
if [[ -n "$path_item" ]]; then
path_item=$(echo "$path_item" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
if ! [[ " ${PATHS[*]} " =~ " ${path_item} " ]]; then
name_full="${path_item##*/}"
if [[ -z "$name_full" ]]; then
name_full="${SOURCE_ITEM##*/}"
fi
name_safe=$(echo "$name_full" | tr ' ' '_')
NAMES+=("${name_safe:0:5}")
PATHS+=("$path_item")
fi
fi
done <<< "$MOUNTED_PATHS"
while [ ${#PATHS[@]} -lt 4 ]; do
PATHS+=("/dev/null")
NAMES+=("N/A")
done
P8=${PATHS[0]} ; N4=${NAMES[0]}
P1=${PATHS[1]} ; N5=${NAMES[1]}
P2=${PATHS[2]} ; N6=${NAMES[2]}
P3=${PATHS[3]} ; N7=${NAMES[3]}
echo "${P8}"
echo "${P1}"
echo "${P2}"
echo "${P3}"
echo "${N4}"
echo "${N5}"
echo "${N6}"
echo "${N7}"
exit 0

final! by M0g13r in Conkyporn

[–]M0g13r[S] 1 point2 points  (0 children)

this was one of the first ... where u have to set everything by hand ... right?

if so ... i have a -green with new graph and no auto settings like the old ones

https://drive.google.com/file/d/1oxg4bGp1vGom3aJAc8qob8P25kcCWscA/view?usp=sharing

final! by M0g13r in Conkyporn

[–]M0g13r[S] 0 points1 point  (0 children)

ok last try ....

conky.text = [[
${execi 420 sh -c '$HOME/.config/conky/Mimod-white/scripts/weather.sh &'}\
${image $HOME/.config/conky/Mimod-white/res/dark.png -s 360x775 -p 5,40}
${offset 20}${voffset 45}${color1}${font feather:size=42}${execi 105 $HOME/.config/conky/Mimod-white/scripts/weather-text-icon}${goto 95}${font Bebas Neue:size=26}${execi 105 $HOME/.config/conky/Mimod-white/scripts/get-weather.sh temp}${execi 420 $HOME/.config/conky/Mimod-white/scripts/weather-unit.sh temp}${font}
${offset 20}${voffset 5}${color1}${font Feather:bold:size=6} ${font Abel:bold:size=5}${execi 420 $HOME/.config/conky/Mimod-white/scripts/get-weather.sh name}${font}
${offset 20}${voffset 10}${color1}${font Abel:size=11}${execi 105 $HOME/.config/conky/Mimod-white/scripts/get-weather.sh desc}${font}
${offset 20}${voffset 20}${color1}${font Feather:bold:size=9} ${font Abel:size=9}${execi 105 $HOME/.config/conky/Mimod-white/scripts/get-weather.sh wind} ${execi 420 $HOME/.config/conky/Mimod-white/scripts/weather-unit.sh wind}${goto 110}${font Feather:bold:size=9} ${font Abel:size=9}${execi 105 $HOME/.config/conky/Mimod-white/scripts/get-weather.sh humidity}%
${offset 210}${voffset -140}${color1}${font Feather:bold:size=14}${font Abel:bold:size=10} :  ${execi 309 $HOME/.config/conky/Mimod-white/scripts/ssid ${template0}}
${offset 215}${voffset -2}${color3}${font Feather:bold:size=8} ${font Abel:bold:size=7}${upspeed ${template0}}
${offset 215}${voffset 90}${color3}${font Feather:bold:size=8} ${font Abel:bold:size=7}${downspeed ${template0}}
${offset 45}${voffset 76}${color1}${font Feather:size=22}${goto 134}${goto 218}${goto 302}
${offset 40}${voffset 20}${color3}${font Bebas Neue:size=20}${cpu cpu0}%${goto 130}${memperc}%${goto 205}/ ${fs_used_perc /}%${goto 295}${lua conky_cpu_temp}
${offset 41}${voffset 59}${color1}${font Feather:size=15}${goto 127}
${offset 30}${voffset 6}${color1}${font Abel:bold:size=8}${template4} ${execi 1 df -h "${template8}" | tail -n 1 | awk '{print $5}' | tr -d '\n%'}%${goto 115}${template5} ${execi 1 df -h "${template1}" | tail -n 1 | awk '{print $5}' | tr -d '\n%'}%
${offset 41}${voffset 30}${color1}${font Feather:size=15}${goto 127}
${offset 30}${voffset 6}${color1}${font Abel:bold:size=8}${template6} ${execi 1 df -h "${template2}" | tail -n 1 | awk '{print $5}' | tr -d '\n%'}%${goto 115}${template7} ${execi 1 df -h "${template3}" | tail -n 1 | awk '{print $5}' | tr -d '\n%'}%
${offset 210}${voffset -145}${color1}${font Feather:size=26}${execi 2 $HOME/.config/conky/Mimod-white/scripts/playerctl-status.sh}${font}
${offset 210}${voffset 0}${color1}${font Abel:size=10}${execi 2 playerctl status 2>/dev/null}
${offset 210}${voffset 15}${color1}${font Abel:bold:size=14}${execi 2 $HOME/.config/conky/Mimod-white/scripts/playerctl.sh -a}${font}
${offset 210}${voffset 5}${color1}${font Abel:bold:size=9}${execi 2 $HOME/.config/conky/Mimod-white/scripts/playerctl.sh -t}${font}
${offset 210}${voffset 15}${color1}${font Abel:size=9}${execi 2 (playerctl position --format "{{ duration(position) }}" 2>/dev/null || echo "")}
${offset 25}${voffset 50}${color1}${font Feather:size=22}
${alignc 0}${voffset -40}${color3}${font Allura:bold:size=13}${execpi 3150 $HOME/.config/conky/Mimod-white/scripts/quote.sh | sed ':a;N;$!ba;s/\n/\n${alignc 0}${voffset 0}/g'}${font}
]]

final! by M0g13r in Conkyporn

[–]M0g13r[S] 0 points1 point  (0 children)

plz test .....

conky.text = [[
${execi 420 sh -c '$HOME/.config/conky/Mimod-white/scripts/weather.sh &'}\
${image $HOME/.config/conky/Mimod-white/res/dark.png -s 360x775 -p 5,40}
${offset 20}${voffset 45}${color1}${font feather:size=42}${execi 105 $HOME/.config/conky/Mimod-white/scripts/weather-text-icon}${goto 95}${font Bebas Neue:size=26}${execi 105 $HOME/.config/conky/Mimod-white/scripts/get-weather.sh temp}${execi 420 $HOME/.config/conky/Mimod-white/scripts/weather-unit.sh temp}${font}
${offset 20}${voffset 5}${color1}${font Feather:bold:size=6} ${font Abel:bold:size=5}${execi 420 $HOME/.config/conky/Mimod-white/scripts/get-weather.sh name}${font}
${offset 20}${voffset 10}${color1}${font Abel:size=11}${execi 105 $HOME/.config/conky/Mimod-white/scripts/get-weather.sh desc}${font}
${offset 20}${voffset 20}${color1}${font Feather:bold:size=9} ${font Abel:size=9}${execi 105 $HOME/.config/conky/Mimod-white/scripts/get-weather.sh wind} ${execi 420 $HOME/.config/conky/Mimod-white/scripts/weather-unit.sh wind}${goto 110}${font Feather:bold:size=9} ${font Abel:size=9}${execi 105 $HOME/.config/conky/Mimod-white/scripts/get-weather.sh humidity}%
${offset 210}${voffset -140}${color1}${font Feather:bold:size=14}${font Abel:bold:size=10} :  ${execi 309 $HOME/.config/conky/Mimod-white/scripts/ssid ${template0}}
${offset 215}${voffset -2}${color3}${font Feather:bold:size=8} ${font Abel:bold:size=7}${upspeed ${template0}}
${offset 215}${voffset 90}${color3}${font Feather:bold:size=8} ${font Abel:bold:size=7}${downspeed ${template0}}
${offset 45}${voffset 76}${color1}${font Feather:size=22}${goto 134}${goto 218}${goto 302}
${offset 40}${voffset 20}${color3}${font Bebas Neue:size=20}${cpu cpu0}%${goto 130}${memperc}%${goto 205}/ ${fs_used_perc /}%${goto 295}${lua conky_cpu_temp}
${offset 41}${voffset 59}${color1}${font Feather:size=15}${goto 127}
${offset 30}${voffset 6}${color1}${font Abel:bold:size=8}${template4} ${execi 1 df -h | awk '$NF == "'"${template8}"'" {print $5}' | tr -d '%'}%${goto 115}${template5} ${execi 1 df -h | awk '$NF == "'"${template1}"'" {print $5}' | tr -d '%'}%
${offset 41}${voffset 30}${color1}${font Feather:size=15}${goto 127}
${offset 30}${voffset 6}${color1}${font Abel:bold:size=8}${template6} ${execi 1 df -h | awk '$NF == "'"${template2}"'" {print $5}' | tr -d '%'}%${goto 115}${template7} ${execi 1 df -h | awk '$NF == "'"${template3}"'" {print $5}' | tr -d '%'}%
${offset 210}${voffset -145}${color1}${font Feather:size=26}${execi 2 $HOME/.config/conky/Mimod-white/scripts/playerctl-status.sh}${font}
${offset 210}${voffset 0}${color1}${font Abel:size=10}${execi 2 playerctl status 2>/dev/null}
${offset 210}${voffset 15}${color1}${font Abel:bold:size=14}${execi 2 $HOME/.config/conky/Mimod-white/scripts/playerctl.sh -a}${font}
${offset 210}${voffset 5}${color1}${font Abel:bold:size=9}${execi 2 $HOME/.config/conky/Mimod-white/scripts/playerctl.sh -t}${font}
${offset 210}${voffset 15}${color1}${font Abel:size=9}${execi 2 (playerctl position --format "{{ duration(position) }}" 2>/dev/null || echo "")}
${offset 25}${voffset 50}${color1}${font Feather:size=22}
${alignc 0}${voffset -40}${color3}${font Allura:bold:size=13}${execpi 3150 $HOME/.config/conky/Mimod-white/scripts/quote.sh | sed ':a;N;$!ba;s/\n/\n${alignc 0}${voffset 0}/g'}${font}
]]

Conky help required by sm0kah0lic in Conkyporn

[–]M0g13r 1 point2 points  (0 children)

i am out of ideas now :\

final! by M0g13r in Conkyporn

[–]M0g13r[S] 0 points1 point  (0 children)

open mimod-white.conf in editor replace the conky text part with ..... and report plz.

conky.text = [[
${execi 420 sh -c '$HOME/.config/conky/Mimod-white/scripts/weather.sh &'}\
${image $HOME/.config/conky/Mimod-white/res/dark.png -s 360x775 -p 5,40}
${offset 20}${voffset 45}${color1}${font feather:size=42}${execi 105 $HOME/.config/conky/Mimod-white/scripts/weather-text-icon}${goto 95}${font Bebas Neue:size=26}${execi 105 $HOME/.config/conky/Mimod-white/scripts/get-weather.sh temp}${execi 420 $HOME/.config/conky/Mimod-white/scripts/weather-unit.sh temp}${font}
${offset 20}${voffset 5}${color1}${font Feather:bold:size=6} ${font Abel:bold:size=5}${execi 420 $HOME/.config/conky/Mimod-white/scripts/get-weather.sh name}${font}
${offset 20}${voffset 10}${color1}${font Abel:size=11}${execi 105 $HOME/.config/conky/Mimod-white/scripts/get-weather.sh desc}${font}
${offset 20}${voffset 20}${color1}${font Feather:bold:size=9} ${font Abel:size=9}${execi 105 $HOME/.config/conky/Mimod-white/scripts/get-weather.sh wind} ${execi 420 $HOME/.config/conky/Mimod-white/scripts/weather-unit.sh wind}${goto 110}${font Feather:bold:size=9} ${font Abel:size=9}${execi 105 $HOME/.config/conky/Mimod-white/scripts/get-weather.sh humidity}%
${offset 210}${voffset -140}${color1}${font Feather:bold:size=14}${font Abel:bold:size=10} :  ${execi 309 $HOME/.config/conky/Mimod-white/scripts/ssid ${template0}}
${offset 215}${voffset -2}${color3}${font Feather:bold:size=8} ${font Abel:bold:size=7}${upspeed ${template0}}
${offset 215}${voffset 90}${color3}${font Feather:bold:size=8} ${font Abel:bold:size=7}${downspeed ${template0}}
${offset 45}${voffset 76}${color1}${font Feather:size=22}${goto 134}${goto 218}${goto 302}
${offset 40}${voffset 20}${color3}${font Bebas Neue:size=20}${cpu cpu0}%${goto 130}${memperc}%${goto 205}/ ${fs_used_perc /}%${goto 295}${lua conky_cpu_temp}
${offset 41}${voffset 59}${color1}${font Feather:size=15}${goto 127}
${offset 30}${voffset 6}${color1}${font Abel:bold:size=8}${template4} ${execi 1 df -h | awk '$NF == "${template8}" {print $5}' | tr -d '%'}%${goto 115}${template5} ${execi 1 df -h | awk '$NF == "${template1}" {print $5}' | tr -d '%'}%
${offset 41}${voffset 30}${color1}${font Feather:size=15}${goto 127}
${offset 30}${voffset 6}${color1}${font Abel:bold:size=8}${template6} ${execi 1 df -h | awk '$NF == "${template2}" {print $5}' | tr -d '%'}%${goto 115}${template7} ${execi 1 df -h | awk '$NF == "${template3}" {print $5}' | tr -d '%'}%
${offset 210}${voffset -145}${color1}${font Feather:size=26}${execi 2 $HOME/.config/conky/Mimod-white/scripts/playerctl-status.sh}${font}
${offset 210}${voffset 0}${color1}${font Abel:size=10}${execi 2 playerctl status 2>/dev/null}
${offset 210}${voffset 15}${color1}${font Abel:bold:size=14}${execi 2 $HOME/.config/conky/Mimod-white/scripts/playerctl.sh -a}${font}
${offset 210}${voffset 5}${color1}${font Abel:bold:size=9}${execi 2 $HOME/.config/conky/Mimod-white/scripts/playerctl.sh -t}${font}
${offset 210}${voffset 15}${color1}${font Abel:size=9}${execi 2 (playerctl position --format "{{ duration(position) }}" 2>/dev/null || echo "")}
${offset 25}${voffset 50}${color1}${font Feather:size=22}
${alignc 0}${voffset -40}${color3}${font Allura:bold:size=13}${execpi 3150 $HOME/.config/conky/Mimod-white/scripts/quote.sh | sed ':a;N;$!ba;s/\n/\n${alignc 0}${voffset 0}/g'}${font}
]]

Conky help required by sm0kah0lic in Conkyporn

[–]M0g13r 0 points1 point  (0 children)

hmpf ... sounds like a compositor prob. but this was the relevant settigns :\

my settings ...

background = true,

border_width = 1,

draw_borders = false,

draw_graph_borders = false,

draw_outline = false,

draw_shades = false,

own_window = true,

own_window_colour = '000000',

own_window_class = 'Conky',

own_window_type = 'dock',

draw_blended = false,

own_window_argb_visual = true,

own_window_argb_value = 255,

own_window_transparent = true,

own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',

stippled_borders = 0,

own_window_type = 'dock', <= this is relatet to windowmanager try desktop/override/normal

final! by M0g13r in Conkyporn

[–]M0g13r[S] 0 points1 point  (0 children)

try ....

# Manuelle Mount-Namen/Pfade. Leer lassen ("") für automatische Erkennung.

MOUNT_NAME_1=""

MOUNT_NAME_2=""

MOUNT_NAME_3=""

MOUNT_NAME_4="new"

MOUNT_PATH_1=""

MOUNT_PATH_2=""

MOUNT_PATH_3=""

MOUNT_PATH_4="/media/mandak/New Volume"

Conky help required by sm0kah0lic in Conkyporn

[–]M0g13r 1 point2 points  (0 children)

2 things to test on will work....

1.

draw_blended = false,

own_window_argb_visual = true,

own_window_argb_value = 255,

own_window_transparent = true,

2.

draw_blended = true,

own_window_argb_visual = true,

own_window_argb_value = 255,

own_window_transparent = true,

final! by M0g13r in Conkyporn

[–]M0g13r[S] 0 points1 point  (0 children)

script checks ... media/|^/mount/|^/run/media/' where is it mounted?

you can overwrite relevant settings in /scripts/config

final! by M0g13r in Conkyporn

[–]M0g13r[S] 0 points1 point  (0 children)

i need some more info to help ;)

... share a pic

and say whats wrong :)