From 9ad71abd87320530ad40ba48fc9ffdcc3dec8698 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Sat, 21 Oct 2023 07:05:03 +0800 Subject: [PATCH] Maintenance work on configs Signed-off-by: Andrei Jiroh Halili --- .config/htop/htoprc | 50 +++++-------------- .../share/devbox/global/default/devbox.json | 3 +- .../share/devbox/global/default/devbox.lock | 21 ++++++++ .vscode/settings.json | 21 +++++++- 4 files changed, 56 insertions(+), 39 deletions(-) diff --git a/.config/htop/htoprc b/.config/htop/htoprc index 8e9f40a..a6889eb 100644 --- a/.config/htop/htoprc +++ b/.config/htop/htoprc @@ -1,17 +1,16 @@ # 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.2.2 -config_reader_min_version=3 fields=0 48 17 18 38 39 40 2 46 47 49 1 +sort_key=46 +sort_direction=-1 +tree_sort_key=47 +tree_sort_direction=-1 hide_kernel_threads=1 hide_userland_threads=0 -hide_running_in_container=0 shadow_other_users=1 -show_thread_names=0 +show_thread_names=1 show_program_path=1 highlight_base_name=1 -highlight_deleted_exe=1 -shadow_distribution_path_prefix=0 highlight_megabytes=1 highlight_threads=1 highlight_changes=0 @@ -19,45 +18,22 @@ highlight_changes_delay_secs=5 find_comm_in_cmdline=1 strip_exe_from_cmdline=1 show_merged_command=1 +tree_view=0 +tree_view_always_by_pid=0 header_margin=1 -screen_tabs=0 detailed_cpu_time=1 cpu_count_from_one=1 show_cpu_usage=1 -show_cpu_frequency=0 +show_cpu_frequency=1 show_cpu_temperature=1 degree_fahrenheit=0 -update_process_names=0 +update_process_names=1 account_guest_in_cpu_meter=1 color_scheme=0 enable_mouse=1 delay=5 +left_meters=AllCPUs Memory Swap DiskIO NetworkIO +left_meter_modes=1 1 1 1 1 +right_meters=Hostname Tasks LoadAverage Uptime DateTime +right_meter_modes=2 2 2 2 2 hide_function_bar=0 -header_layout=two_50_50 -column_meters_0=AllCPUs Memory Swap -column_meter_modes_0=1 1 1 -column_meters_1=Tasks LoadAverage Uptime -column_meter_modes_1=2 2 2 -tree_view=1 -sort_key=46 -tree_sort_key=1 -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=Command -.tree_view=1 -.tree_view_always_by_pid=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 Command -.sort_key=IO_RATE -.tree_sort_key=PID -.tree_view=0 -.tree_view_always_by_pid=0 -.sort_direction=-1 -.tree_sort_direction=1 -.all_branches_collapsed=0 diff --git a/.local/share/devbox/global/default/devbox.json b/.local/share/devbox/global/default/devbox.json index d570344..fd6809a 100644 --- a/.local/share/devbox/global/default/devbox.json +++ b/.local/share/devbox/global/default/devbox.json @@ -2,7 +2,8 @@ "packages": [ "gita@latest", "shfmt@latest", - "hadolint@latest" + "hadolint@latest", + "python@3.12.0" ], "shell": { "init_hook": [ diff --git a/.local/share/devbox/global/default/devbox.lock b/.local/share/devbox/global/default/devbox.lock index d7841d4..ea57dfa 100644 --- a/.local/share/devbox/global/default/devbox.lock +++ b/.local/share/devbox/global/default/devbox.lock @@ -13,6 +13,27 @@ "source": "devbox-search", "version": "2.12.0" }, + "python@3.12.0": { + "last_modified": "2023-10-03T09:29:46Z", + "plugin_version": "0.0.1", + "resolved": "github:NixOS/nixpkgs/e2b8feae8470705c3f331901ae057da3095cea10#python312", + "source": "devbox-search", + "version": "3.12.0", + "systems": { + "aarch64-darwin": { + "store_path": "/nix/store/4w9xnvsbw0b3nyzc64alz7nv7ay4a88j-python3-3.12.0" + }, + "aarch64-linux": { + "store_path": "/nix/store/dgg6kzpv7yg3h83m6aa5vnplvfghcdyq-python3-3.12.0" + }, + "x86_64-darwin": { + "store_path": "/nix/store/grmb7mw4ixqrbrp87yqigmxiaydnqcg0-python3-3.12.0" + }, + "x86_64-linux": { + "store_path": "/nix/store/7gldca15px30wpk6bfrscn19sdg755q8-python3-3.12.0" + } + } + }, "shfmt@latest": { "last_modified": "2023-08-08T03:07:33Z", "resolved": "github:NixOS/nixpkgs/844ffa82bbe2a2779c86ab3a72ff1b4176cec467#shfmt", diff --git a/.vscode/settings.json b/.vscode/settings.json index f7cad34..fde9340 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -13,5 +13,24 @@ "domain": "git.vern.cc", "type": "Gitea" } - ] + ], + "gitlens.heatmap.ageThreshold": 60, + "gitlens.views.commitDetails.files.layout": "tree", + "gitlens.views.repositories.includeWorkingTree": true, + "gitlens.views.repositories.showIncomingActivity": true, + "gitlens.views.fileHistory.files.layout": "tree", + "gitlens.autolinks": [ + { + "ignoreCase": true, + "prefix": "LAUNCHPAD-", + "url": "https://mau.dev/andreijiroh.dev/launchpad/-/issues/" + }, + { + "prefix": "IN-LAUNCHPAD-", + "url": "https://ajhalili2006.jetbrains.space/p/launchpad/issues/" + } + ], + "gitlens.defaultTimeFormat": "HH:mm", + "gitlens.defaultDateShortFormat": "YYYY-MM-D", + "gitlens.defaultDateFormat": "YYYY-MM-D HH:mm" } \ No newline at end of file