Taskwarrior config/fxn's, liteshort fxn's
Update NZXT packages.
This commit is contained in:
@@ -80,6 +80,7 @@ cpssh "ssh-copy-id -i ~/.ssh/id_rsa.pub"
|
|||||||
xcssh "bat ~/.ssh/id_rsa.pub | xclip -selection clipboard"
|
xcssh "bat ~/.ssh/id_rsa.pub | xclip -selection clipboard"
|
||||||
sp "mosh --ssh='ssh -p 8022' 192.168.0.12"
|
sp "mosh --ssh='ssh -p 8022' 192.168.0.12"
|
||||||
ssd "mosh --ssh='ssh -p 399' kevin@165.22.239.234 tmux a"
|
ssd "mosh --ssh='ssh -p 399' kevin@165.22.239.234 tmux a"
|
||||||
|
sfd "sftp -P 399 kevin@165.22.239.234"
|
||||||
sdh "mosh --ssh='ssh -p 399' kevin@165.22.239.234 htop"
|
sdh "mosh --ssh='ssh -p 399' kevin@165.22.239.234 htop"
|
||||||
# test server sites
|
# test server sites
|
||||||
svp "firefox git.ataraxy.tk khkm.tk cal.khkm.tk pste.gq smol.gq twem.tk"
|
svp "firefox git.ataraxy.tk khkm.tk cal.khkm.tk pste.gq smol.gq twem.tk"
|
||||||
@@ -279,7 +280,14 @@ am "antimicro"
|
|||||||
a "task"
|
a "task"
|
||||||
aa "task add"
|
aa "task add"
|
||||||
ac "task context"
|
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"
|
||||||
ao "taskopen"
|
ao "taskopen"
|
||||||
|
asm "task summary"
|
||||||
|
awt "task waiting"
|
||||||
ay "task sync"
|
ay "task sync"
|
||||||
|
|
||||||
# ]]] task #
|
# ]]] task #
|
||||||
@@ -315,10 +323,9 @@ fh "feh"
|
|||||||
fi "fish"
|
fi "fish"
|
||||||
gpd "gpg --decrypt"
|
gpd "gpg --decrypt"
|
||||||
gpe "gpg --encrypt --recipient"
|
gpe "gpg --encrypt --recipient"
|
||||||
hba "habitctl ask"
|
hb "habitctl log"
|
||||||
hbe "habitctl edit"
|
# hbe "habitctl edit"
|
||||||
hbeh "habitctl edith"
|
# hbeh "habitctl edith"
|
||||||
hbl "habitctl log"
|
|
||||||
htc "htop -s PERCENT_CPU"
|
htc "htop -s PERCENT_CPU"
|
||||||
htm "htop -s PERCENT_MEM"
|
htm "htop -s PERCENT_MEM"
|
||||||
i "sxiv"
|
i "sxiv"
|
||||||
@@ -350,7 +357,7 @@ sn "sudo nvim"
|
|||||||
ss "mosh"
|
ss "mosh"
|
||||||
stp "termdown"
|
stp "termdown"
|
||||||
# sw "swex"
|
# sw "swex"
|
||||||
t "tmux"#[[[
|
t "tmux"#[[[
|
||||||
ta "tmux a -t"
|
ta "tmux a -t"
|
||||||
tac "tmux a -t config || tmux new -s config"
|
tac "tmux a -t config || tmux new -s config"
|
||||||
taj "tmux a -t journal || tmux new -s journal"
|
taj "tmux a -t journal || tmux new -s journal"
|
||||||
@@ -454,7 +461,7 @@ gmgt "git mergetool"
|
|||||||
|
|
||||||
gr "git remote -v"
|
gr "git remote -v"
|
||||||
gra "git remote add origin"
|
gra "git remote add origin"
|
||||||
grag "git remote add gitea git@ataraxy.tk:Kevin-Mok/.git"
|
# grag "git remote add gitea git@ataraxy.tk:Kevin-Mok/.git"
|
||||||
|
|
||||||
grr "git remote remove origin"
|
grr "git remote remove origin"
|
||||||
grs "git remote show origin"
|
grs "git remote show origin"
|
||||||
@@ -539,7 +546,7 @@ gcap "git add -A && git commit --amend --no-edit -S && git push --force"
|
|||||||
psgi "git add -A && git commit -m 'Update' -S && git push"
|
psgi "git add -A && git commit -m 'Update' -S && git push"
|
||||||
gps "git push"
|
gps "git push"
|
||||||
gpsg "git push gitea"
|
gpsg "git push gitea"
|
||||||
gpsi "git config credential.helper store && git push"
|
# gpsi "git config credential.helper store && git push"
|
||||||
# gpsn "git push --set-upstream origin master"
|
# gpsn "git push --set-upstream origin master"
|
||||||
gpsn "eval (git push 2>&1 | tail -n 2)"
|
gpsn "eval (git push 2>&1 | tail -n 2)"
|
||||||
gpsf "git push --force"
|
gpsf "git push --force"
|
||||||
@@ -674,7 +681,7 @@ sac "source ../../bin/activate.fish"
|
|||||||
dea "deactivate"
|
dea "deactivate"
|
||||||
|
|
||||||
whe "watch echo"
|
whe "watch echo"
|
||||||
vst "cp ~/Documents/workout-logs/stretching.md /tmp && nvim /tmp/stretching.md"
|
nst "cp ~/Documents/workout-logs/stretching.md /tmp && nvim /tmp/stretching.md"
|
||||||
|
|
||||||
# ]]] coding projs #
|
# ]]] coding projs #
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,8 @@ o /
|
|||||||
p ~/.password-store
|
p ~/.password-store
|
||||||
P ~/Pictures
|
P ~/Pictures
|
||||||
std ~/st
|
std ~/st
|
||||||
tm /tmp
|
# tm /tmp
|
||||||
|
tm ~/tmp
|
||||||
|
|
||||||
{{ if and (eq .chezmoi.username "root") (eq .linux_os "debian") }}
|
{{ if and (eq .chezmoi.username "root") (eq .linux_os "debian") }}
|
||||||
ng /etc/nginx/sites-available
|
ng /etc/nginx/sites-available
|
||||||
@@ -31,6 +32,7 @@ sv /etc/systemd/system
|
|||||||
ad ~/.task
|
ad ~/.task
|
||||||
ccd ~/.calcurse
|
ccd ~/.calcurse
|
||||||
cn ~/coding
|
cn ~/coding
|
||||||
|
hbd ~/.habitctl
|
||||||
ib ~/linux-config/dot_config/i3blocks/scripts
|
ib ~/linux-config/dot_config/i3blocks/scripts
|
||||||
ra ~/linux-config/dot_config/ranger
|
ra ~/linux-config/dot_config/ranger
|
||||||
sr ~/linux-config/scripts
|
sr ~/linux-config/scripts
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ bid ~/Documents/journal/todo/blog.md
|
|||||||
ci ~/linux-config/txt/ideas.md
|
ci ~/linux-config/txt/ideas.md
|
||||||
cm ./commit-msg.txt
|
cm ./commit-msg.txt
|
||||||
cmt /tmp/commit-msg.txt
|
cmt /tmp/commit-msg.txt
|
||||||
|
hb ~/.habitctl/log
|
||||||
|
hbh ~/.habitctl/habits
|
||||||
hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log
|
hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log
|
||||||
id ~/Documents/journal/todo/ideas.md
|
id ~/Documents/journal/todo/ideas.md
|
||||||
ig ./.gitignore
|
ig ./.gitignore
|
||||||
@@ -51,6 +53,7 @@ tg ~/.config/watson/tags_cache
|
|||||||
tt txt/todo.md
|
tt txt/todo.md
|
||||||
tm ~/.vim/plugged/vim-snippets/UltiSnips/texmath.snippets
|
tm ~/.vim/plugged/vim-snippets/UltiSnips/texmath.snippets
|
||||||
tp /tmp/
|
tp /tmp/
|
||||||
|
tw ~/linux-config/dot_taskrc
|
||||||
wh ~/Documents/journal/todo/work-habit.md
|
wh ~/Documents/journal/todo/work-habit.md
|
||||||
wt ~/.config/watson/state.tmp
|
wt ~/.config/watson/state.tmp
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,8 @@ URxvt*transparent: true
|
|||||||
URxvt*inheritPixmap: true
|
URxvt*inheritPixmap: true
|
||||||
! URxvt*transparent: false
|
! URxvt*transparent: false
|
||||||
! URxvt*shading: 0 (blackest) to 99 black, 101 to 200 (whitest) white
|
! URxvt*shading: 0 (blackest) to 99 black, 101 to 200 (whitest) white
|
||||||
URxvt*shading: 40
|
URxvt*shading: 50
|
||||||
|
! URxvt*shading: 40
|
||||||
! URxvt*shading: 35
|
! URxvt*shading: 35
|
||||||
! urxvt*blurRadius: 10
|
! urxvt*blurRadius: 10
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ set -U fish_greeting
|
|||||||
set -U spv_dir "/home/kevin/coding/spotify-lib-vis"
|
set -U spv_dir "/home/kevin/coding/spotify-lib-vis"
|
||||||
set -U mfs_dir "/home/kevin/coding/mf-site"
|
set -U mfs_dir "/home/kevin/coding/mf-site"
|
||||||
source /home/kevin/coding/spotify-lib-vis/src/scripts/api-keys-fish.sh
|
source /home/kevin/coding/spotify-lib-vis/src/scripts/api-keys-fish.sh
|
||||||
|
abbr hum "cd $mfs_dir && hugo serve -D --disableFastRender"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
set -x PATH $PATH ~/.local/bin ~/scripts ~/scripts/colors ~/go/bin ~/.minetest/minetest/bin ~/.gem/ruby/2.6.0/bin
|
set -x PATH $PATH ~/.local/bin ~/scripts ~/scripts/colors ~/go/bin ~/.minetest/minetest/bin ~/.gem/ruby/2.6.0/bin
|
||||||
@@ -84,6 +85,7 @@ abbr hs "history search --show-time"
|
|||||||
abbr f. "cd .."
|
abbr f. "cd .."
|
||||||
abbr f.. "cd ../.."
|
abbr f.. "cd ../.."
|
||||||
abbr hsm "history merge"
|
abbr hsm "history merge"
|
||||||
|
abbr nxv "$EDITOR ~/.config/fish/fish_variables"
|
||||||
abbr xf "fish_config"
|
abbr xf "fish_config"
|
||||||
|
|
||||||
# ]]] fish-specific #
|
# ]]] fish-specific #
|
||||||
@@ -91,9 +93,20 @@ abbr xf "fish_config"
|
|||||||
# fxn abbr's [[[ #
|
# fxn abbr's [[[ #
|
||||||
|
|
||||||
abbr ! "sudo !!"
|
abbr ! "sudo !!"
|
||||||
|
# task [[[ #
|
||||||
|
|
||||||
|
abbr aan "task-anno"
|
||||||
abbr ae "task-edit"
|
abbr ae "task-edit"
|
||||||
abbr ad "task-done"
|
abbr adl "task-delete"
|
||||||
abbr ap "task-mod-pri"
|
abbr adn "task-done"
|
||||||
|
abbr an "task-next"
|
||||||
|
abbr apr "task-mod-pri"
|
||||||
|
abbr apj "task-mod-proj"
|
||||||
|
abbr at "task-mod-tag"
|
||||||
|
abbr asr "task-start"
|
||||||
|
abbr ax "task-context"
|
||||||
|
|
||||||
|
# ]]] task #
|
||||||
abbr ag "grep-aliases"
|
abbr ag "grep-aliases"
|
||||||
abbr b "buku-fzf"
|
abbr b "buku-fzf"
|
||||||
abbr bf "buku-fzf fq"
|
abbr bf "buku-fzf fq"
|
||||||
@@ -115,14 +128,17 @@ abbr fzv "fzf-vim"
|
|||||||
abbr gcamp "git-amend-push"
|
abbr gcamp "git-amend-push"
|
||||||
abbr gclg "git-clone-gitea"
|
abbr gclg "git-clone-gitea"
|
||||||
abbr gdf "git-diff-files"
|
abbr gdf "git-diff-files"
|
||||||
|
abbr gpsi "git-push-initial"
|
||||||
abbr gpsmt "git-push-multiple"
|
abbr gpsmt "git-push-multiple"
|
||||||
|
abbr gpng "git-push-new-gitea gitea"
|
||||||
|
abbr gpngo "git-push-new-gitea origin"
|
||||||
abbr gremotes "git-mult-remotes"
|
abbr gremotes "git-mult-remotes"
|
||||||
abbr grmb "git-delete-branch"
|
abbr grmb "git-delete-branch"
|
||||||
abbr gro "git-replace-origin"
|
abbr gro "git-replace-origin"
|
||||||
|
|
||||||
# ]]] git #
|
# ]]] git #
|
||||||
abbr svs "scan-history"
|
|
||||||
abbr m "man-vim"
|
abbr m "man-vim"
|
||||||
|
abbr ma "man-vim task"
|
||||||
abbr mat "math"
|
abbr mat "math"
|
||||||
abbr pgr "grep-pdf"
|
abbr pgr "grep-pdf"
|
||||||
abbr pgrf "grep-pdf-file"
|
abbr pgrf "grep-pdf-file"
|
||||||
@@ -130,7 +146,12 @@ abbr png "git-push-new-gitea"
|
|||||||
abbr pst "pastebin"
|
abbr pst "pastebin"
|
||||||
abbr rf "refresh-config"
|
abbr rf "refresh-config"
|
||||||
abbr rs "redshift-set"
|
abbr rs "redshift-set"
|
||||||
|
abbr sma "smol-add"
|
||||||
|
abbr smd "smol-delete"
|
||||||
|
abbr sml "smol-slist"
|
||||||
|
abbr smr "smol-replace"
|
||||||
abbr shrm "shred-rm"
|
abbr shrm "shred-rm"
|
||||||
|
abbr svs "scan-history"
|
||||||
abbr tac "tmux-attach config"
|
abbr tac "tmux-attach config"
|
||||||
abbr taj "tmux-attach journal"
|
abbr taj "tmux-attach journal"
|
||||||
abbr thes "thesaurus"
|
abbr thes "thesaurus"
|
||||||
@@ -153,10 +174,5 @@ abbr jct "java-compile-test"
|
|||||||
|
|
||||||
# ]]] fxn abbr's #
|
# ]]] fxn abbr's #
|
||||||
|
|
||||||
abbr hum "cd $mfs_dir && hugo serve -D --disableFastRender"
|
|
||||||
|
|
||||||
# task sync > /dev/null 2>&1
|
# task sync > /dev/null 2>&1
|
||||||
# causes xmodmap to have issues when opening terminal sometimes (with Alt key?)
|
|
||||||
# sleep .2 && xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE
|
|
||||||
# xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE
|
|
||||||
~/scripts/xmodmap-custom
|
~/scripts/xmodmap-custom
|
||||||
|
|||||||
5
dot_config/fish/functions/git/git-push-initial.fish
Executable file
5
dot_config/fish/functions/git/git-push-initial.fish
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
function git-push-initial
|
||||||
|
git add -A
|
||||||
|
and git commit -S -m 'Initial commit'
|
||||||
|
and git push
|
||||||
|
end
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
function git-push-new-gitea
|
function git-push-new-gitea
|
||||||
git remote add gitea ssh://git@ataraxy.tk:399/Kevin-Mok/$argv[1].git
|
git remote add $argv[1] ssh://git@ataraxy.tk:399/Kevin-Mok/$argv[2].git
|
||||||
and git push --set-upstream gitea master
|
and git push --set-upstream $argv[1] master
|
||||||
end
|
end
|
||||||
|
|||||||
10
dot_config/fish/functions/smol/smol-add.fish
Normal file
10
dot_config/fish/functions/smol/smol-add.fish
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
function smol-add
|
||||||
|
if test (count $argv) -eq 2
|
||||||
|
curl -d 'format=json' \
|
||||||
|
-d "long=$argv[1]" \
|
||||||
|
-d "short=$argv[2]" \
|
||||||
|
https://smol.gq | jq .
|
||||||
|
else
|
||||||
|
curl -d 'format=json' -d "long=$argv[1]" https://smol.gq | jq .
|
||||||
|
end
|
||||||
|
end
|
||||||
12
dot_config/fish/functions/smol/smol-delete.fish
Normal file
12
dot_config/fish/functions/smol/smol-delete.fish
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
function smol-delete
|
||||||
|
# delete and show
|
||||||
|
set userpass (pass show technology/linux/liteshort)
|
||||||
|
set url https://smol.gq
|
||||||
|
curl -u $userpass -d 'format=json' \
|
||||||
|
-d 'api=delete' \
|
||||||
|
-d "short=$argv[1]" \
|
||||||
|
$url | jq .
|
||||||
|
and curl -u $userpass -d 'format=json' \
|
||||||
|
-d 'api=listshort' \
|
||||||
|
$url | jq .
|
||||||
|
end
|
||||||
11
dot_config/fish/functions/smol/smol-replace.fish
Normal file
11
dot_config/fish/functions/smol/smol-replace.fish
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
function smol-replace
|
||||||
|
curl -u (pass show technology/linux/liteshort) \
|
||||||
|
-d 'format=json' \
|
||||||
|
-d 'api=delete' \
|
||||||
|
-d "long=$argv[1]" \
|
||||||
|
https://smol.gq | jq .
|
||||||
|
and curl -d 'format=json' \
|
||||||
|
-d "long=$argv[1]" \
|
||||||
|
-d "short=$argv[2]" \
|
||||||
|
https://smol.gq | jq .
|
||||||
|
end
|
||||||
6
dot_config/fish/functions/smol/smol-slist.fish
Normal file
6
dot_config/fish/functions/smol/smol-slist.fish
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
function smol-slist
|
||||||
|
curl -u (pass show technology/linux/liteshort) \
|
||||||
|
-d 'format=json' \
|
||||||
|
-d 'api=listshort' \
|
||||||
|
https://smol.gq | jq .
|
||||||
|
end
|
||||||
4
dot_config/fish/functions/task/task-anno.fish
Normal file
4
dot_config/fish/functions/task/task-anno.fish
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
function task-anno
|
||||||
|
task $argv[1] annotate $argv[2]
|
||||||
|
and task
|
||||||
|
end
|
||||||
4
dot_config/fish/functions/task/task-context.fish
Normal file
4
dot_config/fish/functions/task/task-context.fish
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
function task-context
|
||||||
|
task context $argv[1]
|
||||||
|
and task
|
||||||
|
end
|
||||||
5
dot_config/fish/functions/task/task-delete.fish
Normal file
5
dot_config/fish/functions/task/task-delete.fish
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
function task-delete
|
||||||
|
task $argv[1] delete
|
||||||
|
and task sync
|
||||||
|
and task
|
||||||
|
end
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
function task-done
|
function task-done
|
||||||
task $argv[1] done
|
task $argv[1] done
|
||||||
|
and task sync
|
||||||
and task
|
and task
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
function task-edit
|
function task-edit
|
||||||
task $argv[1] edit
|
task $argv[1] edit
|
||||||
|
and task
|
||||||
end
|
end
|
||||||
|
|||||||
4
dot_config/fish/functions/task/task-mod-proj.fish
Normal file
4
dot_config/fish/functions/task/task-mod-proj.fish
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
function task-mod-proj
|
||||||
|
task $argv[1] modify project:$argv[2]
|
||||||
|
and task
|
||||||
|
end
|
||||||
4
dot_config/fish/functions/task/task-mod-tag.fish
Normal file
4
dot_config/fish/functions/task/task-mod-tag.fish
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
function task-mod-tag
|
||||||
|
task $argv[1] modify +$argv[2]
|
||||||
|
and task
|
||||||
|
end
|
||||||
4
dot_config/fish/functions/task/task-next.fish
Normal file
4
dot_config/fish/functions/task/task-next.fish
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
function task-next
|
||||||
|
task $argv[1] modify +next
|
||||||
|
and task
|
||||||
|
end
|
||||||
4
dot_config/fish/functions/task/task-start.fish
Normal file
4
dot_config/fish/functions/task/task-start.fish
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
function task-start
|
||||||
|
task $argv[1] start
|
||||||
|
and task
|
||||||
|
end
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
# startup [[[ #
|
# startup [[[ #
|
||||||
|
|
||||||
# set $term $term
|
set $term urxvt
|
||||||
# set $term_alt st
|
set $term_alt st
|
||||||
set $term st
|
# set $term st
|
||||||
set $term_alt urxvt
|
# set $term_alt urxvt
|
||||||
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
|
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
|
||||||
exec dunst
|
exec dunst
|
||||||
exec compton
|
exec compton
|
||||||
@@ -63,6 +63,7 @@ bindsym Mod4+p exec passmenu
|
|||||||
bindsym Mod4+q exec qdirstat
|
bindsym Mod4+q exec qdirstat
|
||||||
bindsym Mod4+r exec $term -e ranger
|
bindsym Mod4+r exec $term -e ranger
|
||||||
bindsym Mod4+$mod+r exec notify-send "watson restart" "$(watson restart)"
|
bindsym Mod4+$mod+r exec notify-send "watson restart" "$(watson restart)"
|
||||||
|
bindsym Mod4+$mod+s exec $type_delay_cmd && xdotool type 'https://smol.gq/'
|
||||||
bindsym Mod4+$mod+t exec xclip -selection clipboard ~/.password-store/social/trapbot && $type_delay_cmd && xdotool key 'Control_L+v'
|
bindsym Mod4+$mod+t exec xclip -selection clipboard ~/.password-store/social/trapbot && $type_delay_cmd && xdotool key 'Control_L+v'
|
||||||
# bindsym Mod4+u exec printf 'kevin.mok@mail.utoronto.ca' | xclip -selection clipboard
|
# bindsym Mod4+u exec printf 'kevin.mok@mail.utoronto.ca' | xclip -selection clipboard
|
||||||
bindsym Mod4+u exec $type_delay_cmd && xdotool type 'kevin.mok@mail.utoronto.ca'
|
bindsym Mod4+u exec $type_delay_cmd && xdotool type 'kevin.mok@mail.utoronto.ca'
|
||||||
@@ -433,7 +434,7 @@ bindsym $mod+Shift+5 move container to workspace $ws15; workspace $ws15
|
|||||||
bindsym Control+$mod+r exec i3-msg restart
|
bindsym Control+$mod+r exec i3-msg restart
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
# bindsym $mod+Control+r reload
|
# bindsym $mod+Control+r reload
|
||||||
bindsym $mod+Control+u exec xrdb ~/.Xresources
|
bindsym $mod+Control+u exec xrdb ~/.Xresources && grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2 | xargs wal -i > /dev/null
|
||||||
|
|
||||||
# exit i3 (logs you out of your X session)
|
# exit i3 (logs you out of your X session)
|
||||||
bindsym Control+$mod+s exec systemctl suspend
|
bindsym Control+$mod+s exec systemctl suspend
|
||||||
|
|||||||
71
dot_taskopenrc
Normal file
71
dot_taskopenrc
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
|
||||||
|
#BROWSER='xdg-open $FILE &>/dev/null'
|
||||||
|
#EDITOR='vim'
|
||||||
|
#FILE_CMD='xdg-open'
|
||||||
|
TASKBIN='task'
|
||||||
|
|
||||||
|
# If you sync tasks NOTES_FOLDER should be a location that syncs and is available to
|
||||||
|
# other computers, i.e. /users/dropbox/tasknotes
|
||||||
|
# NOTES_FOLDER to store notes in, must already exist!
|
||||||
|
NOTES_FOLDER="$HOME/.task/notes/"
|
||||||
|
|
||||||
|
# Preferred extension for tasknotes
|
||||||
|
NOTES_EXT=".md"
|
||||||
|
|
||||||
|
# Path to notes file. UUID will be replaced with the actual uuid of
|
||||||
|
# the task. If NOTES_CMD
|
||||||
|
# Default is: ${NOTES_FOLDER}UUID${NOTES_EXT}
|
||||||
|
#NOTES_FILE="$HOME/tasknotes/UUID.txt"
|
||||||
|
|
||||||
|
# Command that opens notes. UUID will be replaced with the actual uuid of
|
||||||
|
# the task.
|
||||||
|
# Default is: $EDITOR $NOTES_FILE
|
||||||
|
#NOTES_CMD="vim "$HOME/tasknotes/$UUID.txt""
|
||||||
|
|
||||||
|
# Specify the default sorting.
|
||||||
|
# Default is taskwarrior's default sorting, i.e. sorting by task IDs.
|
||||||
|
#DEFAULT_SORT="urgency-,label,annot"
|
||||||
|
|
||||||
|
# Apply a default taskwarrior filter in order to exclude certain tasks.
|
||||||
|
# Default is: status.is:pending
|
||||||
|
#DEFAULT_FILTER=
|
||||||
|
|
||||||
|
# Default command for '-i'
|
||||||
|
# Default is: ls -la
|
||||||
|
#DEFAULT-i="ls -la"
|
||||||
|
|
||||||
|
# Add some paths to the taskopen's PATH variable
|
||||||
|
#PATH_EXT=/path/to/taskopen/scripts
|
||||||
|
PATH_EXT=/usr/share/taskopen/scripts
|
||||||
|
|
||||||
|
# Regular expression that referes to the NOTES_FILE.
|
||||||
|
# Default is: Notes
|
||||||
|
#NOTES_REGEX="Notes"
|
||||||
|
|
||||||
|
# Regular expression that identifies annotations openable by BROWSER.
|
||||||
|
# Default is: www|http
|
||||||
|
#BROWSER_REGEX="www|http"
|
||||||
|
|
||||||
|
# Regular expression that identifies file paths in annotations. Will be opened by xdg-open.
|
||||||
|
# Default is: \.|\/|~
|
||||||
|
#FILE_REGEX="\.|\/|~"
|
||||||
|
|
||||||
|
# Regular expression that identifies a text annotation. Automatically triggers raw edit mode like '-r'.
|
||||||
|
#TEXT_REGEX=".*"
|
||||||
|
|
||||||
|
# Custom regular expression that specifies annotations passed to CUSTOM1_CMD, e.g:
|
||||||
|
#CUSTOM1_REGEX="Message-[Ii][Dd]:|message:"
|
||||||
|
#CUSTOM1_CMD="muttjumpwrapper"
|
||||||
|
|
||||||
|
# Custom regular expression that specifies annotations passed to CUSTOM2_CMD.
|
||||||
|
#CUSTOM2_REGEX=""
|
||||||
|
#CUSTOM2_CMD=""
|
||||||
|
|
||||||
|
# Execute an arbitrary command if there is no annotation available. The corresponding taskwarrior IDs will
|
||||||
|
# be passed as arguments, e.g. "addnote 21 42"
|
||||||
|
#NO_ANNOTATION_HOOK=addnote
|
||||||
|
|
||||||
|
# Make additional taskwarrior attributes available as sort keys and environment variables.
|
||||||
|
# E.g. TASK_ATTRIBUTES="project,tags" allows to sort by "task_project" or "task_tags" and to use
|
||||||
|
# "$TASK_PROJECT" or "$TASK_TAGS" within your (custom) commands.
|
||||||
|
#TASK_ATTRIBUTES=""
|
||||||
39
dot_taskrc
39
dot_taskrc
@@ -1,3 +1,5 @@
|
|||||||
|
# info {{{ #
|
||||||
|
|
||||||
# [Created by task 2.5.1 9/3/2019 01:25:18]
|
# [Created by task 2.5.1 9/3/2019 01:25:18]
|
||||||
# Taskwarrior program configuration file.
|
# Taskwarrior program configuration file.
|
||||||
# For more documentation, see http://taskwarrior.org or try 'man task', 'man task-color',
|
# For more documentation, see http://taskwarrior.org or try 'man task', 'man task-color',
|
||||||
@@ -10,14 +12,15 @@
|
|||||||
|
|
||||||
# Use the command 'task show' to see all defaults and overrides
|
# Use the command 'task show' to see all defaults and overrides
|
||||||
|
|
||||||
# Files
|
# }}} info #
|
||||||
|
|
||||||
data.location=~/.task
|
data.location=~/.task
|
||||||
|
|
||||||
# Color theme (uncomment one to use)
|
# Color theme (uncomment one to use){{{
|
||||||
#include /usr/share/doc/task/rc/light-16.theme
|
#include /usr/share/doc/task/rc/light-16.theme
|
||||||
#include /usr/share/doc/task/rc/light-256.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-16.theme
|
||||||
#include /usr/share/doc/task/rc/dark-256.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-red-256.theme
|
||||||
#include /usr/share/doc/task/rc/dark-green-256.theme
|
#include /usr/share/doc/task/rc/dark-green-256.theme
|
||||||
#include /usr/share/doc/task/rc/dark-blue-256.theme
|
#include /usr/share/doc/task/rc/dark-blue-256.theme
|
||||||
@@ -28,13 +31,35 @@ data.location=~/.task
|
|||||||
#include /usr/share/doc/task/rc/solarized-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/solarized-light-256.theme
|
||||||
#include /usr/share/doc/task/rc/no-color.theme
|
#include /usr/share/doc/task/rc/no-color.theme
|
||||||
|
# }}}
|
||||||
|
|
||||||
|
# server {{{ #
|
||||||
|
|
||||||
taskd.certificate=\/home\/kevin\/.task\/do.cert.pem
|
taskd.certificate=\/home\/kevin\/.task\/do.cert.pem
|
||||||
taskd.key=\/home\/kevin\/.task\/do.key.pem
|
taskd.key=\/home\/kevin\/.task\/do.key.pem
|
||||||
taskd.ca=\/home\/kevin\/.task\/ca.cert.pem
|
taskd.ca=\/home\/kevin\/.task\/ca.cert.pem
|
||||||
taskd.server=taskd.khkm.tk:53589
|
taskd.server=taskd.khkm.tk:53589
|
||||||
taskd.credentials=Hevin\/Kevin\/e843c83c-b701-43e7-9509-70595333b419
|
taskd.credentials=Hevin\/Kevin\/e843c83c-b701-43e7-9509-70595333b419
|
||||||
context.school=project:school
|
|
||||||
context.personal=project.not:school project.not:ideas project.not:buy
|
# }}} server #
|
||||||
# context=school
|
|
||||||
context=personal
|
# urgency {{{ #
|
||||||
|
|
||||||
|
urgency.user.project.mfs.coefficient=3
|
||||||
|
urgency.user.project.sch.coefficient=5
|
||||||
|
urgency.uda.priority.L.coefficient=-1
|
||||||
|
urgency.uda.priority..coefficient=1
|
||||||
|
|
||||||
|
# }}} urgency #
|
||||||
|
|
||||||
|
# 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.out=project:out
|
||||||
|
# context.sch=project:sch
|
||||||
|
|
||||||
|
context=home
|
||||||
|
# context=sch
|
||||||
|
|
||||||
|
# }}} context #
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ autocmd Filetype go set expandtab! sw=4
|
|||||||
" autocmd Filetype markdown set commentstring=<!---\ %s\ -->
|
" autocmd Filetype markdown set commentstring=<!---\ %s\ -->
|
||||||
" autocmd Filetype markdown map <F8> :LivedownToggle<CR>
|
" autocmd Filetype markdown map <F8> :LivedownToggle<CR>
|
||||||
autocmd Filetype markdown map <F8> :InstantMarkdownPreview<CR>
|
autocmd Filetype markdown map <F8> :InstantMarkdownPreview<CR>
|
||||||
|
autocmd Filetype markdown map <F9> :InstantMarkdownStop<CR>:InstantMarkdownPreview<CR>
|
||||||
autocmd Filetype markdown nnoremap <Tab> <Esc>>>A
|
autocmd Filetype markdown nnoremap <Tab> <Esc>>>A
|
||||||
autocmd Filetype markdown inoremap <S-Tab> <Esc><<A
|
autocmd Filetype markdown inoremap <S-Tab> <Esc><<A
|
||||||
autocmd Filetype markdown inoremap < <Esc><<A
|
autocmd Filetype markdown inoremap < <Esc><<A
|
||||||
@@ -91,7 +92,8 @@ autocmd FileType python,lua set fdm=indent
|
|||||||
autocmd Filetype json nnoremap <leader>j :%!python -m json.tool<CR>
|
autocmd Filetype json nnoremap <leader>j :%!python -m json.tool<CR>
|
||||||
autocmd Filetype json set foldmethod=marker
|
autocmd Filetype json set foldmethod=marker
|
||||||
autocmd FileType sh map <F8> :!clear && shellcheck %<CR>
|
autocmd FileType sh map <F8> :!clear && shellcheck %<CR>
|
||||||
autocmd FileType tex set updatetime=1000 timeoutlen=300
|
autocmd Filetype taskdata set tw=0
|
||||||
|
autocmd FileType tex set updatetime=1000 timeoutlen=300 tw=65
|
||||||
autocmd FileType tex map <F8> :VimtexCompile<CR>
|
autocmd FileType tex map <F8> :VimtexCompile<CR>
|
||||||
autocmd VimEnter *.tex VimtexCompile
|
autocmd VimEnter *.tex VimtexCompile
|
||||||
autocmd VimLeave *.tex !tex-clean %:p
|
autocmd VimLeave *.tex !tex-clean %:p
|
||||||
|
|||||||
@@ -48,6 +48,8 @@ doxygen
|
|||||||
dragon-drag-and-drop-git
|
dragon-drag-and-drop-git
|
||||||
dunst
|
dunst
|
||||||
e2fsprogs
|
e2fsprogs
|
||||||
|
ecryptfs-simple
|
||||||
|
ecryptfs-utils
|
||||||
electrum
|
electrum
|
||||||
emacs
|
emacs
|
||||||
encfs
|
encfs
|
||||||
@@ -75,11 +77,13 @@ gimp
|
|||||||
git
|
git
|
||||||
glibc
|
glibc
|
||||||
godot-bin
|
godot-bin
|
||||||
|
gotop-bin
|
||||||
gradle
|
gradle
|
||||||
grep
|
grep
|
||||||
grub
|
grub
|
||||||
gzip
|
gzip
|
||||||
habitctl-git
|
habitctl-git
|
||||||
|
handbrake
|
||||||
hdf5
|
hdf5
|
||||||
heroku-cli
|
heroku-cli
|
||||||
hexyl
|
hexyl
|
||||||
@@ -142,6 +146,7 @@ neovim
|
|||||||
nerd-fonts-dejavu-complete
|
nerd-fonts-dejavu-complete
|
||||||
nerd-fonts-hack
|
nerd-fonts-hack
|
||||||
netctl
|
netctl
|
||||||
|
nmap
|
||||||
nnn
|
nnn
|
||||||
noto-fonts
|
noto-fonts
|
||||||
ntfs-3g
|
ntfs-3g
|
||||||
@@ -252,6 +257,10 @@ sysstat
|
|||||||
systemd-numlockontty
|
systemd-numlockontty
|
||||||
systemd-sysvcompat
|
systemd-sysvcompat
|
||||||
tar
|
tar
|
||||||
|
task
|
||||||
|
taskopen
|
||||||
|
tasksh
|
||||||
|
tcpdump
|
||||||
termdown
|
termdown
|
||||||
texinfo
|
texinfo
|
||||||
texlive-core
|
texlive-core
|
||||||
@@ -294,6 +303,7 @@ tidy
|
|||||||
time
|
time
|
||||||
tmux
|
tmux
|
||||||
tor
|
tor
|
||||||
|
traceroute
|
||||||
transmission-cli
|
transmission-cli
|
||||||
transmission-gtk
|
transmission-gtk
|
||||||
trizen
|
trizen
|
||||||
|
|||||||
@@ -10,9 +10,11 @@ cliqz-bin
|
|||||||
compton-tryone-git
|
compton-tryone-git
|
||||||
curseradio-git
|
curseradio-git
|
||||||
dragon-drag-and-drop-git
|
dragon-drag-and-drop-git
|
||||||
|
ecryptfs-simple
|
||||||
ffcast
|
ffcast
|
||||||
flashplugin-focusfix
|
flashplugin-focusfix
|
||||||
godot-bin
|
godot-bin
|
||||||
|
gotop-bin
|
||||||
habitctl-git
|
habitctl-git
|
||||||
heroku-cli
|
heroku-cli
|
||||||
htop-vim-git
|
htop-vim-git
|
||||||
@@ -46,6 +48,8 @@ spotify
|
|||||||
spotify-now-git
|
spotify-now-git
|
||||||
steamos-xpad-dkms
|
steamos-xpad-dkms
|
||||||
systemd-numlockontty
|
systemd-numlockontty
|
||||||
|
taskopen
|
||||||
|
tasksh
|
||||||
texlive-local-adjustbox
|
texlive-local-adjustbox
|
||||||
texlive-local-algorithmicx
|
texlive-local-algorithmicx
|
||||||
texlive-local-algorithms
|
texlive-local-algorithms
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ dmenu
|
|||||||
doxygen
|
doxygen
|
||||||
dunst
|
dunst
|
||||||
e2fsprogs
|
e2fsprogs
|
||||||
|
ecryptfs-utils
|
||||||
electrum
|
electrum
|
||||||
emacs
|
emacs
|
||||||
encfs
|
encfs
|
||||||
@@ -64,6 +65,7 @@ gradle
|
|||||||
grep
|
grep
|
||||||
grub
|
grub
|
||||||
gzip
|
gzip
|
||||||
|
handbrake
|
||||||
hdf5
|
hdf5
|
||||||
hexyl
|
hexyl
|
||||||
highlight
|
highlight
|
||||||
@@ -109,6 +111,7 @@ neofetch
|
|||||||
neomutt
|
neomutt
|
||||||
neovim
|
neovim
|
||||||
netctl
|
netctl
|
||||||
|
nmap
|
||||||
nnn
|
nnn
|
||||||
noto-fonts
|
noto-fonts
|
||||||
ntfs-3g
|
ntfs-3g
|
||||||
@@ -204,6 +207,8 @@ sysfsutils
|
|||||||
sysstat
|
sysstat
|
||||||
systemd-sysvcompat
|
systemd-sysvcompat
|
||||||
tar
|
tar
|
||||||
|
task
|
||||||
|
tcpdump
|
||||||
termdown
|
termdown
|
||||||
texinfo
|
texinfo
|
||||||
texlive-core
|
texlive-core
|
||||||
@@ -213,6 +218,7 @@ tidy
|
|||||||
time
|
time
|
||||||
tmux
|
tmux
|
||||||
tor
|
tor
|
||||||
|
traceroute
|
||||||
transmission-cli
|
transmission-cli
|
||||||
transmission-gtk
|
transmission-gtk
|
||||||
ttf-dejavu
|
ttf-dejavu
|
||||||
|
|||||||
Reference in New Issue
Block a user