+4
-1
config/.bashrc-pc
+4
-1
config/.bashrc-pc
···
123
123
# general
124
124
alias nano=micro
125
125
alias sudo="sudo TERMINFO=\"$TERMINFO\" "
126
-
alias fd='fdfind'
126
+
alias fd="fdfind"
127
127
alias neofetch="hyfetch"
128
128
alias fastfetch="hyfetch"
129
129
alias bat="batcat"
···
134
134
alias ps="ps auxww"
135
135
alias dd="ask dd"
136
136
alias copy="xclip -sel clipboard"
137
+
alias freeze="freeze -c user $1"
138
+
alias glow="glow -p $1"
139
+
alias qrcode="qrencode -t ansiutf8 $1"
137
140
138
141
# lazy ass way for me to get my idol mp3s from youtube
139
142
# usage: ytmp3 url
+1
config/.config/shmoji/emojis.txt
+1
config/.config/shmoji/emojis.txt
+2
config/.crontab-pc
+2
config/.crontab-pc
-11
config/.local/bin/qr
-11
config/.local/bin/qr
+1
config/.shortcutkeys
+1
config/.shortcutkeys
+8
justfile
+8
justfile
-35
stow.sh
-35
stow.sh
···
1
-
#!/usr/bin/env bash
2
-
3
-
updategit() {
4
-
echo "pulling from git..." | gum style --foreground "#f4b8e4" --border none
5
-
git pull bytes main
6
-
echo "git pull complete!" | gum style --foreground "#f4b8e4" --border none
7
-
echo "stowing your shit..." | gum style --foreground "#f4b8e4" --border none
8
-
stow -v -t ~ "config" --adopt
9
-
stow -v -t ~ "scripts" --adopt
10
-
echo "done ^_^" | gum style --foreground "#f4b8e4" --border none
11
-
}
12
-
13
-
localstow() {
14
-
stow -v -t ~ "config" --adopt
15
-
stow -v -t ~ "scripts" --adopt
16
-
}
17
-
18
-
usage() {
19
-
if [ $# -eq 0 ]; then
20
-
echo -e "Usage: stow.sh [OPTIONS]\n"
21
-
echo -e "pull from git ,[-L|--local]\nsymlink local files ,[-U|--update]" | column -t -s','
22
-
fi
23
-
}
24
-
25
-
case "$1" in
26
-
"" | "-h" | "--help" | "help")
27
-
usage
28
-
;;
29
-
"-L" | "--local")
30
-
localstow
31
-
;;
32
-
"-U" | "--update")
33
-
updategit
34
-
;;
35
-
esac