mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-05 23:26:23 +01:00
fixed pc-get
This commit is contained in:
parent
7b14f9a283
commit
13822863d5
|
@ -3,7 +3,7 @@ mkdir -p $HOME/permaclip
|
||||||
|
|
||||||
tr_name=$(echo ${@% (*} | xargs)
|
tr_name=$(echo ${@% (*} | xargs)
|
||||||
if [ x"$tr_name" != x"" ]; then
|
if [ x"$tr_name" != x"" ]; then
|
||||||
xclip -selection c -i $HOME/permaclip/${tr_name% (*} &> /dev/null
|
nohup bash -c "xclip -selection c -i $HOME/permaclip/${tr_name% (*}" > /dev/null
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -11,5 +11,5 @@ echo -e "\0markup-rows\x1ftrue"
|
||||||
|
|
||||||
for reg in $(ls ~/permaclip); do
|
for reg in $(ls ~/permaclip); do
|
||||||
content=$(cat ~/permaclip/$reg)
|
content=$(cat ~/permaclip/$reg)
|
||||||
echo -e "<b>$reg</b> (<i>${content:0:50}...</i>)"
|
echo -e "$reg (<i>${content:0:50}...</i>)"
|
||||||
done
|
done
|
||||||
|
|
|
@ -12,5 +12,5 @@ echo -e "\0markup-rows\x1ftrue"
|
||||||
|
|
||||||
for reg in $(ls ~/permaclip); do
|
for reg in $(ls ~/permaclip); do
|
||||||
content=$(cat ~/permaclip/$reg)
|
content=$(cat ~/permaclip/$reg)
|
||||||
echo -e "<b>$reg</b> (<i>${content:0:30}</i>)"
|
echo -e "$reg (<i>${content:0:30}</i>)"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue