Update 2024-01-04 09:45 OpenBSD/amd64-x13
This commit is contained in:
parent
5e3d352604
commit
af44106b86
@ -31,6 +31,7 @@ xclock*update: 1
|
||||
xclock*background: #181818
|
||||
xclock*foreground: #D6D5D3
|
||||
|
||||
|
||||
! -- XPDF -- !
|
||||
xpdf*enableFreetype: yes
|
||||
xpdf*antialias: yes
|
||||
|
@ -65,9 +65,8 @@ bar_at_bottom = 0
|
||||
# ++ A literal ‘+’
|
||||
# +@ Prefix for text markup sequences
|
||||
|
||||
#bar_format = +S WS:+I/+R | H:+M | +W +|2R +A
|
||||
#bar_format = +I +S (+M) +|1R +A %Y-%m-%d %H:%M
|
||||
bar_format = +S +@bg=2;+L+@bg=0; +W +|R +A
|
||||
bar_format = +S +@bg=2;+L+@bg=0; +W +|1R +A
|
||||
|
||||
|
||||
# +--------------------------------------------------
|
||||
# | WORKSPACE LAYOUT
|
||||
@ -94,7 +93,6 @@ name = ws[7]:7
|
||||
name = ws[8]:8
|
||||
name = ws[9]:9
|
||||
name = ws[10]:10
|
||||
name = ws[11]:
|
||||
|
||||
workspace_limit = 10
|
||||
stack_mark_horizontal = 'v'
|
||||
|
@ -89,14 +89,35 @@ _portsweep() {
|
||||
|
||||
_portjump() {
|
||||
[ -z $1 ] && return 1
|
||||
{
|
||||
cd /usr/ports \
|
||||
&& cd $1 \
|
||||
|| cd */$1 \
|
||||
|| cd */$1* \
|
||||
|| cd */*$1 \
|
||||
|| cd */*$1*
|
||||
} 2>/dev/null
|
||||
cd /usr/ports
|
||||
|
||||
LIST=$( ls -d1 \
|
||||
*$1* \
|
||||
*/*$1* \
|
||||
mystuff/*$1* \
|
||||
mystuff/*/*$1* \
|
||||
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user