starship config
This commit is contained in:
parent
efe83aea2d
commit
126a813356
4 changed files with 64 additions and 2 deletions
|
@ -88,7 +88,7 @@ shadows=true
|
||||||
|
|
||||||
[Layout]
|
[Layout]
|
||||||
output_lines=0
|
output_lines=0
|
||||||
left_panel_size=55
|
left_panel_size=53
|
||||||
top_panel_size=0
|
top_panel_size=0
|
||||||
message_visible=true
|
message_visible=true
|
||||||
keybar_visible=true
|
keybar_visible=true
|
||||||
|
|
46
config/.config/starship.toml
Normal file
46
config/.config/starship.toml
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
format = """
|
||||||
|
$username\
|
||||||
|
$hostname\
|
||||||
|
$directory\
|
||||||
|
$git_branch\
|
||||||
|
$git_state\
|
||||||
|
$git_status\
|
||||||
|
$cmd_duration\
|
||||||
|
$line_break\
|
||||||
|
$python\
|
||||||
|
$character"""
|
||||||
|
|
||||||
|
[directory]
|
||||||
|
style = "blue"
|
||||||
|
|
||||||
|
[character]
|
||||||
|
success_symbol = "[❯](purple)"
|
||||||
|
error_symbol = "[❯](red)"
|
||||||
|
vimcmd_symbol = "[❮](green)"
|
||||||
|
|
||||||
|
[git_branch]
|
||||||
|
format = "[$branch]($style)"
|
||||||
|
style = "bright-black"
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
|
||||||
|
style = "cyan"
|
||||||
|
conflicted = ""
|
||||||
|
untracked = ""
|
||||||
|
modified = ""
|
||||||
|
staged = ""
|
||||||
|
renamed = ""
|
||||||
|
deleted = ""
|
||||||
|
stashed = "≡"
|
||||||
|
|
||||||
|
[git_state]
|
||||||
|
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
||||||
|
style = "bright-black"
|
||||||
|
|
||||||
|
[cmd_duration]
|
||||||
|
format = "[$duration]($style) "
|
||||||
|
style = "yellow"
|
||||||
|
|
||||||
|
[python]
|
||||||
|
format = "[$virtualenv]($style) "
|
||||||
|
style = "bright-black"
|
16
scripts/server_bin/dedup_twitter.sh
Executable file
16
scripts/server_bin/dedup_twitter.sh
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/bash
|
||||||
|
N=6
|
||||||
|
df > ~/before_df.txt
|
||||||
|
cd $HOME/gallery-dl/twitter
|
||||||
|
for i in */; do
|
||||||
|
echo ">> $i"
|
||||||
|
(jdupes -LN $i) &
|
||||||
|
if [[ $(jobs -r -p | wc -l) -ge $N ]]; then
|
||||||
|
wait -n
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
wait
|
||||||
|
echo "======COMPLETE======="
|
||||||
|
echo "Before:"
|
||||||
|
cat ~/before_df.txt
|
||||||
|
df
|
|
@ -5,5 +5,5 @@ sleep 60
|
||||||
gallery-dl --sleep 12-16 --abort 2 "mastodon:https://yiff.life/@PupShadowNH@woof.group"
|
gallery-dl --sleep 12-16 --abort 2 "mastodon:https://yiff.life/@PupShadowNH@woof.group"
|
||||||
echo "wait"
|
echo "wait"
|
||||||
sleep 60
|
sleep 60
|
||||||
|
gallery-dl --sleep 12-16 --abort 2 "mastodon:https://yiff.life/@KubiBun@meow.social" ─┘
|
||||||
echo "done!"
|
echo "done!"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue