Update 2024-01-04 09:45 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id 2024-01-04 09:45:03 +01:00
parent 5e3d352604
commit af44106b86
3 changed files with 32 additions and 12 deletions

View File

@ -31,6 +31,7 @@ xclock*update: 1
xclock*background: #181818 xclock*background: #181818
xclock*foreground: #D6D5D3 xclock*foreground: #D6D5D3
! -- XPDF -- ! ! -- XPDF -- !
xpdf*enableFreetype: yes xpdf*enableFreetype: yes
xpdf*antialias: yes xpdf*antialias: yes

View File

@ -65,9 +65,8 @@ bar_at_bottom = 0
# ++ A literal + # ++ A literal +
# +@ Prefix for text markup sequences # +@ Prefix for text markup sequences
#bar_format = +S WS:+I/+R | H:+M | +W +|2R +A bar_format = +S +@bg=2;+L+@bg=0; +W +|1R +A
#bar_format = +I +S (+M) +|1R +A %Y-%m-%d %H:%M
bar_format = +S +@bg=2;+L+@bg=0; +W +|R +A
# +-------------------------------------------------- # +--------------------------------------------------
# | WORKSPACE LAYOUT # | WORKSPACE LAYOUT
@ -94,7 +93,6 @@ name = ws[7]:7
name = ws[8]:8 name = ws[8]:8
name = ws[9]:9 name = ws[9]:9
name = ws[10]:10 name = ws[10]:10
name = ws[11]:
workspace_limit = 10 workspace_limit = 10
stack_mark_horizontal = 'v' stack_mark_horizontal = 'v'

View File

@ -89,14 +89,35 @@ _portsweep() {
_portjump() { _portjump() {
[ -z $1 ] && return 1 [ -z $1 ] && return 1
{ cd /usr/ports
cd /usr/ports \
&& cd $1 \ LIST=$( ls -d1 \
|| cd */$1 \ *$1* \
|| cd */$1* \ */*$1* \
|| cd */*$1 \ mystuff/*$1* \
|| cd */*$1* mystuff/*/*$1* \
} 2>/dev/null openbsd-wip/*$1* \
openbsd-wip/*/*$1* \
2>/dev/null \
| sort -u \
| grep -Ev "pobj|CVS|locks|packages|distfiles"
)
if [ $(echo "$LIST" | wc -l) -gt 1 ]
then
if [ -f /usr/local/bin/fzf ]
then
cd $(echo "$LIST" | fzf -e -i)
else
select dir in $LIST
do
cd $dir
return 0
done
fi
else
cd $LIST
fi
} }
_remake() { _remake() {