Update chezmoi data on laptop
This commit is contained in:
@@ -28,10 +28,11 @@ td "tldr"
|
||||
# display [[[ #
|
||||
|
||||
# nvt "nvidia-settings --assign CurrentMetaMode='DVI-I-1: nvidia-auto-select +0+0 {ForceCompositionPipeline=On}, HDMI-0: nvidia-auto-select +3840+0 {ForceCompositionPipeline=On}'"
|
||||
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
|
||||
{{ if eq .chezmoi.hostname "x1-carbon" }}
|
||||
xr "xrandr"
|
||||
xro "xrandr --output HDMI2 --off"
|
||||
xrr "xrandr --output HDMI2 --auto --right-of eDP1 --scale 1.33x1.33"
|
||||
xrl "xrandr --output HDMI2 --auto --left-of eDP1 --scale 1.33x1.33 && xrandr --output eDP1 --panning 2560x1440+2554+0"
|
||||
xrr "xrandr --output HDMI2 --auto --right-of eDP1 --scale 1.33x1.33"
|
||||
xrm "xrandr --output HDMI2 --auto --same-as eDP1 --scale 1.33x1.33"
|
||||
xrs "xrandr -s 0"
|
||||
{{ end }}
|
||||
@@ -68,9 +69,11 @@ ctt "sudo systemctl status"
|
||||
ctltd "sudo systemctl status dhcpcd"
|
||||
ctlas "sudo systemctl start sshd"
|
||||
|
||||
nct "sudo netctl"
|
||||
nctf "sudo ip link set dev wlp3s0 down"
|
||||
nctr "sudo systemctl restart netctl-auto@wlp4s0.service"
|
||||
nc "sudo netctl"
|
||||
ncd "sudo ip link set dev wlp3s0 down"
|
||||
ncu "sudo ip link set dev wlp3s0 up"
|
||||
ncr "sudo systemctl restart netctl-auto@wlp3s0.service"
|
||||
ncs "sudo systemctl stop netctl-auto@wlp3s0.service"
|
||||
|
||||
# ]]] systemctl #
|
||||
|
||||
@@ -103,7 +106,7 @@ udub "udisksctl unmount -b /dev/sdc2"
|
||||
|
||||
# ]]] mounting #
|
||||
|
||||
tc "touch"
|
||||
tch "touch"
|
||||
vdr "vidir --verbose"
|
||||
|
||||
# directory-related [[[ #
|
||||
@@ -140,13 +143,14 @@ ds "df -h | head -n 1 && df -h | grep sd"
|
||||
chownw "sudo chown -R kevin:wheel"
|
||||
chwnm "sudo chown -R kevin:wheel /run/media/{{ .chezmoi.username }}"
|
||||
# cd into backup folder and show backup sizes
|
||||
nbu "cd /run/media/kevin/backup-hd/{{ .chezmoi.fullHostname }}/tar && lsd -l"
|
||||
nbu "cd /run/media/kevin/backup-hd/{{ .chezmoi.hostname }}/tar && lsd -l"
|
||||
|
||||
# ]]] directory-related #
|
||||
|
||||
# power options [[[ #
|
||||
|
||||
s "systemctl suspend"
|
||||
sl "i3lock-fancy && systemctl suspend"
|
||||
x "exit"
|
||||
so "xset dpms force off"
|
||||
sd "tmux kill-server; systemctl poweroff"
|
||||
@@ -154,7 +158,7 @@ rb "systemctl reboot"
|
||||
lo "i3-msg exit"
|
||||
xm "xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE"
|
||||
X "xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE"
|
||||
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
|
||||
{{ if eq .chezmoi.hostname "x1-carbon" }}
|
||||
xl "xmodmap ~/.Xmodmap-laptop && xset r rate $XSET_DELAY $XSET_RATE"
|
||||
XL "xmodmap ~/.Xmodmap-laptop && xset r rate $XSET_DELAY $XSET_RATE"
|
||||
bt "~/linux-config/dot_config/i3blocks/scripts/executable_battery"
|
||||
@@ -164,7 +168,7 @@ bt "~/linux-config/dot_config/i3blocks/scripts/executable_battery"
|
||||
|
||||
# sound [[[ #
|
||||
|
||||
{{ if eq .chezmoi.fullHostname "nzxt" }}
|
||||
{{ if eq .chezmoi.hostname "nzxt" }}
|
||||
vlm "alsamixer -c 0"
|
||||
vlh "alsamixer -c 2"
|
||||
{{ else }}
|
||||
@@ -183,7 +187,7 @@ vlm "alsamixer -c 1"
|
||||
# pcr "sudo pacman -Rns"
|
||||
# pcud "sudo pacman -Sy"
|
||||
# pcug "sudo pacman -Syu"
|
||||
# xpc "pacman -Qqne > ~/{{ .chezmoi.os }}-config/txt/{{ .chezmoi.fullHostname }}-pkgs.txt && pacman -Qqme > ~/{{ .chezmoi.os }}-config/txt/{{ .chezmoi.fullHostname }}-aur.txt "
|
||||
# xpc "pacman -Qqne > ~/{{ .chezmoi.os }}-config/txt/{{ .chezmoi.hostname }}-pkgs.txt && pacman -Qqme > ~/{{ .chezmoi.os }}-config/txt/{{ .chezmoi.hostname }}-aur.txt "
|
||||
|
||||
# ]]] pacman #
|
||||
|
||||
@@ -248,6 +252,7 @@ spipi "sudo pip install"
|
||||
# internet [[[ #
|
||||
|
||||
pg "ping -c 2 -W 1 8.8.8.8"
|
||||
wpg "watch ping -c 2 -W 1 8.8.8.8"
|
||||
pgc "ping 8.8.8.8"
|
||||
dh "sudo dhcpcd"
|
||||
kdh "sudo killall dhcpcd"
|
||||
@@ -279,13 +284,17 @@ am "antimicro"
|
||||
|
||||
a "task"
|
||||
aa "task add"
|
||||
aa3 "task add proj:sch +324"
|
||||
aal "task add proj:lnx"
|
||||
aap "task add proj:"
|
||||
aas "task add proj:sch"
|
||||
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"
|
||||
af "task proj:"
|
||||
al "task limit:10"
|
||||
ans "task +next"
|
||||
ao "taskopen"
|
||||
@@ -339,7 +348,8 @@ ka "killall"
|
||||
kd "killall Discord && killall Discord"
|
||||
kr "killall electron"
|
||||
kt "killall thunderbird"
|
||||
mp "mpv --volume=50"
|
||||
# mp "mpv --volume=50"
|
||||
m "mpv"
|
||||
mra "man ranger"
|
||||
# mt "minetest"
|
||||
n "nvim"
|
||||
@@ -365,6 +375,7 @@ ta "tmux a -t"
|
||||
tac "tmux a -t config || tmux new -s config"
|
||||
taj "tmux a -t journal || tmux new -s journal"
|
||||
tal "tmux a"
|
||||
tc "clear && tmux clear-history"
|
||||
tk "tmux kill-server"
|
||||
tl "tmux ls"
|
||||
tn "tmux new -s"
|
||||
@@ -372,7 +383,8 @@ tnb "tmux new -s backup"
|
||||
#]]]
|
||||
usn "usernames --num 20"
|
||||
vmd "vimdiff"
|
||||
wg "wego"
|
||||
# wg "wego"
|
||||
wg "curl -L wthr.ml"
|
||||
ytd "youtube-dl"
|
||||
z "zathura --fork"
|
||||
|
||||
@@ -611,7 +623,7 @@ slg "tail -n 5 $spv_dir/src/api/management/commands/update-history.log"
|
||||
# removes all but newest file
|
||||
# rmol "ls -t | tail -n +2 | xargs rm -- && l"
|
||||
|
||||
snw "spotify-now -i '%artist - %title'"
|
||||
# snw "spotify-now -i '%artist - %title'"
|
||||
|
||||
svd "pg_dump spotifyvis > spotifyvis.bak"
|
||||
|
||||
@@ -691,6 +703,7 @@ nst "cp ~/Documents/workout-logs/stretching.md /tmp && nvim /tmp/stretching.md"
|
||||
|
||||
# games [[[ #
|
||||
|
||||
{{ if eq .chezmoi.hostname "nzxt" }}
|
||||
wlm "watson log --all --project=minetest"
|
||||
wrm "watson report --all --project=minetest"
|
||||
wamv "watson start minetest +video"
|
||||
@@ -704,6 +717,7 @@ msv "minetestserver --gameid minimal --worldname Test --terminal"
|
||||
# mtrsy "rsync -vr .minetest/ /mnt/linux-files/.minetest/"
|
||||
|
||||
tet "pandoc -f markdown -t html twitch-emote-conversion.md | xclip -selection clipboard"
|
||||
{{ end }}
|
||||
|
||||
# ]]] games #
|
||||
|
||||
@@ -714,14 +728,10 @@ tet "pandoc -f markdown -t html twitch-emote-conversion.md | xclip -selection cl
|
||||
# wrf "watson report --all --tag=final"
|
||||
ssc "mosh mokkar@teach.cs.utoronto.ca"
|
||||
|
||||
# alg course
|
||||
jc "javac -d out *.java"
|
||||
jr "java -cp \"$CLASSPATH:out\""
|
||||
|
||||
# 263
|
||||
wl6 "watson log --all --project=263 --tag=a5"
|
||||
wr6 "watson report --all --project=263 --tag=a5"
|
||||
z6 "zathura --fork ~/school/263/Introduction-to-Algorithms-CLRs/Introduction\ to\ Algorithms\ -\ 3rd\ Edition.pdf"
|
||||
pd6 "pdflatex a5"
|
||||
rk "clear && tmux clear-history && raco test"
|
||||
rka "clear && tmux clear-history && raco test hubbub_test_sample.rkt"
|
||||
rkr "clear && tmux clear-history && racket"
|
||||
# hk "clear && tmux clear-history && runhaskell TestChups.hs"
|
||||
hk "clear && tmux clear-history && runhaskell"
|
||||
|
||||
# ]]] school #
|
||||
|
||||
@@ -31,9 +31,11 @@ sv /etc/systemd/system
|
||||
|
||||
ad ~/.task
|
||||
ccd ~/.calcurse
|
||||
cms ~/Documents/codm/site
|
||||
cn ~/coding
|
||||
hbd ~/.habitctl
|
||||
ib ~/linux-config/dot_config/i3blocks/scripts
|
||||
ms ~/coding/my-site
|
||||
ra ~/linux-config/dot_config/ranger
|
||||
sr ~/linux-config/scripts
|
||||
snp ~/.vim/plugged/vim-snippets/UltiSnips
|
||||
@@ -41,7 +43,7 @@ sw ~/.local/share/nvim/swap/
|
||||
tx ~/linux-config/txt
|
||||
wd ~/.config/watson
|
||||
|
||||
{{ if eq .chezmoi.fullHostname "nzxt" }}
|
||||
{{ if eq .chezmoi.hostname "nzxt" }}
|
||||
b1 ~/coding/mf-site/themes/base16
|
||||
2d ~/coding/godot-demos/2d-plat
|
||||
ada ~/coding/ada-mario
|
||||
@@ -49,9 +51,6 @@ ft ~/coding/face-tracker
|
||||
j ~/Documents/journal
|
||||
lh ~/Documents/listening-history
|
||||
mmd ~/coding/move-mouse-with-head
|
||||
mfs ~/coding/mf-site
|
||||
mh ~/coding/mf-site/layouts
|
||||
# mg ~/coding/best-mf-site-personal
|
||||
sv ~/coding/spotify-lib-vis/src
|
||||
svg ~/coding/spotify-lib-vis/src/graphs/static/graphs/scripts
|
||||
swd ~/coding/swex
|
||||
@@ -73,7 +72,7 @@ pk ~/Downloads/gba/mgba/pokemon/emerald/1
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
|
||||
{{ if eq .chezmoi.hostname "x1-carbon" }}
|
||||
adb ~/coding/ada-mario/build
|
||||
adm ~/coding/ada-mario/media
|
||||
adp ~/coding/ada-mario-presentation
|
||||
@@ -88,25 +87,11 @@ adP ~/Pictures/ada-mario
|
||||
sc ~/school
|
||||
lt ~/school/latex-notes
|
||||
|
||||
6 ~/school/263
|
||||
63 ~/school/263/a5
|
||||
# 631 ~/school/263/a5/q1
|
||||
# 632 ~/school/263/a5/q2
|
||||
633 ~/school/263/a5/q3
|
||||
63t ~/school/latex-notes/263/a5
|
||||
2 ~/school/324
|
||||
2a ~/school/324-a2-2
|
||||
2e ~/school/324/e/8
|
||||
2l ~/school/324/l/8
|
||||
|
||||
al1 ~/school/algorithms/w1-union-find
|
||||
|
||||
# 309 [[[ #
|
||||
|
||||
0c ~/school/309-proj/css
|
||||
0d ~/school/309
|
||||
0j ~/school/309-proj/public/js
|
||||
0l ~/school/309/l
|
||||
0p ~/school/309-proj
|
||||
0m ~/school/309-proj/mongo
|
||||
|
||||
# ]]] 309 #
|
||||
8 ~/school/384
|
||||
|
||||
# ]]] sch #
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ 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
|
||||
wt ~/.config/watson/state.md
|
||||
|
||||
# ]]] cdn #
|
||||
|
||||
@@ -77,3 +77,4 @@ wt ~/.config/watson/state.tmp
|
||||
# ]]] sch #
|
||||
|
||||
mta ~/.minetest/clientmods/custom_aliases/init.lua
|
||||
cmr ~/Documents/codm/discord-recruitment.md
|
||||
|
||||
Reference in New Issue
Block a user