From 37ba6b8dcf995577f7a2fa5e711fd1be475ae9c7 Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Thu, 5 Sep 2019 00:48:47 -0400 Subject: [PATCH] Taskwarrior config/fxn's, liteshort fxn's Update NZXT packages. --- aliases/key_aliases.tmpl | 23 +++--- aliases/key_dirs.tmpl | 4 +- aliases/key_files.tmpl | 3 + dot_Xresources.tmpl | 3 +- dot_config/fish/config.fish.tmpl | 32 ++++++--- .../fish/functions/git/git-push-initial.fish | 5 ++ .../functions/git/git-push-new-gitea.fish | 4 +- dot_config/fish/functions/smol/smol-add.fish | 10 +++ .../fish/functions/smol/smol-delete.fish | 12 ++++ .../fish/functions/smol/smol-replace.fish | 11 +++ .../fish/functions/smol/smol-slist.fish | 6 ++ dot_config/fish/functions/task/task-anno.fish | 4 ++ .../fish/functions/task/task-context.fish | 4 ++ .../fish/functions/task/task-delete.fish | 5 ++ dot_config/fish/functions/task/task-done.fish | 1 + dot_config/fish/functions/task/task-edit.fish | 1 + .../fish/functions/task/task-mod-proj.fish | 4 ++ .../fish/functions/task/task-mod-tag.fish | 4 ++ dot_config/fish/functions/task/task-next.fish | 4 ++ .../fish/functions/task/task-start.fish | 4 ++ dot_config/i3/config.tmpl | 11 +-- dot_taskopenrc | 71 +++++++++++++++++++ dot_taskrc | 39 ++++++++-- dot_vimrc.tmpl | 4 +- ...able_xmodmap => executable_xmodmap-custom} | 0 txt/nzxt-all.txt | 10 +++ txt/nzxt-aur.txt | 4 ++ txt/nzxt-pkgs.txt | 6 ++ 28 files changed, 256 insertions(+), 33 deletions(-) create mode 100755 dot_config/fish/functions/git/git-push-initial.fish create mode 100644 dot_config/fish/functions/smol/smol-add.fish create mode 100644 dot_config/fish/functions/smol/smol-delete.fish create mode 100644 dot_config/fish/functions/smol/smol-replace.fish create mode 100644 dot_config/fish/functions/smol/smol-slist.fish create mode 100644 dot_config/fish/functions/task/task-anno.fish create mode 100644 dot_config/fish/functions/task/task-context.fish create mode 100644 dot_config/fish/functions/task/task-delete.fish create mode 100644 dot_config/fish/functions/task/task-mod-proj.fish create mode 100644 dot_config/fish/functions/task/task-mod-tag.fish create mode 100644 dot_config/fish/functions/task/task-next.fish create mode 100644 dot_config/fish/functions/task/task-start.fish create mode 100644 dot_taskopenrc rename scripts/{executable_xmodmap => executable_xmodmap-custom} (100%) diff --git a/aliases/key_aliases.tmpl b/aliases/key_aliases.tmpl index 8349fdf..8af2afb 100644 --- a/aliases/key_aliases.tmpl +++ b/aliases/key_aliases.tmpl @@ -80,6 +80,7 @@ cpssh "ssh-copy-id -i ~/.ssh/id_rsa.pub" xcssh "bat ~/.ssh/id_rsa.pub | xclip -selection clipboard" sp "mosh --ssh='ssh -p 8022' 192.168.0.12" 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" # test server sites svp "firefox git.ataraxy.tk khkm.tk cal.khkm.tk pste.gq smol.gq twem.tk" @@ -279,7 +280,14 @@ am "antimicro" a "task" aa "task add" 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" +asm "task summary" +awt "task waiting" ay "task sync" # ]]] task # @@ -315,10 +323,9 @@ fh "feh" fi "fish" gpd "gpg --decrypt" gpe "gpg --encrypt --recipient" -hba "habitctl ask" -hbe "habitctl edit" -hbeh "habitctl edith" -hbl "habitctl log" +hb "habitctl log" +# hbe "habitctl edit" +# hbeh "habitctl edith" htc "htop -s PERCENT_CPU" htm "htop -s PERCENT_MEM" i "sxiv" @@ -350,7 +357,7 @@ sn "sudo nvim" ss "mosh" stp "termdown" # sw "swex" -t "tmux"#[[[ +t "tmux"#[[[ ta "tmux a -t" tac "tmux a -t config || tmux new -s config" taj "tmux a -t journal || tmux new -s journal" @@ -454,7 +461,7 @@ gmgt "git mergetool" gr "git remote -v" 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" 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" gps "git push" 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 "eval (git push 2>&1 | tail -n 2)" gpsf "git push --force" @@ -674,7 +681,7 @@ sac "source ../../bin/activate.fish" dea "deactivate" 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 # diff --git a/aliases/key_dirs.tmpl b/aliases/key_dirs.tmpl index 1052286..e76f807 100644 --- a/aliases/key_dirs.tmpl +++ b/aliases/key_dirs.tmpl @@ -17,7 +17,8 @@ o / p ~/.password-store P ~/Pictures std ~/st -tm /tmp +# tm /tmp +tm ~/tmp {{ if and (eq .chezmoi.username "root") (eq .linux_os "debian") }} ng /etc/nginx/sites-available @@ -31,6 +32,7 @@ sv /etc/systemd/system ad ~/.task ccd ~/.calcurse cn ~/coding +hbd ~/.habitctl ib ~/linux-config/dot_config/i3blocks/scripts ra ~/linux-config/dot_config/ranger sr ~/linux-config/scripts diff --git a/aliases/key_files.tmpl b/aliases/key_files.tmpl index 1007e5b..8134c87 100644 --- a/aliases/key_files.tmpl +++ b/aliases/key_files.tmpl @@ -35,6 +35,8 @@ bid ~/Documents/journal/todo/blog.md ci ~/linux-config/txt/ideas.md cm ./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 id ~/Documents/journal/todo/ideas.md ig ./.gitignore @@ -51,6 +53,7 @@ tg ~/.config/watson/tags_cache tt txt/todo.md tm ~/.vim/plugged/vim-snippets/UltiSnips/texmath.snippets tp /tmp/ +tw ~/linux-config/dot_taskrc wh ~/Documents/journal/todo/work-habit.md wt ~/.config/watson/state.tmp diff --git a/dot_Xresources.tmpl b/dot_Xresources.tmpl index c178ccc..874648e 100644 --- a/dot_Xresources.tmpl +++ b/dot_Xresources.tmpl @@ -42,7 +42,8 @@ URxvt*transparent: true URxvt*inheritPixmap: true ! URxvt*transparent: false ! 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*blurRadius: 10 diff --git a/dot_config/fish/config.fish.tmpl b/dot_config/fish/config.fish.tmpl index 67f2052..95c39ef 100755 --- a/dot_config/fish/config.fish.tmpl +++ b/dot_config/fish/config.fish.tmpl @@ -22,6 +22,7 @@ set -U fish_greeting set -U spv_dir "/home/kevin/coding/spotify-lib-vis" set -U mfs_dir "/home/kevin/coding/mf-site" source /home/kevin/coding/spotify-lib-vis/src/scripts/api-keys-fish.sh +abbr hum "cd $mfs_dir && hugo serve -D --disableFastRender" {{ end }} 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 hsm "history merge" +abbr nxv "$EDITOR ~/.config/fish/fish_variables" abbr xf "fish_config" # ]]] fish-specific # @@ -91,9 +93,20 @@ abbr xf "fish_config" # fxn abbr's [[[ # abbr ! "sudo !!" +# task [[[ # + +abbr aan "task-anno" abbr ae "task-edit" -abbr ad "task-done" -abbr ap "task-mod-pri" +abbr adl "task-delete" +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 b "buku-fzf" abbr bf "buku-fzf fq" @@ -115,14 +128,17 @@ abbr fzv "fzf-vim" abbr gcamp "git-amend-push" abbr gclg "git-clone-gitea" abbr gdf "git-diff-files" +abbr gpsi "git-push-initial" 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 grmb "git-delete-branch" abbr gro "git-replace-origin" # ]]] git # -abbr svs "scan-history" abbr m "man-vim" +abbr ma "man-vim task" abbr mat "math" abbr pgr "grep-pdf" abbr pgrf "grep-pdf-file" @@ -130,7 +146,12 @@ abbr png "git-push-new-gitea" abbr pst "pastebin" abbr rf "refresh-config" 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 svs "scan-history" abbr tac "tmux-attach config" abbr taj "tmux-attach journal" abbr thes "thesaurus" @@ -153,10 +174,5 @@ abbr jct "java-compile-test" # ]]] fxn abbr's # -abbr hum "cd $mfs_dir && hugo serve -D --disableFastRender" - # 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 diff --git a/dot_config/fish/functions/git/git-push-initial.fish b/dot_config/fish/functions/git/git-push-initial.fish new file mode 100755 index 0000000..e7578dc --- /dev/null +++ b/dot_config/fish/functions/git/git-push-initial.fish @@ -0,0 +1,5 @@ +function git-push-initial + git add -A + and git commit -S -m 'Initial commit' + and git push +end diff --git a/dot_config/fish/functions/git/git-push-new-gitea.fish b/dot_config/fish/functions/git/git-push-new-gitea.fish index 0b707c0..5d1b230 100644 --- a/dot_config/fish/functions/git/git-push-new-gitea.fish +++ b/dot_config/fish/functions/git/git-push-new-gitea.fish @@ -1,4 +1,4 @@ function git-push-new-gitea - git remote add gitea ssh://git@ataraxy.tk:399/Kevin-Mok/$argv[1].git - and git push --set-upstream gitea master + git remote add $argv[1] ssh://git@ataraxy.tk:399/Kevin-Mok/$argv[2].git + and git push --set-upstream $argv[1] master end diff --git a/dot_config/fish/functions/smol/smol-add.fish b/dot_config/fish/functions/smol/smol-add.fish new file mode 100644 index 0000000..5e5fbc1 --- /dev/null +++ b/dot_config/fish/functions/smol/smol-add.fish @@ -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 diff --git a/dot_config/fish/functions/smol/smol-delete.fish b/dot_config/fish/functions/smol/smol-delete.fish new file mode 100644 index 0000000..7ff3a1c --- /dev/null +++ b/dot_config/fish/functions/smol/smol-delete.fish @@ -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 diff --git a/dot_config/fish/functions/smol/smol-replace.fish b/dot_config/fish/functions/smol/smol-replace.fish new file mode 100644 index 0000000..e94b815 --- /dev/null +++ b/dot_config/fish/functions/smol/smol-replace.fish @@ -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 diff --git a/dot_config/fish/functions/smol/smol-slist.fish b/dot_config/fish/functions/smol/smol-slist.fish new file mode 100644 index 0000000..3967cce --- /dev/null +++ b/dot_config/fish/functions/smol/smol-slist.fish @@ -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 diff --git a/dot_config/fish/functions/task/task-anno.fish b/dot_config/fish/functions/task/task-anno.fish new file mode 100644 index 0000000..23a77e8 --- /dev/null +++ b/dot_config/fish/functions/task/task-anno.fish @@ -0,0 +1,4 @@ +function task-anno + task $argv[1] annotate $argv[2] + and task +end diff --git a/dot_config/fish/functions/task/task-context.fish b/dot_config/fish/functions/task/task-context.fish new file mode 100644 index 0000000..5f080ef --- /dev/null +++ b/dot_config/fish/functions/task/task-context.fish @@ -0,0 +1,4 @@ +function task-context + task context $argv[1] + and task +end diff --git a/dot_config/fish/functions/task/task-delete.fish b/dot_config/fish/functions/task/task-delete.fish new file mode 100644 index 0000000..1a6425f --- /dev/null +++ b/dot_config/fish/functions/task/task-delete.fish @@ -0,0 +1,5 @@ +function task-delete + task $argv[1] delete + and task sync + and task +end diff --git a/dot_config/fish/functions/task/task-done.fish b/dot_config/fish/functions/task/task-done.fish index 740c01b..a9f9923 100644 --- a/dot_config/fish/functions/task/task-done.fish +++ b/dot_config/fish/functions/task/task-done.fish @@ -1,4 +1,5 @@ function task-done task $argv[1] done + and task sync and task end diff --git a/dot_config/fish/functions/task/task-edit.fish b/dot_config/fish/functions/task/task-edit.fish index 34d88dd..59b7e9a 100644 --- a/dot_config/fish/functions/task/task-edit.fish +++ b/dot_config/fish/functions/task/task-edit.fish @@ -1,3 +1,4 @@ function task-edit task $argv[1] edit + and task end diff --git a/dot_config/fish/functions/task/task-mod-proj.fish b/dot_config/fish/functions/task/task-mod-proj.fish new file mode 100644 index 0000000..2c04b69 --- /dev/null +++ b/dot_config/fish/functions/task/task-mod-proj.fish @@ -0,0 +1,4 @@ +function task-mod-proj + task $argv[1] modify project:$argv[2] + and task +end diff --git a/dot_config/fish/functions/task/task-mod-tag.fish b/dot_config/fish/functions/task/task-mod-tag.fish new file mode 100644 index 0000000..b7cc2e9 --- /dev/null +++ b/dot_config/fish/functions/task/task-mod-tag.fish @@ -0,0 +1,4 @@ +function task-mod-tag + task $argv[1] modify +$argv[2] + and task +end diff --git a/dot_config/fish/functions/task/task-next.fish b/dot_config/fish/functions/task/task-next.fish new file mode 100644 index 0000000..b233a91 --- /dev/null +++ b/dot_config/fish/functions/task/task-next.fish @@ -0,0 +1,4 @@ +function task-next + task $argv[1] modify +next + and task +end diff --git a/dot_config/fish/functions/task/task-start.fish b/dot_config/fish/functions/task/task-start.fish new file mode 100644 index 0000000..85ea529 --- /dev/null +++ b/dot_config/fish/functions/task/task-start.fish @@ -0,0 +1,4 @@ +function task-start + task $argv[1] start + and task +end diff --git a/dot_config/i3/config.tmpl b/dot_config/i3/config.tmpl index 632be7d..9f0e3dc 100755 --- a/dot_config/i3/config.tmpl +++ b/dot_config/i3/config.tmpl @@ -1,9 +1,9 @@ # startup [[[ # -# set $term $term -# set $term_alt st -set $term st -set $term_alt urxvt +set $term urxvt +set $term_alt st +# set $term st +# set $term_alt urxvt {{ if eq .chezmoi.fullHostname "x1-carbon" }} exec dunst exec compton @@ -63,6 +63,7 @@ bindsym Mod4+p exec passmenu bindsym Mod4+q exec qdirstat bindsym Mod4+r exec $term -e ranger 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+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' @@ -433,7 +434,7 @@ bindsym $mod+Shift+5 move container to workspace $ws15; workspace $ws15 bindsym Control+$mod+r exec i3-msg restart bindsym $mod+Shift+c 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) bindsym Control+$mod+s exec systemctl suspend diff --git a/dot_taskopenrc b/dot_taskopenrc new file mode 100644 index 0000000..cbb9b95 --- /dev/null +++ b/dot_taskopenrc @@ -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="" diff --git a/dot_taskrc b/dot_taskrc index 8a04ce6..5a84191 100644 --- a/dot_taskrc +++ b/dot_taskrc @@ -1,3 +1,5 @@ +# info {{{ # + # [Created by task 2.5.1 9/3/2019 01:25:18] # Taskwarrior program configuration file. # 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 -# Files +# }}} info # + 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-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-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 @@ -28,13 +31,35 @@ data.location=~/.task #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 +# }}} + +# server {{{ # taskd.certificate=\/home\/kevin\/.task\/do.cert.pem taskd.key=\/home\/kevin\/.task\/do.key.pem taskd.ca=\/home\/kevin\/.task\/ca.cert.pem taskd.server=taskd.khkm.tk:53589 taskd.credentials=Hevin\/Kevin\/e843c83c-b701-43e7-9509-70595333b419 -context.school=project:school -context.personal=project.not:school project.not:ideas project.not:buy -# context=school -context=personal + +# }}} server # + +# 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 # diff --git a/dot_vimrc.tmpl b/dot_vimrc.tmpl index 6c778e6..5694aa4 100644 --- a/dot_vimrc.tmpl +++ b/dot_vimrc.tmpl @@ -67,6 +67,7 @@ autocmd Filetype go set expandtab! sw=4 " autocmd Filetype markdown set commentstring= " autocmd Filetype markdown map :LivedownToggle autocmd Filetype markdown map :InstantMarkdownPreview +autocmd Filetype markdown map :InstantMarkdownStop:InstantMarkdownPreview autocmd Filetype markdown nnoremap >>A autocmd Filetype markdown inoremap <<j :%!python -m json.tool autocmd Filetype json set foldmethod=marker autocmd FileType sh map :!clear && shellcheck % -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 :VimtexCompile autocmd VimEnter *.tex VimtexCompile autocmd VimLeave *.tex !tex-clean %:p diff --git a/scripts/executable_xmodmap b/scripts/executable_xmodmap-custom similarity index 100% rename from scripts/executable_xmodmap rename to scripts/executable_xmodmap-custom diff --git a/txt/nzxt-all.txt b/txt/nzxt-all.txt index 32352c0..289e1f7 100644 --- a/txt/nzxt-all.txt +++ b/txt/nzxt-all.txt @@ -48,6 +48,8 @@ doxygen dragon-drag-and-drop-git dunst e2fsprogs +ecryptfs-simple +ecryptfs-utils electrum emacs encfs @@ -75,11 +77,13 @@ gimp git glibc godot-bin +gotop-bin gradle grep grub gzip habitctl-git +handbrake hdf5 heroku-cli hexyl @@ -142,6 +146,7 @@ neovim nerd-fonts-dejavu-complete nerd-fonts-hack netctl +nmap nnn noto-fonts ntfs-3g @@ -252,6 +257,10 @@ sysstat systemd-numlockontty systemd-sysvcompat tar +task +taskopen +tasksh +tcpdump termdown texinfo texlive-core @@ -294,6 +303,7 @@ tidy time tmux tor +traceroute transmission-cli transmission-gtk trizen diff --git a/txt/nzxt-aur.txt b/txt/nzxt-aur.txt index 0f35434..90983b5 100644 --- a/txt/nzxt-aur.txt +++ b/txt/nzxt-aur.txt @@ -10,9 +10,11 @@ cliqz-bin compton-tryone-git curseradio-git dragon-drag-and-drop-git +ecryptfs-simple ffcast flashplugin-focusfix godot-bin +gotop-bin habitctl-git heroku-cli htop-vim-git @@ -46,6 +48,8 @@ spotify spotify-now-git steamos-xpad-dkms systemd-numlockontty +taskopen +tasksh texlive-local-adjustbox texlive-local-algorithmicx texlive-local-algorithms diff --git a/txt/nzxt-pkgs.txt b/txt/nzxt-pkgs.txt index af27a78..a4d0240 100644 --- a/txt/nzxt-pkgs.txt +++ b/txt/nzxt-pkgs.txt @@ -36,6 +36,7 @@ dmenu doxygen dunst e2fsprogs +ecryptfs-utils electrum emacs encfs @@ -64,6 +65,7 @@ gradle grep grub gzip +handbrake hdf5 hexyl highlight @@ -109,6 +111,7 @@ neofetch neomutt neovim netctl +nmap nnn noto-fonts ntfs-3g @@ -204,6 +207,8 @@ sysfsutils sysstat systemd-sysvcompat tar +task +tcpdump termdown texinfo texlive-core @@ -213,6 +218,7 @@ tidy time tmux tor +traceroute transmission-cli transmission-gtk ttf-dejavu