=== removed file 'xsession-skel/home/ccx/bin/autoxrandr' --- old/xsession-skel/home/ccx/bin/autoxrandr 2021-03-12 20:27:22 +0000 +++ new/xsession-skel/home/ccx/bin/autoxrandr 1970-01-01 00:00:00 +0000 @@ -1,20 +0,0 @@ -#!/bin/sh - -# query output information with EDID using xrandr, format it into single line, match and apply rules. -xrandr --verbose | awk ' -/^Screen /{ next } -/^[^ \t]/{ cur_out=$1; out_conn[$1]=$2; next; } -/^\tEDID: $/{ edid=1; next } -edid && /^\t\t[0-9a-f]{32}$/{ out_edid[cur_out]=out_edid[cur_out] $1; next } -{ edid=0 } -END{ for(out in out_conn){ printf("%s %s %s\n", out, out_conn[out], out_edid[out]) } } -' | while IFS= read line; do - case "$line" in - - # Tygr, větší monitor Samsung - ("HDMI1 connected 00ffffffffffff004c2dcb09353436301a19010380351e782a4ba1a359559b260e5054bfef80714f81c0810081809500a9c0b3000101023a801871382d40582c4500132b2100001e000000fd00384b1e5111000a202020202020000000fc00533234433435300a2020202020000000ff00483446473630363632360a2020016802010400023a80d072382d40102c4580132b2100001e011d007251d01e206e285500132b2100001e011d00bc52d01e20b8285540132b2100001e8c0ad090204031200c405500132b210000188c0ad08a20e02d10103e9600132b210000180000000000000000000000000000000000000000000000000000000000000000000e") - xrandr --output ${line%% *} --left-of LVDS1 - ;; - - esac -done === modified file 'xsession-skel/home/ccx/bin/powerbox-menu' --- old/xsession-skel/home/ccx/bin/powerbox-menu 2021-03-12 20:27:22 +0000 +++ new/xsession-skel/home/ccx/bin/powerbox-menu 2021-03-09 11:58:09 +0000 @@ -8,17 +8,9 @@ exit adjust-brightness\!{20,60,100}% ) -# cmds+=( "${(f@)"$( -# sed 's|.*|abduco!&!shell!zsh -li|' ~/.config/containers/list -# )"}" ) - cmds+=( "${(f@)"$( -awk '{ - printf("abduco!%s!shell!zsh -li\n", $0); - printf("abduco!%s!tmux!tmux new-session -s abduco -A\n", $0); -}' ~/.config/containers/list + sed 's|.*|abduco!&!shell!zsh -li|' ~/.config/containers/list )"}" ) - cmds+=( 'ssh!dorje' ) choice=$( dmenu -fn 'Fixed:semicondensed:pixelsize=13:lang=cs' <<<${(F)cmds} ) [[ -n $choice ]] && exec powerbox-plumb "$choice" === removed directory 'xsession-skel/home/ccx/s6-rc/source/autoxrandr' === removed file 'xsession-skel/home/ccx/s6-rc/source/autoxrandr/dependencies' --- old/xsession-skel/home/ccx/s6-rc/source/autoxrandr/dependencies 2021-03-12 20:27:22 +0000 +++ new/xsession-skel/home/ccx/s6-rc/source/autoxrandr/dependencies 1970-01-01 00:00:00 +0000 @@ -1,1 +0,0 @@ -xauthority === removed file 'xsession-skel/home/ccx/s6-rc/source/autoxrandr/type' --- old/xsession-skel/home/ccx/s6-rc/source/autoxrandr/type 2021-03-12 20:27:22 +0000 +++ new/xsession-skel/home/ccx/s6-rc/source/autoxrandr/type 1970-01-01 00:00:00 +0000 @@ -1,1 +0,0 @@ -oneshot === removed file 'xsession-skel/home/ccx/s6-rc/source/autoxrandr/up' --- old/xsession-skel/home/ccx/s6-rc/source/autoxrandr/up 2021-03-12 20:27:22 +0000 +++ new/xsession-skel/home/ccx/s6-rc/source/autoxrandr/up 1970-01-01 00:00:00 +0000 @@ -1,3 +0,0 @@ -importas -i HOME HOME -env XAUTHORITY=${HOME}/.Xauthority -foreground { ${HOME}/bin/autoxrandr } === modified file 'xsession-skel/home/ccx/s6-rc/source/ok-all/contents' --- old/xsession-skel/home/ccx/s6-rc/source/ok-all/contents 2021-03-12 20:27:22 +0000 +++ new/xsession-skel/home/ccx/s6-rc/source/ok-all/contents 2021-03-12 20:03:23 +0000 @@ -7,4 +7,3 @@ setroot xautolock port-forward -autoxrandr === modified file 'xsession-skel/home/ccx/s6-rc/source/setroot/dependencies' --- old/xsession-skel/home/ccx/s6-rc/source/setroot/dependencies 2021-03-12 20:27:22 +0000 +++ new/xsession-skel/home/ccx/s6-rc/source/setroot/dependencies 2021-01-07 14:25:02 +0000 @@ -1,2 +1,1 @@ xauthority -autoxrandr