=== modified file 'xsession-skel/home/ccx/.config/containers/list' --- old/xsession-skel/home/ccx/.config/containers/list 2021-05-25 09:57:58 +0000 +++ new/xsession-skel/home/ccx/.config/containers/list 2021-01-07 14:25:02 +0000 @@ -1,4 +1,3 @@ alpine-dev.ccx alpine-browsers.ccx alpine-games.ccx -void-musl-gajim.ccx === modified file 'xsession-skel/home/ccx/bin/powerbox-menu' --- old/xsession-skel/home/ccx/bin/powerbox-menu 2021-05-25 09:57:58 +0000 +++ new/xsession-skel/home/ccx/bin/powerbox-menu 2021-03-12 20:27:22 +0000 @@ -20,14 +20,5 @@ )"}" ) cmds+=( 'ssh!dorje' ) - -for sock in /run/vnc.59*(N); do - cmds+=( "!gvncviewer 127.0.0.1:${sock##*/vnc.59}" ) -done - choice=$( dmenu -fn 'Fixed:semicondensed:pixelsize=13:lang=cs' <<<${(F)cmds} ) -case $choice in - ('!'*) eval ${choice#!};; - ('') exit 0;; - (*) exec powerbox-plumb "$choice";; -esac +[[ -n $choice ]] && exec powerbox-plumb "$choice" === modified file 'xsession-skel/home/ccx/bin/run-in-container-xpra' --- old/xsession-skel/home/ccx/bin/run-in-container-xpra 2021-05-25 09:57:58 +0000 +++ new/xsession-skel/home/ccx/bin/run-in-container-xpra 2021-01-20 17:22:40 +0000 @@ -22,14 +22,14 @@ all=( $map/*=*(N) ) all=( ${${all:t}%%=*} ) for n in {${${DISPLAY%%.*}#:}00..${${DISPLAY%%.*}#:}99}; do - if (( $all[(I)$n] == 0 )); then + if (( $all[(I)n] == 0 )); then display=$n touch $map/$display=$container break fi done if [[ -z $display ]]; then - exit 2 # All 99 displays occupier?! + exit 2 # All 999 displays occupier?! fi else display=${${running[1]:t}%%=*} @@ -58,7 +58,7 @@ mkdir -p /run/service/xpra-xorg.$display/{env,data} || exit $? touch /run/service/xpra-xorg.$display/down || exit $? echo 3 >/run/service/xpra-xorg.$display/notification-fd || exit $? - ln -s -f ${commands[service.xpra-xorg.run]} /run/service/xpra-xorg.$display/run || exit $? + ln -s -f ${commands[service.xpra-xorg.run]} /run/service/xpra-xorg.$display/run | exit $? (( signal_svscan++ )) fi