This commit is contained in:
jay 2023-10-27 22:56:05 +08:00
parent 12bcba518d
commit cf35805f68
5 changed files with 7 additions and 4 deletions

View File

@ -2,9 +2,10 @@
set -x set -x
GO_VERSION="1.21.0" GO_VERSION="1.21.3"
NODE_VERSION="20.5.1" NODE_VERSION="20.5.1"
ARCH="{{ .chezmoi.arch }}" ARCH="{{ .chezmoi.arch }}"
OSTYPE="{{ .chezmoi.os }}" OSTYPE="{{ .chezmoi.os }}"
@ -39,7 +40,7 @@ function install_golang {
mv "$tmpDir/go" "$HOME/apps/go-${GO_VERSION}" mv "$tmpDir/go" "$HOME/apps/go-${GO_VERSION}"
if [ -L "$HOME/apps/go" ]; then if [ -L "$HOME/apps/go" ]; then
rm -rf `readlink -f "$HOME/apps/go"` #rm -rf `readlink -f "$HOME/apps/go"`
unlink "$HOME/apps/go" unlink "$HOME/apps/go"
fi fi
@ -88,7 +89,7 @@ function install_nodejs {
mv "$dirs" "$HOME/apps/node-v${NODE_VERSION}" mv "$dirs" "$HOME/apps/node-v${NODE_VERSION}"
if [ -L "$HOME/apps/node" ]; then if [ -L "$HOME/apps/node" ]; then
rm -rf `readlink -f "$HOME/apps/node"` #rm -rf `readlink -f "$HOME/apps/node"`
unlink "$HOME/apps/node" unlink "$HOME/apps/node"
fi fi

View File

@ -24,3 +24,4 @@ wl-copy -t image/png < $HOME/ramdisk/des.png
# remove the other pictures # remove the other pictures
rm $HOME/ramdisk/src.png $HOME/ramdisk/output.png rm $HOME/ramdisk/src.png $HOME/ramdisk/output.png
notify-send "screenshot success"

View File

@ -24,3 +24,4 @@ wl-copy -t image/png < $HOME/ramdisk/des.png
# remove the other pictures # remove the other pictures
rm $HOME/ramdisk/src.png $HOME/ramdisk/output.png rm $HOME/ramdisk/src.png $HOME/ramdisk/output.png
notify-send "screenshot success"

View File

@ -28,7 +28,7 @@ set $menu wofi --show drun
# #
# Default wallpaper (more resolutions are available in @datadir@/backgrounds/sway/) # Default wallpaper (more resolutions are available in @datadir@/backgrounds/sway/)
# output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill # output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
output * bg /home/jay/.config/sway/bg.png fill output * bg /home/jay/.config/sway/wallpaper.png fill
# #
# Example configuration: # Example configuration:
# #

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 MiB