Test server pages function

Highest Watson projects alias.
This commit is contained in:
2019-09-05 13:45:59 -04:00
parent 37ba6b8dcf
commit 82018d00a3
7 changed files with 41 additions and 10 deletions

View File

@@ -8,8 +8,8 @@
c "printf '\033c'"
d "cd ~/Downloads && printf '\033c'"
hst "history"
nft "printf '\033c' && neofetch | lolcat"
# nft "printf '\033c' && neofetch"
# nft "printf '\033c' && neofetch | lolcat"
nft "printf '\033c' && neofetch"
fi "fish"
# reload urxvt
ru "xrdb ~/.Xresources && grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2 | xargs wal -i > /dev/null"
@@ -21,7 +21,7 @@ dua "sudo du -h --apparent-size | sort -h"
duh "du -d 1 -h --apparent-size | sort -h"
dum "du -d 1 -m --apparent-size | sort -h"
# m "man"
tld "tldr"
td "tldr"
# ]]] basic #
@@ -279,12 +279,15 @@ am "antimicro"
a "task"
aa "task add"
aal "task add proj:lnx"
ac "task context"
acn "task context none && task"
ach "task context home && task"
aco "task context out && task"
acs "task context sch && task"
acpl "task completed"
al "task limit:10"
ans "task +next"
ao "taskopen"
asm "task summary"
awt "task waiting"
@@ -428,6 +431,7 @@ wlat "watson log -Gca -T"
ww "watson log -Gc"
wr "watson report -Gcd"
wra "watson report -Gca -p"
wram "watson report -Gca | rg -S '^\w.*-\s\d*h' | sort -t' ' -hk3"
wrat "watson report -Gca -T"
wrw "watson report -Gc"

View File

@@ -32,6 +32,7 @@ ng /etc/nginx/nginx.conf
ap ~/.task/pending.data
bid ~/Documents/journal/todo/blog.md
cc ~/linux-config/private_dot_calcurse/conf
ci ~/linux-config/txt/ideas.md
cm ./commit-msg.txt
cmt /tmp/commit-msg.txt

View File

@@ -100,6 +100,7 @@ abbr ae "task-edit"
abbr adl "task-delete"
abbr adn "task-done"
abbr an "task-next"
abbr ant "task-notes"
abbr apr "task-mod-pri"
abbr apj "task-mod-proj"
abbr at "task-mod-tag"

View File

@@ -0,0 +1,17 @@
function server-pages
set sites git.ataraxy.tk khkm.tk cal.khkm.tk mnpd.gq/k-bg pste.gq smol.gq twem.tk
set titles "Kevin Mok's Gitea" "Kevin Mok" "Baïkal server" "k-bg" "hastebin" "Kevin's URL Shortener" "Index of /"
# set sites mnpd.gq/k-bg
# set titles "k-bg"
for i in (seq (count $sites))
set title (wget -qO- "$sites[$i]" | perl -l -0777 -ne 'print $1 if /<title.*?>\s*(.*?)\s*<\/title/si' | recode html)
if test $title = $titles[$i]
set symbol "✓"
else
set symbol "✗"
end
printf "[$symbol] $sites[$i]\n"
end
end

View File

@@ -0,0 +1,4 @@
function task-notes
task $argv[1] annotate Notes
and taskopen $argv[1]
end

View File

@@ -19,8 +19,8 @@ data.location=~/.task
# Color theme (uncomment one to use){{{
#include /usr/share/doc/task/rc/light-16.theme
#include /usr/share/doc/task/rc/light-256.theme
#include /usr/share/doc/task/rc/dark-16.theme
include /usr/share/doc/task/rc/dark-256.theme
include /usr/share/doc/task/rc/dark-16.theme
# include /usr/share/doc/task/rc/dark-256.theme
#include /usr/share/doc/task/rc/dark-red-256.theme
#include /usr/share/doc/task/rc/dark-green-256.theme
#include /usr/share/doc/task/rc/dark-blue-256.theme
@@ -31,6 +31,9 @@ include /usr/share/doc/task/rc/dark-256.theme
#include /usr/share/doc/task/rc/solarized-dark-256.theme
#include /usr/share/doc/task/rc/solarized-light-256.theme
#include /usr/share/doc/task/rc/no-color.theme
# color.blocking=color1 on color15
# }}}
# server {{{ #
@@ -54,12 +57,13 @@ urgency.uda.priority..coefficient=1
# context {{{ #
# context.home=project.not:ideas project.not:out project.not:sch tag.not:amn
context.home=project.not:ideas project.not:out tag.not:amn
# context.home=project.not:ieas project.not:out project.not:sch tag.not:amn
context.home=project.not:ieas project.not:out tag.not:amn
context.out=project:out
# context.sch=project:sch
context.sch=project:sch
context=home
# context=out
# context=sch
# }}} context #

View File

@@ -1,7 +1,7 @@
appearance.calendarview=weekly
appearance.compactpanels=yes
appearance.defaultpanel=todo
appearance.layout=7
appearance.defaultpanel=calendar
appearance.layout=3
appearance.headerline=yes
appearance.eventseparator=no
appearance.dayseparator=no