Vim Golang/Firefox profile bindings

This commit is contained in:
2020-09-21 13:59:54 -04:00
parent ef68d2e9c7
commit b622ec0964
11 changed files with 79 additions and 29 deletions

View File

@@ -37,12 +37,12 @@ set -x PKG_CONFIG_PATH $PKG_CONFIG_PATH /usr/lib/pkgconfig
# set -x GRAALVM_HOME /usr/lib/jvm/graalvm-ce-java11-20.1.0
# set -x GRAALVM_BIN $GRAALVM_HOME/bin
# set -x JAVA_HOME /usr/lib/jvm/java-11-openjdk
# set -x JAVA_HOME $GRAALVM_HOME
# for shared libs
# set -x JAVA_HOME /usr/lib/jvm/java-8-openjdk
set -x JAVA_HOME /usr/lib/jvm/java-11-openjdk
# set -x JAVA_HOME /usr/lib/jvm/java-8-openjdk
set -x PATH $JAVA_HOME/bin $PATH
# ]]] Java #
@@ -76,7 +76,7 @@ set -xU FZF_DEFAULT_COMMAND "find ."
# set -xU PHONE_IP "192.168.0.10"
# set -xU WORK_LAPTOP_IP "kmok@192.168.0.12"
set -x PHONE_IP "192.168.0.10"
set -x PHONE_IP "192.168.0.11"
set -x WORK_LAPTOP_IP "kmok@192.168.0.12"
{{ if eq .chezmoi.fullHostname "nzxt" }}
@@ -208,12 +208,15 @@ abbr smr "smol-replace"
abbr shrm "shred-rm"
abbr shs "scan-history"
abbr svp "server-pages"
abbr ta "tmux-attach"
abbr thes "thesaurus"
abbr usc "us-to-cad"
abbr ut "unix-timestamp"
abbr uzr "unzip-rm"
abbr vsnp "vim-snippet"
abbr waf "watson-add-fortnite"
abbr wag "watson-add-game"
abbr waf "watson-add-game fortnite"
abbr wap "watson-add-game pokemon-go"
abbr xya "export-pkgs"
# school [[[ #

View File

@@ -1,4 +1,4 @@
function maven-test-method
# mvn "-Dtest=$argv[1]#*$argv[2]*" clean test
mvn "-Dtest=$argv[1]#*$argv[2]*" test
mvn "-Dtest=$argv[1]#*$argv[2]*" clean test
# mvn "-Dtest=$argv[1]#*$argv[2]*" test
end

View File

@@ -0,0 +1,3 @@
function mute-video
ffmpeg -i $argv[1] -c copy -an $argv[2]
end

View File

@@ -0,0 +1,11 @@
function watson-add-game
set year_month (date -u +"%Y-%m")
set start_time "$year_month-$argv[2] $argv[3]"
set end_time "$year_month-$argv[4] $argv[5]"
if test (count $argv) -eq 5
watson add -f $start_time -t $end_time fun +$argv[1]
else
watson add -f $start_time -t $end_time fun +$argv[1] +$argv[6]
end
end

View File

@@ -65,11 +65,10 @@ bindsym Mod4+l exec ~/scripts/dmenu-twitch
bindsym Mod4+m exec $type_delay_cmd && xdotool type 'me@kevin-mok.com'
# bindsym Mod4+$mod+m exec pass -c uoft/markus
bindsym Mod4+n exec $term -e nvim
# bindsym Mod4+o exec $type_delay_cmd && xdotool key 'Control_L+v'
# bindsym Mod4+o exec xclip -selection clipboard ~/.password-store/social/gmail && $type_delay_cmd && xdotool key 'Control_L+v'
# bindsym Mod4+$mod+o exec xset dpms force off
# bindsym Mod4+o exec xclip -selection clipboard ~/.password-store/social/gmail && $type_delay_cmd && xdotool key 'Control_L+v'
bindsym Mod4+o exec obs
bindsym Mod4+$mod+o exec xset dpms force off
bindSym $mod+Mod4+o exec xclip -selection clipboard ~/.password-store/social/gmail && $type_delay_cmd && xdotool key 'Control_L+v'
# bindsym Mod4+p workspace $ws4; exec pgadmin3
# bindsym Mod4+p exec pycharm
bindsym Mod4+p exec passmenu
@@ -338,6 +337,7 @@ set $ws3 "3 "
# set $ws3 "3 "
# workspace $ws3 output $main
bindsym $mod+F3 workspace $ws3; exec $browser
bindsym Mod4+$mod+F3 workspace $ws3; exec firefox -P work
# bindsym Mod4+b workspace $ws3; layout stacked; exec $term -e fish -c "buku-fzf"
# bindsym Mod4+$mod+b workspace $ws3; layout stacked; exec $term -e fish -c "buku-fzf fq"
# bindsym Mod4+b layout stacked; exec $term -e fish -c "buku-fzf"
@@ -359,9 +359,9 @@ set $ws5 "5 "
# workspace $ws5 output $secondary
assign [class="Steam"] $ws5
bindsym $mod+F5 workspace $ws5; exec $browser
bindsym $mod+Mod4+F5 workspace $ws5; exec chromium
bindsym $mod+Mod4+F5 workspace $ws5; exec firefox -P work
# bindsym $mod+Mod4+F5 workspace $ws5; exec firefox --private-window
bindsym $mod+Shift+F5 workspace $ws5; exec firefox --private-window
bindsym $mod+Shift+F5 workspace $ws5; exec chromium
# bindsym Mod4+g workspace $ws5; layout stacking; exec $term -e steam
# bindsym Mod4+g workspace $ws5; layout tabbed; exec gimp
# bindsym Mod4+g workspace $ws5; exec mgba-qt

View File

@@ -33,6 +33,7 @@ SCONTROL=${SCONTROL:-""}
# }}} default vars #
AUDIO_DELTA=${AUDIO_DELTA:-5}
# AUDIO_DELTA=${AUDIO_DELTA:-1}
# LONG_FORMAT=${LONG_FORMAT:-'${SYMB} ${VOL}% [${INDEX}:${NAME}]'}
LONG_FORMAT=${SHORT_FORMAT:-'${SINK_SYMB} ${VOL}%'}