Compare commits
11 Commits
4b1ac85994
...
5dfb1ebdf4
Author | SHA1 | Date | |
---|---|---|---|
5dfb1ebdf4 | |||
a3453076b4 | |||
73e76fbd11 | |||
c9d53b481d | |||
01d1636f99 | |||
eb68c7e990 | |||
d6d44820ac | |||
8c216ffb82 | |||
0e38a2bd4d | |||
105facdc7e | |||
0ddea5f82e |
@ -4,6 +4,9 @@
|
||||
# add environment vars
|
||||
. ~/.profile
|
||||
|
||||
# add exiftool to path
|
||||
export PATH="/usr/bin/vendor_perl/:$PATH"
|
||||
|
||||
# add scripts folder to path
|
||||
export PATH="/home/default/scripts:$PATH"
|
||||
|
||||
@ -27,4 +30,7 @@ eval "$(direnv hook bash)"
|
||||
# asdf-vm
|
||||
. /opt/asdf-vm/asdf.sh
|
||||
|
||||
# esp-idf
|
||||
# . /opt/esp-idf/export.sh
|
||||
|
||||
proverb
|
||||
|
@ -70,6 +70,20 @@ FirstRun=False
|
||||
[NextCandidate]
|
||||
0=Tab
|
||||
|
||||
[CurrentCandidate]
|
||||
0=space
|
||||
1=KP_Space
|
||||
|
||||
[CommitRawInput]
|
||||
0=Return
|
||||
1=KP_Enter
|
||||
2=Control+Return
|
||||
3=Control+KP_Enter
|
||||
4=Shift+Return
|
||||
5=Shift+KP_Enter
|
||||
6=Control+Shift+Return
|
||||
7=Control+Shift+KP_Enter
|
||||
|
||||
[ChooseCharFromPhrase]
|
||||
0=bracketleft
|
||||
1=bracketright
|
||||
|
@ -1,25 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eou pipefail
|
||||
|
||||
# Old script to get json url for some reason? Don't know why I did this
|
||||
# youtube-dl -j --flat-playlist -a - | \
|
||||
# jq -r '.id' | \
|
||||
# sed 's_^_https://youtu.be/_' | \
|
||||
# wget-titles-from-urls >> titles.txt
|
||||
|
||||
test -f append.txt
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo No append.txt found! Cannot append
|
||||
exit
|
||||
fi
|
||||
|
||||
if [[ ! -s append.txt ]]; then
|
||||
echo append.txt is empty
|
||||
exit
|
||||
fi
|
||||
|
||||
cat append.txt | wget-titles-from-urls >> titles.txt
|
||||
cat append.txt | youtube-audio
|
||||
> append.txt
|
||||
|
||||
standardize-music
|
@ -2,5 +2,5 @@
|
||||
|
||||
# record video
|
||||
dir=~/Downloads/temp
|
||||
(cd $dir && wf-recorder -g "$(slurp)" --audio --file=$(date +%Y-%m-%d_%H-%m-%s).mp4)
|
||||
(cd $dir && wf-recorder -g "$(slurp)" -a alsa_output.pci-0000_0b_00.4.analog-stereo.monitor --file=$(date +%Y-%m-%d_%H-%m-%s).mp4)
|
||||
xdg-open $dir
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
set -oux pipefail
|
||||
set -ou pipefail
|
||||
|
||||
count=`ls -1 *.OGG 2>/dev/null | wc -l`
|
||||
if [ $count != 0 ]; then
|
||||
@ -37,3 +37,5 @@ if [ $count != 0 ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
shopt -s nullglob
|
||||
rsgain custom -a -s i -L -S *.m4a *.mp3 *.ogg *.opus
|
||||
|
@ -1,20 +1,21 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eou pipefail
|
||||
|
||||
sudo mkdir -p /run/media/default/
|
||||
if [[ ! -d /run/media/default/MUSIC ]]; then
|
||||
sudo mkdir -p /run/media/default
|
||||
|
||||
echo "mounting /run/media/default/MUSIC"
|
||||
sudo fsck -fy /dev/disk/by-uuid/E6F8-C183 || true
|
||||
sudo mkdir /run/media/default/MUSIC
|
||||
sudo mount -U E6F8-C183 /run/media/default/MUSIC
|
||||
fi
|
||||
|
||||
echo "syncing music..."
|
||||
sudo rsync --info=progress2 -W -r --delete ~/Music/* /run/media/default/MUSIC/
|
||||
sudo sync /run/media/default/MUSIC/
|
||||
|
||||
cd /run/media/default/MUSIC
|
||||
sudo generate-playlists
|
||||
cd /home/default
|
||||
|
||||
echo "unmounting /run/media/default/MUSIC"
|
||||
sudo umount /run/media/default/MUSIC
|
||||
sudo umount /dev/disk/by-uuid/E6F8-C183
|
||||
sudo rmdir /run/media/default/MUSIC
|
||||
|
@ -1,14 +1,16 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eou pipefail
|
||||
|
||||
if [[ ! -d /run/media/default/MUSIC ]]; then
|
||||
sudo mkdir -p /run/media/default
|
||||
|
||||
echo "mounting /run/media/default/MUSIC"
|
||||
sudo fsck -fy /dev/disk/by-uuid/DB09-89C3
|
||||
sudo mkdir /run/media/default/MUSIC
|
||||
sudo mount -U DB09-89C3 /run/media/default/MUSIC
|
||||
fi
|
||||
|
||||
echo "syncing music..."
|
||||
sudo rsync --info=progress2 -W -r --delete ~/Music/* /run/media/default/MUSIC/
|
||||
sudo sync /run/media/default/MUSIC/
|
||||
|
||||
cd /run/media/default/MUSIC
|
||||
sudo generate-playlists
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eoux pipefail
|
||||
|
||||
system-prune-space
|
||||
system-free-space
|
||||
yay --noconfirm -Syu --overwrite \*
|
||||
system-prune-space
|
||||
system-free-space
|
||||
|
13
packages.txt
13
packages.txt
@ -1,6 +1,3 @@
|
||||
acpi
|
||||
adobe-source-han-sans-jp-fonts
|
||||
adobe-source-han-sans-kr-fonts
|
||||
aic94xx-firmware
|
||||
alacritty
|
||||
amd-ucode
|
||||
@ -24,6 +21,7 @@ ccache
|
||||
cheese
|
||||
chromium
|
||||
cnrdrvcups-lb
|
||||
code
|
||||
cowsay
|
||||
cpupower
|
||||
cpupower-gui
|
||||
@ -33,14 +31,16 @@ dhcpcd
|
||||
dialog
|
||||
dino
|
||||
direnv
|
||||
dosfstools
|
||||
downgrade
|
||||
dxvk-bin
|
||||
efibootmgr
|
||||
electrum
|
||||
elinks
|
||||
esp-idf
|
||||
etcher-bin
|
||||
evince
|
||||
evolution
|
||||
exfat-utils
|
||||
f2fs-tools
|
||||
fcitx5-chinese-addons
|
||||
fcitx5-configtool
|
||||
@ -67,6 +67,7 @@ fwbuilder
|
||||
fwupd
|
||||
gamemode
|
||||
gdlauncher-bin
|
||||
gdm
|
||||
gedit
|
||||
gimp
|
||||
git
|
||||
@ -85,6 +86,7 @@ gst-plugins-bad
|
||||
gst-plugins-ugly
|
||||
gstreamer-vaapi
|
||||
gtk-engine-murrine
|
||||
gtk-vnc
|
||||
gutenprint
|
||||
gvfs-gphoto2
|
||||
gwakeonlan
|
||||
@ -154,7 +156,6 @@ mcomix
|
||||
mcpp
|
||||
mdadm
|
||||
mediainfo
|
||||
merkuro
|
||||
mesa
|
||||
minecraft-launcher
|
||||
mixxx
|
||||
@ -200,6 +201,7 @@ pkgstats
|
||||
playerctl
|
||||
playonlinux
|
||||
polkit-gnome
|
||||
postgresql
|
||||
postgresql-libs
|
||||
prismlauncher
|
||||
psensor
|
||||
@ -247,6 +249,7 @@ syncthing-gtk
|
||||
sysfsutils
|
||||
systemd-ui
|
||||
telegram-desktop
|
||||
thunderbird
|
||||
tlp
|
||||
tmux
|
||||
traceroute
|
||||
|
Loading…
Reference in New Issue
Block a user