feat(symlinks): recursively link .local/bin and .local/share; update hyprlock for Rose Pine and avatar
This commit is contained in:
parent
53c80ab6f8
commit
145e652380
@ -15,23 +15,23 @@ background {
|
||||
input-field {
|
||||
monitor =
|
||||
size = 200, 50
|
||||
position = 0, -80
|
||||
position = 0, -60
|
||||
dots_center = true
|
||||
fade_on_empty = false
|
||||
font_color = rgb(202, 211, 245)
|
||||
inner_color = rgb(91, 96, 120)
|
||||
outer_color = rgb(24, 25, 38)
|
||||
outline_thickness = 5
|
||||
placeholder_text = <i>Input Password...</i>
|
||||
font_color = rgb(221, 194, 160) # Rose Pine text
|
||||
inner_color = rgb(38, 35, 58) # Rose Pine base
|
||||
outer_color = rgb(56, 51, 80) # Rose Pine overlay
|
||||
outline_thickness = 4
|
||||
placeholder_text = <i>Enter password…</i>
|
||||
shadow_passes = 2
|
||||
}
|
||||
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "$TIME"
|
||||
color = rgb(200, 200, 200)
|
||||
color = rgb(221, 194, 160) # Rose Pine text
|
||||
font_size = 55
|
||||
font_family = Noto Sans
|
||||
font_family = JetBrainsMono
|
||||
position = -40, 40
|
||||
halign = right
|
||||
valign = bottom
|
||||
@ -42,9 +42,9 @@ label {
|
||||
label {
|
||||
monitor =
|
||||
text = $USER
|
||||
color = rgb(200, 200, 200)
|
||||
color = rgb(221, 194, 160) # Rose Pine text
|
||||
font_size = 20
|
||||
font_family = Noto Sans
|
||||
font_family = JetBrainsMono
|
||||
position = -100, 160
|
||||
halign = right
|
||||
valign = bottom
|
||||
@ -54,11 +54,11 @@ label {
|
||||
|
||||
image {
|
||||
monitor =
|
||||
path = ~/.face
|
||||
path = ~/.local/share/avatar.jpg
|
||||
size = 280
|
||||
rounding = -1
|
||||
border_size = 4
|
||||
border_color = rgb(221, 221, 221)
|
||||
border_color = rgb(221, 194, 160) # Rose Pine highlight
|
||||
rotate = 0
|
||||
reload_time = -1
|
||||
reload_cmd =
|
||||
|
||||
BIN
.local/share/avatar.jpg
Normal file
BIN
.local/share/avatar.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
@ -26,8 +26,31 @@ for file in $(find "$DOTFILES_DIR" -maxdepth 1 -name ".*"); do
|
||||
ln -sf "$file" "$HOME/$basefile"
|
||||
echo "Linked $basefile"
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
# Symlink .local/bin and .local/share files recursively
|
||||
for SUBDIR in bin share; do
|
||||
LOCAL_REPO="$DOTFILES_DIR/.local/$SUBDIR"
|
||||
LOCAL_HOME="$HOME/.local/$SUBDIR"
|
||||
if [ -d "$LOCAL_REPO" ]; then
|
||||
mkdir -p "$LOCAL_HOME"
|
||||
echo "Symlinking .local/$SUBDIR files (recursive)..."
|
||||
find "$LOCAL_REPO" -type f | while read -r srcfile; do
|
||||
relpath="${srcfile#$LOCAL_REPO/}"
|
||||
targetfile="$LOCAL_HOME/$relpath"
|
||||
targetdir="$(dirname "$targetfile")"
|
||||
mkdir -p "$targetdir"
|
||||
[ -L "$targetfile" ] && rm "$targetfile"
|
||||
[ -f "$targetfile" ] && rm "$targetfile"
|
||||
ln -sf "$srcfile" "$targetfile"
|
||||
echo "Linked $srcfile -> $targetfile"
|
||||
done
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
|
||||
# Symlink .config directory contents
|
||||
CONFIG_DIR="$DOTFILES_DIR/.config"
|
||||
if [ -d "$CONFIG_DIR" ]; then
|
||||
@ -102,17 +125,4 @@ echo "====================="
|
||||
echo "Dotfiles symlinking complete!"
|
||||
echo "====================="
|
||||
|
||||
# Symlink .local/bin scripts
|
||||
LOCAL_BIN_REPO="$DOTFILES_DIR/.local/bin"
|
||||
LOCAL_BIN_HOME="$HOME/.local/bin"
|
||||
if [ -d "$LOCAL_BIN_REPO" ]; then
|
||||
mkdir -p "$LOCAL_BIN_HOME"
|
||||
echo "Symlinking .local/bin scripts..."
|
||||
for script in "$LOCAL_BIN_REPO"/*; do
|
||||
[ -e "$script" ] || continue
|
||||
base_script="$(basename "$script")"
|
||||
ln -sf "$script" "$LOCAL_BIN_HOME/$base_script"
|
||||
echo "Linked .local/bin/$base_script"
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user