refactor: remove restic timers, add scripts/configs, update docs
- resticprofile: remove all schedules (manual backups via backup-menu) - resticprofile: fix hardcoded /home/ada paths → ~/ - proj(): find git repos by .git presence up to depth 4 - bootstrap.sh: add fzf, fd, bat, ripgrep, kitty, htop to packages - README.md: rewrite for chezmoi (remove stow references) - add: htoprc, betterbird_up.sh, kitty_up.sh, tg_up.sh
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||
# The parser is also very primitive, and not human-friendly.
|
||||
htop_version=3.4.1-3.4.1
|
||||
config_reader_min_version=3
|
||||
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
||||
hide_kernel_threads=1
|
||||
hide_userland_threads=0
|
||||
hide_running_in_container=0
|
||||
shadow_other_users=0
|
||||
show_thread_names=0
|
||||
show_program_path=1
|
||||
highlight_base_name=0
|
||||
highlight_deleted_exe=1
|
||||
shadow_distribution_path_prefix=0
|
||||
highlight_megabytes=1
|
||||
highlight_threads=1
|
||||
highlight_changes=0
|
||||
highlight_changes_delay_secs=5
|
||||
find_comm_in_cmdline=1
|
||||
strip_exe_from_cmdline=1
|
||||
show_merged_command=0
|
||||
header_margin=1
|
||||
screen_tabs=1
|
||||
detailed_cpu_time=0
|
||||
cpu_count_from_one=0
|
||||
show_cpu_usage=1
|
||||
show_cpu_frequency=0
|
||||
show_cpu_temperature=0
|
||||
degree_fahrenheit=0
|
||||
show_cached_memory=1
|
||||
update_process_names=0
|
||||
account_guest_in_cpu_meter=0
|
||||
color_scheme=0
|
||||
enable_mouse=1
|
||||
delay=15
|
||||
hide_function_bar=0
|
||||
header_layout=two_50_50
|
||||
column_meters_0=LeftCPUs2 Memory Swap
|
||||
column_meter_modes_0=1 1 1
|
||||
column_meters_1=RightCPUs2 Tasks LoadAverage Uptime
|
||||
column_meter_modes_1=1 2 2 2
|
||||
tree_view=0
|
||||
sort_key=46
|
||||
tree_sort_key=0
|
||||
sort_direction=-1
|
||||
tree_sort_direction=1
|
||||
tree_view_always_by_pid=0
|
||||
all_branches_collapsed=0
|
||||
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
|
||||
.sort_key=PERCENT_CPU
|
||||
.tree_sort_key=PID
|
||||
.tree_view_always_by_pid=0
|
||||
.tree_view=0
|
||||
.sort_direction=-1
|
||||
.tree_sort_direction=1
|
||||
.all_branches_collapsed=0
|
||||
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
|
||||
.sort_key=IO_RATE
|
||||
.tree_sort_key=PID
|
||||
.tree_view_always_by_pid=0
|
||||
.tree_view=0
|
||||
.sort_direction=-1
|
||||
.tree_sort_direction=1
|
||||
.all_branches_collapsed=0
|
||||
@@ -8,7 +8,6 @@ groups:
|
||||
- files-local
|
||||
- pictures
|
||||
- pictures-local
|
||||
schedule: "0 * * * *"
|
||||
|
||||
projects:
|
||||
repository: "rclone:yadisk:System/Backups/ada-x1/Documents/Projects"
|
||||
@@ -16,7 +15,6 @@ projects:
|
||||
backup:
|
||||
source:
|
||||
- ~/Documents/Projects
|
||||
schedule: "*-*-* 20:30:00" # каждый час в 15 минут
|
||||
forget:
|
||||
keep-last: 24
|
||||
keep-daily: 14
|
||||
@@ -30,10 +28,10 @@ projects:
|
||||
# Локальное зеркало projects
|
||||
projects-local:
|
||||
repository: "rclone:cloud-pc:pool/System/Backups/ada-x1/Documents/Projects"
|
||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||
password-file: "~/.config/resticprofile/pass.txt"
|
||||
backup:
|
||||
source:
|
||||
- /home/ada/Documents/Projects
|
||||
- ~/Documents/Projects
|
||||
forget:
|
||||
keep-last: 24
|
||||
keep-daily: 14
|
||||
@@ -51,7 +49,6 @@ vaults:
|
||||
backup:
|
||||
source:
|
||||
- ~/Documents/Vaults
|
||||
schedule: "*-*-* 20:30:00"
|
||||
forget:
|
||||
keep-last: 12
|
||||
keep-daily: 7
|
||||
@@ -76,7 +73,6 @@ files:
|
||||
backup:
|
||||
source:
|
||||
- ~/Documents/Files
|
||||
schedule: "*-*-* 20:30:00" # 02:15 каждый день
|
||||
forget:
|
||||
keep-daily: 30
|
||||
keep-weekly: 12
|
||||
@@ -101,7 +97,6 @@ pictures:
|
||||
backup:
|
||||
source:
|
||||
- ~/Pictures
|
||||
schedule: "*-*-* 20:30:00" # 03:30 каждый день
|
||||
forget:
|
||||
keep-daily: 14
|
||||
keep-weekly: 8
|
||||
|
||||
@@ -298,10 +298,10 @@ proj() {
|
||||
|
||||
local target
|
||||
if command -v fzf &>/dev/null; then
|
||||
target=$(find "$base" -maxdepth 2 -mindepth 1 -type d \
|
||||
\( -name .git -o -name node_modules -o -name .venv \) -prune \
|
||||
-o -type d -print \
|
||||
| sed "s|$base/||" \
|
||||
# Ищем директории с .git (git-репозитории) до глубины 4
|
||||
target=$(find "$base" -maxdepth 4 -name ".git" -type d \
|
||||
| sed "s|/.git$||;s|$base/||" \
|
||||
| sort \
|
||||
| fzf --prompt "proj > " --height=40% --reverse) || return 0
|
||||
elif [[ -n "$1" ]]; then
|
||||
target="$1"
|
||||
|
||||
Reference in New Issue
Block a user