diff --git a/dot_config/fish/config.fish.tmpl b/dot_config/fish/config.fish.tmpl index 4d1cb9a..4c3e20c 100755 --- a/dot_config/fish/config.fish.tmpl +++ b/dot_config/fish/config.fish.tmpl @@ -109,6 +109,7 @@ abbr grc "grep-c" abbr grh "grep-headers" abbr rgh "rg-headers" -abbr jcp "java-compile-run Percolation" +abbr jcr "java-compile-run" +abbr jct "java-compile-test" # ]]] school # diff --git a/dot_config/fish/functions/java-compile-run.fish b/dot_config/fish/functions/java-compile-run.fish index 3a14176..1bb139b 100644 --- a/dot_config/fish/functions/java-compile-run.fish +++ b/dot_config/fish/functions/java-compile-run.fish @@ -1,6 +1,5 @@ function java-compile-run - # javac -cp .:../algs4.jar $argv[1].java - # and java -cp .:../algs4.jar $argv[1] - javac $argv[1].java - and java $argv[1] + # javac -d out $argv[1].java + javac -d out *.java + and java -cp "$CLASSPATH:out" $argv[1] end diff --git a/dot_config/i3/config.tmpl b/dot_config/i3/config.tmpl index 0c37be8..1938d62 100755 --- a/dot_config/i3/config.tmpl +++ b/dot_config/i3/config.tmpl @@ -6,9 +6,10 @@ exec compton exec imwheel exec numlockx on exec xbacklight -set 10 -exec wal -i "$(/home/kevin/scripts/shuffler \"/home/kevin/Pictures/Backgrounds/dim/non-editing\")" +# exec wal -i "$(/home/kevin/scripts/shuffler \"/home/kevin/Pictures/Backgrounds/dim/non-editing\")" +exec wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/non-editing") {{ end }} -# exec --no-startup-id i3-msg 'workspace $ws2; exec $term' +exec --no-startup-id i3-msg 'workspace $ws2; exec $term' exec --no-startup-id i3-msg 'workspace $ws3; exec $browser' # ]]] startup # @@ -16,8 +17,8 @@ exec --no-startup-id i3-msg 'workspace $ws3; exec $browser' # applications [[[ # set $mod Mod1 -# set $browser "firefox" -set $browser "chromium" +set $browser "firefox" +# set $browser "chromium" # set $term st # set $term_alt urxvt set $term urxvt @@ -28,7 +29,7 @@ set $sch_dir "$HOME/Documents/School" # app shortcuts [[[ # bindsym Control+Return exec $term -bindsym Control+Shift+Return exec $term -A1 +bindsym Control+Shift+Return exec st -A1 bindsym Control+$mod+Return exec $term_alt # bindsym Control+$mod+Return exec st # PROTIP: You can also dynamically set dmenu's colors this way: @@ -44,6 +45,8 @@ bindsym Mod4+c exec $browser bindsym Mod4+f exec firefox bindsym Mod4+$mod+f exec echo 'Kevin@fosstodon.org' | xclip -selection clipboard bindsym Mod4+h exec echo 'kevin.mok@live.ca' | xclip -selection clipboard +# bindsym $mod+m exec ~/scripts/vim-man +bindsym $mod+m exec urxvt -e ~/scripts/vim-man bindsym Mod4+$mod+m exec pass -c uoft/markus bindsym Mod4+n exec urxvt -e nvim bindsym Mod4+o exec xclip -selection clipboard ~/.password-store/social/gmail @@ -293,7 +296,8 @@ bindsym Mod4+F5 workspace $ws5; exec cd ~/coding/ada-mario && godot -e for_window [class="Face_detector"] floating enable for_window [class="Face_detector"] move absolute position 0 0 for_window [class="ada-mario"] floating enable -for_window [class="ada-mario"] move absolute position 930 480 +# for_window [class="ada-mario"] move absolute position 930 480 +for_window [class="ada-mario"] move absolute position 640 0 set $ws6 "6 " workspace $ws6 output $secondary diff --git a/dot_config/spotify/Users/polarbier-user/prefs.tmpl b/dot_config/spotify/Users/polarbier-user/prefs.tmpl index 9550d0e..d56d165 100644 --- a/dot_config/spotify/Users/polarbier-user/prefs.tmpl +++ b/dot_config/spotify/Users/polarbier-user/prefs.tmpl @@ -3,6 +3,7 @@ audio.sync_bitrate_enumeration=4 ui.track_notifications_enabled=false ui.show_friend_feed=false audio.play_bitrate_enumeration=4 +app.player.volume=40000 {{ if eq .chezmoi.fullHostname "x1-carbon" }} app.browser.zoom-level=300 {{ else }} diff --git a/dot_xinitrc.tmpl b/dot_xinitrc.tmpl index 07be29f..b298cd9 100755 --- a/dot_xinitrc.tmpl +++ b/dot_xinitrc.tmpl @@ -13,7 +13,8 @@ imwheel & numlockx on & start-pulseaudio-x11 & -wal -i "$(/home/kevin/scripts/shuffler \"$HOME/Pictures/Backgrounds/dim/non-editing\")" && /home/kevin/st/make-st.sh & +# wal -i "$(/home/kevin/scripts/shuffler \"$HOME/Pictures/Backgrounds/dim/non-editing\")" && /home/kevin/st/make-st.sh & +wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/non-editing") & {{ end }} exec i3 diff --git a/key_aliases.tmpl b/key_aliases.tmpl index ec1f2bf..d486e86 100755 --- a/key_aliases.tmpl +++ b/key_aliases.tmpl @@ -146,7 +146,7 @@ yar "yay -Rns" # sync yaud "yay -Sy" # sync and download -yaugd "yay -Syuw --answerclean=None --answerdiff=None --answeredit=None" +yadl "yay -Syuw --answerclean=None --answerdiff=None --answeredit=None" # sync and update yaug "yay -Syu --answerclean=None --answerdiff=None --answeredit=None" # export packages @@ -475,7 +475,7 @@ gpsh "git push heroku" # ]]] 309 # -jc "javac *.java" -j "java" +jc "javac -d out *.java" +jr "java -cp \"$CLASSPATH:out\"" # ]]] school # diff --git a/key_dirs.tmpl b/key_dirs.tmpl index c10551f..a0e2992 100755 --- a/key_dirs.tmpl +++ b/key_dirs.tmpl @@ -55,6 +55,9 @@ wo ~/Documents/workout-logs/11 sc ~/school lt ~/school/latex-notes +6 ~/school/263 +al1 ~/school/algorithms/w1-union-find + # 309 [[[ # 0c ~/school/309-proj/css @@ -66,6 +69,4 @@ lt ~/school/latex-notes # ]]] 309 # -al1 ~/school/algorithms/w1-union-find - # ]]] sch # diff --git a/scripts/executable_vim-man b/scripts/executable_vim-man new file mode 100644 index 0000000..15fb2ac --- /dev/null +++ b/scripts/executable_vim-man @@ -0,0 +1,4 @@ +#!/bin/bash + +man_choice=$(apropos . | awk '{ print $1 }' | dmenu -i) +nvim -c ":Man $man_choice" -c "resize 100" diff --git a/txt/exclude-dirs-backup-full.txt.tmpl b/txt/exclude-dirs-backup-full.txt similarity index 100% rename from txt/exclude-dirs-backup-full.txt.tmpl rename to txt/exclude-dirs-backup-full.txt diff --git a/txt/exclude-dirs-backup.txt.tmpl b/txt/exclude-dirs-backup.txt.tmpl index 16fe99f..2b8fe73 100755 --- a/txt/exclude-dirs-backup.txt.tmpl +++ b/txt/exclude-dirs-backup.txt.tmpl @@ -4,9 +4,7 @@ /home/kevin/.android /home/kevin/.AndroidStudio3.3 /home/kevin/Android -{{ if eq .chezmoi.fullHostname "x1-carbon" }} /home/kevin/coding/opencv -{{ end }} /lost+found /mnt /proc