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 {
|
input-field {
|
||||||
monitor =
|
monitor =
|
||||||
size = 200, 50
|
size = 200, 50
|
||||||
position = 0, -80
|
position = 0, -60
|
||||||
dots_center = true
|
dots_center = true
|
||||||
fade_on_empty = false
|
fade_on_empty = false
|
||||||
font_color = rgb(202, 211, 245)
|
font_color = rgb(221, 194, 160) # Rose Pine text
|
||||||
inner_color = rgb(91, 96, 120)
|
inner_color = rgb(38, 35, 58) # Rose Pine base
|
||||||
outer_color = rgb(24, 25, 38)
|
outer_color = rgb(56, 51, 80) # Rose Pine overlay
|
||||||
outline_thickness = 5
|
outline_thickness = 4
|
||||||
placeholder_text = <i>Input Password...</i>
|
placeholder_text = <i>Enter password…</i>
|
||||||
shadow_passes = 2
|
shadow_passes = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
monitor =
|
monitor =
|
||||||
text = cmd[update:1000] echo "$TIME"
|
text = cmd[update:1000] echo "$TIME"
|
||||||
color = rgb(200, 200, 200)
|
color = rgb(221, 194, 160) # Rose Pine text
|
||||||
font_size = 55
|
font_size = 55
|
||||||
font_family = Noto Sans
|
font_family = JetBrainsMono
|
||||||
position = -40, 40
|
position = -40, 40
|
||||||
halign = right
|
halign = right
|
||||||
valign = bottom
|
valign = bottom
|
||||||
@ -42,9 +42,9 @@ label {
|
|||||||
label {
|
label {
|
||||||
monitor =
|
monitor =
|
||||||
text = $USER
|
text = $USER
|
||||||
color = rgb(200, 200, 200)
|
color = rgb(221, 194, 160) # Rose Pine text
|
||||||
font_size = 20
|
font_size = 20
|
||||||
font_family = Noto Sans
|
font_family = JetBrainsMono
|
||||||
position = -100, 160
|
position = -100, 160
|
||||||
halign = right
|
halign = right
|
||||||
valign = bottom
|
valign = bottom
|
||||||
@ -54,11 +54,11 @@ label {
|
|||||||
|
|
||||||
image {
|
image {
|
||||||
monitor =
|
monitor =
|
||||||
path = ~/.face
|
path = ~/.local/share/avatar.jpg
|
||||||
size = 280
|
size = 280
|
||||||
rounding = -1
|
rounding = -1
|
||||||
border_size = 4
|
border_size = 4
|
||||||
border_color = rgb(221, 221, 221)
|
border_color = rgb(221, 194, 160) # Rose Pine highlight
|
||||||
rotate = 0
|
rotate = 0
|
||||||
reload_time = -1
|
reload_time = -1
|
||||||
reload_cmd =
|
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"
|
ln -sf "$file" "$HOME/$basefile"
|
||||||
echo "Linked $basefile"
|
echo "Linked $basefile"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done
|
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
|
# Symlink .config directory contents
|
||||||
CONFIG_DIR="$DOTFILES_DIR/.config"
|
CONFIG_DIR="$DOTFILES_DIR/.config"
|
||||||
if [ -d "$CONFIG_DIR" ]; then
|
if [ -d "$CONFIG_DIR" ]; then
|
||||||
@ -102,17 +125,4 @@ echo "====================="
|
|||||||
echo "Dotfiles symlinking complete!"
|
echo "Dotfiles symlinking complete!"
|
||||||
echo "====================="
|
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