Compare commits

..

7 Commits

Author SHA1 Message Date
4b1ac85994 update laptop packages 2024-06-28 15:20:39 -04:00
15812b1a76 update laptop boot entries 2024-06-28 15:20:39 -04:00
8516b30031 add additional gpg settings 2024-06-28 15:20:39 -04:00
b778a19d74 tweak sway config for idle 2024-06-28 15:20:38 -04:00
e6b7d99fed add fwupdmgr settings 2024-06-28 15:18:45 -04:00
abe68ecaef add framework screen to kanshi 2024-06-28 15:18:45 -04:00
fab166035f use sd-encrypt and lvm 2024-06-28 15:18:45 -04:00
9 changed files with 46 additions and 49 deletions

View File

@ -4,9 +4,6 @@
# add environment vars # add environment vars
. ~/.profile . ~/.profile
# add exiftool to path
export PATH="/usr/bin/vendor_perl/:$PATH"
# add scripts folder to path # add scripts folder to path
export PATH="/home/default/scripts:$PATH" export PATH="/home/default/scripts:$PATH"
@ -30,7 +27,4 @@ eval "$(direnv hook bash)"
# asdf-vm # asdf-vm
. /opt/asdf-vm/asdf.sh . /opt/asdf-vm/asdf.sh
# esp-idf
# . /opt/esp-idf/export.sh
proverb proverb

View File

@ -70,20 +70,6 @@ FirstRun=False
[NextCandidate] [NextCandidate]
0=Tab 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] [ChooseCharFromPhrase]
0=bracketleft 0=bracketleft
1=bracketright 1=bracketright

View File

@ -0,0 +1,25 @@
#!/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

View File

@ -2,5 +2,5 @@
# record video # record video
dir=~/Downloads/temp dir=~/Downloads/temp
(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) (cd $dir && wf-recorder -g "$(slurp)" --audio --file=$(date +%Y-%m-%d_%H-%m-%s).mp4)
xdg-open $dir xdg-open $dir

View File

@ -1,5 +1,5 @@
#!/usr/bin/env sh #!/usr/bin/env sh
set -ou pipefail set -oux pipefail
count=`ls -1 *.OGG 2>/dev/null | wc -l` count=`ls -1 *.OGG 2>/dev/null | wc -l`
if [ $count != 0 ]; then if [ $count != 0 ]; then
@ -37,5 +37,3 @@ if [ $count != 0 ]; then
done done
fi fi
shopt -s nullglob
rsgain custom -a -s i -L -S *.m4a *.mp3 *.ogg *.opus

View File

@ -1,21 +1,20 @@
#!/usr/bin/env sh #!/usr/bin/env sh
set -eou pipefail set -eou pipefail
sudo mkdir -p /run/media/default sudo mkdir -p /run/media/default/
if [[ ! -d /run/media/default/MUSIC ]]; then
echo "mounting /run/media/default/MUSIC" echo "mounting /run/media/default/MUSIC"
sudo fsck -fy /dev/disk/by-uuid/E6F8-C183 || true sudo mkdir /run/media/default/MUSIC
sudo mkdir /run/media/default/MUSIC sudo mount -U E6F8-C183 /run/media/default/MUSIC
sudo mount -U E6F8-C183 /run/media/default/MUSIC fi
echo "syncing music..." echo "syncing music..."
sudo rsync --info=progress2 -W -r --delete ~/Music/* /run/media/default/MUSIC/ sudo rsync --info=progress2 -W -r --delete ~/Music/* /run/media/default/MUSIC/
sudo sync /run/media/default/MUSIC/
cd /run/media/default/MUSIC cd /run/media/default/MUSIC
sudo generate-playlists sudo generate-playlists
cd /home/default cd /home/default
echo "unmounting /run/media/default/MUSIC" echo "unmounting /run/media/default/MUSIC"
sudo umount /dev/disk/by-uuid/E6F8-C183 sudo umount /run/media/default/MUSIC
sudo rmdir /run/media/default/MUSIC sudo rmdir /run/media/default/MUSIC

View File

@ -1,16 +1,14 @@
#!/usr/bin/env sh #!/usr/bin/env sh
set -eou pipefail set -eou pipefail
sudo mkdir -p /run/media/default if [[ ! -d /run/media/default/MUSIC ]]; then
echo "mounting /run/media/default/MUSIC"
echo "mounting /run/media/default/MUSIC" sudo mkdir /run/media/default/MUSIC
sudo fsck -fy /dev/disk/by-uuid/DB09-89C3 sudo mount -U DB09-89C3 /run/media/default/MUSIC
sudo mkdir /run/media/default/MUSIC fi
sudo mount -U DB09-89C3 /run/media/default/MUSIC
echo "syncing music..." echo "syncing music..."
sudo rsync --info=progress2 -W -r --delete ~/Music/* /run/media/default/MUSIC/ sudo rsync --info=progress2 -W -r --delete ~/Music/* /run/media/default/MUSIC/
sudo sync /run/media/default/MUSIC/
cd /run/media/default/MUSIC cd /run/media/default/MUSIC
sudo generate-playlists sudo generate-playlists

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -eoux pipefail set -eoux pipefail
system-free-space system-prune-space
yay --noconfirm -Syu --overwrite \* yay --noconfirm -Syu --overwrite \*
system-free-space system-prune-space

View File

@ -1,3 +1,6 @@
acpi
adobe-source-han-sans-jp-fonts
adobe-source-han-sans-kr-fonts
aic94xx-firmware aic94xx-firmware
alacritty alacritty
amd-ucode amd-ucode
@ -21,7 +24,6 @@ ccache
cheese cheese
chromium chromium
cnrdrvcups-lb cnrdrvcups-lb
code
cowsay cowsay
cpupower cpupower
cpupower-gui cpupower-gui
@ -31,16 +33,14 @@ dhcpcd
dialog dialog
dino dino
direnv direnv
dosfstools
downgrade downgrade
dxvk-bin dxvk-bin
efibootmgr efibootmgr
electrum electrum
elinks elinks
esp-idf
etcher-bin etcher-bin
evince evince
exfat-utils evolution
f2fs-tools f2fs-tools
fcitx5-chinese-addons fcitx5-chinese-addons
fcitx5-configtool fcitx5-configtool
@ -67,7 +67,6 @@ fwbuilder
fwupd fwupd
gamemode gamemode
gdlauncher-bin gdlauncher-bin
gdm
gedit gedit
gimp gimp
git git
@ -86,7 +85,6 @@ gst-plugins-bad
gst-plugins-ugly gst-plugins-ugly
gstreamer-vaapi gstreamer-vaapi
gtk-engine-murrine gtk-engine-murrine
gtk-vnc
gutenprint gutenprint
gvfs-gphoto2 gvfs-gphoto2
gwakeonlan gwakeonlan
@ -156,6 +154,7 @@ mcomix
mcpp mcpp
mdadm mdadm
mediainfo mediainfo
merkuro
mesa mesa
minecraft-launcher minecraft-launcher
mixxx mixxx
@ -201,7 +200,6 @@ pkgstats
playerctl playerctl
playonlinux playonlinux
polkit-gnome polkit-gnome
postgresql
postgresql-libs postgresql-libs
prismlauncher prismlauncher
psensor psensor
@ -249,7 +247,6 @@ syncthing-gtk
sysfsutils sysfsutils
systemd-ui systemd-ui
telegram-desktop telegram-desktop
thunderbird
tlp tlp
tmux tmux
traceroute traceroute