Taskwarrior config
This commit is contained in:
@@ -43,8 +43,6 @@ set SPACEFISH_VI_MODE_SUFFIX ''
|
||||
set -x PASSWORD_STORE_CLIP_TIME 120
|
||||
set -xU XSET_RATE 90
|
||||
set -xU XSET_DELAY 200
|
||||
# causes xmodmap to have issues when opening terminal sometimes
|
||||
# xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE
|
||||
{{ if and (eq .chezmoi.fullHostname "x1-carbon") (not (eq .chezmoi.username "root")) }}
|
||||
xset r rate $XSET_DELAY $XSET_RATE
|
||||
{{ end }}
|
||||
@@ -81,6 +79,7 @@ end
|
||||
abbr ab "abbr"
|
||||
abbr abe "abbr -e"
|
||||
abbr hm "history merge"
|
||||
abbr hs "history search --show-time"
|
||||
# abbr rfc "chezmoi apply && source ~/.config/fish/config.fish"
|
||||
abbr f. "cd .."
|
||||
abbr f.. "cd ../.."
|
||||
@@ -92,6 +91,9 @@ abbr xf "fish_config"
|
||||
# fxn abbr's [[[ #
|
||||
|
||||
abbr ! "sudo !!"
|
||||
abbr ae "task-edit"
|
||||
abbr ad "task-done"
|
||||
abbr ap "task-mod-pri"
|
||||
abbr ag "grep-aliases"
|
||||
abbr b "buku-fzf"
|
||||
abbr bf "buku-fzf fq"
|
||||
@@ -111,6 +113,7 @@ abbr fzv "fzf-vim"
|
||||
# git [[[ #
|
||||
|
||||
abbr gcamp "git-amend-push"
|
||||
abbr gclg "git-clone-gitea"
|
||||
abbr gdf "git-diff-files"
|
||||
abbr gpsmt "git-push-multiple"
|
||||
abbr gremotes "git-mult-remotes"
|
||||
@@ -118,7 +121,7 @@ abbr grmb "git-delete-branch"
|
||||
abbr gro "git-replace-origin"
|
||||
|
||||
# ]]] git #
|
||||
abbr hs "scan-history"
|
||||
abbr svs "scan-history"
|
||||
abbr m "man-vim"
|
||||
abbr mat "math"
|
||||
abbr pgr "grep-pdf"
|
||||
@@ -151,3 +154,9 @@ 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
|
||||
|
||||
3
dot_config/fish/functions/git/git-clone-gitea.fish
Normal file
3
dot_config/fish/functions/git/git-clone-gitea.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function git-clone-gitea
|
||||
git clone ssh://git@ataraxy.tk:399/Kevin-Mok/$argv[1].git
|
||||
end
|
||||
@@ -1,4 +1,4 @@
|
||||
function git-push-new-gitea
|
||||
git remote add gitea git@git.ataraxy.tk:Kevin-Mok/$argv[1].git
|
||||
git remote add gitea ssh://git@ataraxy.tk:399/Kevin-Mok/$argv[1].git
|
||||
and git push --set-upstream gitea master
|
||||
end
|
||||
|
||||
4
dot_config/fish/functions/task/task-done.fish
Normal file
4
dot_config/fish/functions/task/task-done.fish
Normal file
@@ -0,0 +1,4 @@
|
||||
function task-done
|
||||
task $argv[1] done
|
||||
and task
|
||||
end
|
||||
3
dot_config/fish/functions/task/task-edit.fish
Normal file
3
dot_config/fish/functions/task/task-edit.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function task-edit
|
||||
task $argv[1] edit
|
||||
end
|
||||
4
dot_config/fish/functions/task/task-mod-pri.fish
Normal file
4
dot_config/fish/functions/task/task-mod-pri.fish
Normal file
@@ -0,0 +1,4 @@
|
||||
function task-mod-pri
|
||||
task $argv[1] modify pri:$argv[2]
|
||||
and task
|
||||
end
|
||||
@@ -28,7 +28,7 @@ set $sch_dir "$HOME/Documents/School"
|
||||
|
||||
# app shortcuts [[[ #
|
||||
|
||||
set $type_delay_cmd sleep .4
|
||||
set $type_delay_cmd sleep .3
|
||||
|
||||
bindsym Control+Return exec $term
|
||||
bindsym Control+Shift+Return exec st -A1
|
||||
@@ -73,7 +73,7 @@ bindsym Control+Mod4+w exec $term -e nvim /home/kevin/.config/watson/state.tmp
|
||||
# bindsym Mod4+x exec $swex
|
||||
bindsym Mod4+z exec cliqz
|
||||
{{ if .ext_kb }}
|
||||
bindsym Mod4+x exec xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE
|
||||
bindsym Mod4+x exec ~/scripts/xmodmap-custom
|
||||
bindsym Print --release exec "scrot -s /tmp/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'"
|
||||
bindsym Control+Print --release exec "scrot -u /tmp/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'"
|
||||
{{ else }}
|
||||
@@ -254,7 +254,7 @@ bindsym shift+x kill
|
||||
|
||||
bindsym Control+$mod+t sticky toggle
|
||||
# bindsym Control+$mod+a floating enable; resize set 400px 125px; move absolute position 1648 200; sticky enable
|
||||
bindsym Control+$mod+a floating enable; resize set 400px 110px; move absolute position 824 992; sticky enable
|
||||
bindsym Control+$mod+a floating enable; resize set 400px 150px; move absolute position 424 945; sticky enable
|
||||
|
||||
# for_window [class="ada-mario"] floating enable
|
||||
# for_window [class="ada-mario"] move absolute position 640 0
|
||||
@@ -339,7 +339,7 @@ bindsym Mod4+k workspace $ws6; exec slack
|
||||
set $ws7 "7 "
|
||||
workspace $ws7 output $secondary
|
||||
# bindsym $mod+F7 workspace $ws7; exec $term
|
||||
bindsym $mod+F7 workspace $ws7; exec $term -e mosh kevin@165.22.239.234 tmux a
|
||||
bindsym $mod+F7 workspace $ws7; exec $term -e mosh --ssh='ssh -p 399' kevin@165.22.239.234 tmux a
|
||||
# bindsym Mod4+v workspace $ws7; exec VBoxManage startvm "369-a1"
|
||||
|
||||
set $ws8 "8 "
|
||||
|
||||
Reference in New Issue
Block a user