machineconfig 7.98__py3-none-any.whl → 8.61__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- machineconfig/cluster/remote/run_cluster.py +1 -1
- machineconfig/cluster/remote/run_remote.py +1 -1
- machineconfig/cluster/sessions_managers/utils/maker.py +10 -8
- machineconfig/cluster/sessions_managers/wt_local.py +1 -1
- machineconfig/cluster/sessions_managers/wt_local_manager.py +1 -1
- machineconfig/cluster/sessions_managers/zellij_local.py +1 -1
- machineconfig/cluster/sessions_managers/zellij_local_manager.py +1 -1
- machineconfig/jobs/installer/checks/check_installations.py +133 -0
- machineconfig/jobs/installer/checks/install_utils.py +132 -0
- machineconfig/jobs/installer/checks/report_utils.py +39 -0
- machineconfig/jobs/installer/checks/vt_utils.py +89 -0
- machineconfig/jobs/installer/installer_data.json +271 -152
- machineconfig/jobs/installer/linux_scripts/docker.sh +6 -9
- machineconfig/jobs/installer/package_groups.py +11 -9
- machineconfig/jobs/installer/{custom → python_scripts}/boxes.py +1 -2
- machineconfig/jobs/installer/{custom_dev → python_scripts}/brave.py +1 -1
- machineconfig/jobs/installer/{custom_dev → python_scripts}/code.py +10 -8
- machineconfig/jobs/installer/{custom → python_scripts}/hx.py +30 -13
- machineconfig/jobs/installer/{custom_dev → python_scripts}/nerdfont.py +1 -1
- machineconfig/jobs/installer/{custom_dev → python_scripts}/nerfont_windows_helper.py +6 -5
- machineconfig/jobs/installer/{custom_dev → python_scripts}/sysabc.py +28 -43
- machineconfig/jobs/installer/{custom_dev → python_scripts}/wezterm.py +1 -1
- machineconfig/jobs/installer/{custom → python_scripts}/yazi.py +39 -19
- machineconfig/jobs/scripts/powershell_scripts/cmatrix.ps1 +52 -0
- machineconfig/jobs/scripts_dynamic/a.py +428 -0
- machineconfig/logger.py +1 -1
- machineconfig/profile/create_helper.py +21 -10
- machineconfig/profile/create_links.py +77 -20
- machineconfig/profile/create_links_export.py +63 -58
- machineconfig/profile/create_shell_profile.py +14 -0
- machineconfig/profile/mapper_data.toml +45 -0
- machineconfig/profile/mapper_dotfiles.toml +249 -0
- machineconfig/scripts/python/agents.py +76 -171
- machineconfig/scripts/python/ai/initai.py +3 -1
- machineconfig/scripts/python/ai/scripts/__init__.py +1 -0
- machineconfig/scripts/python/ai/scripts/lint_and_type_check.ps1 +2 -0
- machineconfig/scripts/python/ai/scripts/lint_and_type_check.sh +8 -6
- machineconfig/scripts/python/ai/solutions/claude/claude.py +1 -1
- machineconfig/scripts/python/ai/solutions/cline/cline.py +1 -1
- machineconfig/scripts/python/ai/solutions/copilot/github_copilot.py +1 -1
- machineconfig/scripts/python/ai/solutions/copilot/instructions/python/dev.instructions.md +29 -0
- machineconfig/scripts/python/ai/solutions/crush/crush.py +1 -1
- machineconfig/scripts/python/ai/solutions/cursor/cursors.py +1 -1
- machineconfig/scripts/python/ai/solutions/gemini/gemini.py +1 -1
- machineconfig/scripts/python/ai/solutions/gemini/settings.json +3 -0
- machineconfig/scripts/python/ai/{solutions → utils}/generic.py +2 -15
- machineconfig/scripts/python/ai/utils/vscode_tasks.py +6 -3
- machineconfig/scripts/python/cloud.py +58 -11
- machineconfig/scripts/python/croshell.py +4 -155
- machineconfig/scripts/python/devops.py +57 -38
- machineconfig/scripts/python/devops_navigator.py +17 -3
- machineconfig/scripts/python/fire_jobs.py +10 -193
- machineconfig/scripts/python/ftpx.py +5 -224
- machineconfig/scripts/python/graph/cli_graph.json +8743 -0
- machineconfig/scripts/python/{env_manager → helper_env}/path_manager_tui.py +2 -2
- machineconfig/scripts/python/{env_manager → helpers/helper_env}/env_manager_tui.py +1 -1
- machineconfig/scripts/python/helpers/helper_env/path_manager_tui.py +228 -0
- machineconfig/scripts/python/{helpers_agents → helpers/helpers_agents}/agentic_frameworks/fire_crush.py +1 -1
- machineconfig/scripts/python/{helpers_agents → helpers/helpers_agents}/agentic_frameworks/fire_cursor_agents.py +1 -1
- machineconfig/scripts/python/{helpers_agents → helpers/helpers_agents}/agentic_frameworks/fire_gemini.py +1 -1
- machineconfig/scripts/python/{helpers_agents → helpers/helpers_agents}/agentic_frameworks/fire_qwen.py +1 -1
- machineconfig/scripts/python/helpers/helpers_agents/agents_impl.py +168 -0
- machineconfig/scripts/python/{helpers_agents → helpers/helpers_agents}/fire_agents_help_launch.py +10 -7
- machineconfig/scripts/python/helpers/helpers_agents/privacy/configs/aichat/config.yaml +5 -0
- machineconfig/scripts/python/helpers/helpers_agents/privacy/configs/aider/.aider.conf.yml +2 -0
- machineconfig/scripts/python/helpers/helpers_agents/privacy/configs/copilot/config.yml +1 -0
- machineconfig/scripts/python/helpers/helpers_agents/privacy/configs/crush/crush.json +10 -0
- machineconfig/scripts/python/helpers/helpers_agents/privacy/configs/gemini/settings.json +12 -0
- machineconfig/scripts/python/helpers/helpers_agents/privacy/privacy.py +109 -0
- machineconfig/scripts/python/{helpers_agents → helpers/helpers_agents}/templates/template.sh +3 -1
- machineconfig/scripts/python/{helpers_cloud → helpers/helpers_cloud}/cloud_copy.py +6 -6
- machineconfig/scripts/python/{helpers_cloud → helpers/helpers_cloud}/cloud_mount.py +10 -5
- machineconfig/scripts/python/{helpers_cloud → helpers/helpers_cloud}/cloud_sync.py +4 -4
- machineconfig/scripts/python/{helpers_cloud → helpers/helpers_cloud}/helpers2.py +1 -1
- machineconfig/scripts/python/helpers/helpers_croshell/croshell_impl.py +229 -0
- machineconfig/scripts/python/{helpers_croshell → helpers/helpers_croshell}/scheduler.py +4 -4
- machineconfig/scripts/python/{helpers_croshell → helpers/helpers_croshell}/start_slidev.py +7 -6
- machineconfig/scripts/python/helpers/helpers_devops/backup_config.py +149 -0
- machineconfig/scripts/python/helpers/helpers_devops/cli_backup_retrieve.py +262 -0
- machineconfig/scripts/python/helpers/helpers_devops/cli_config.py +130 -0
- machineconfig/scripts/python/helpers/helpers_devops/cli_config_dotfile.py +274 -0
- machineconfig/scripts/python/helpers/helpers_devops/cli_config_mount.py +77 -0
- machineconfig/scripts/python/helpers/helpers_devops/cli_data.py +71 -0
- machineconfig/scripts/python/helpers/helpers_devops/cli_nw.py +285 -0
- machineconfig/scripts/python/helpers/helpers_devops/cli_repos.py +274 -0
- machineconfig/scripts/python/{helpers_devops → helpers/helpers_devops}/cli_self.py +84 -33
- machineconfig/scripts/python/{helpers_devops → helpers/helpers_devops}/cli_share_file.py +44 -30
- machineconfig/scripts/python/{helpers_devops → helpers/helpers_devops}/cli_share_server.py +26 -43
- machineconfig/scripts/python/helpers/helpers_devops/cli_share_temp.py +69 -0
- machineconfig/scripts/python/{helpers_devops → helpers/helpers_devops}/cli_share_terminal.py +12 -6
- machineconfig/scripts/python/helpers/helpers_devops/cli_ssh.py +167 -0
- machineconfig/scripts/python/{helpers_devops → helpers/helpers_devops}/devops_status.py +12 -6
- machineconfig/scripts/python/{helpers_devops → helpers/helpers_devops}/devops_update_repos.py +1 -1
- machineconfig/scripts/python/{interactive.py → helpers/helpers_devops/interactive.py} +64 -50
- machineconfig/scripts/python/helpers/helpers_devops/mount_helpers/commands.py +25 -0
- machineconfig/scripts/python/helpers/helpers_devops/mount_helpers/device_entry.py +17 -0
- machineconfig/scripts/python/helpers/helpers_devops/mount_helpers/devices.py +17 -0
- machineconfig/scripts/python/helpers/helpers_devops/mount_helpers/linux.py +103 -0
- machineconfig/scripts/python/helpers/helpers_devops/mount_helpers/macos.py +100 -0
- machineconfig/scripts/python/helpers/helpers_devops/mount_helpers/selection.py +47 -0
- machineconfig/scripts/python/helpers/helpers_devops/mount_helpers/utils.py +28 -0
- machineconfig/scripts/python/helpers/helpers_devops/mount_helpers/windows.py +91 -0
- machineconfig/scripts/python/helpers/helpers_devops/run_script.py +197 -0
- machineconfig/scripts/python/helpers/helpers_devops/themes/choose_starship_theme.ps1 +41 -0
- machineconfig/scripts/python/helpers/helpers_devops/themes/choose_starship_theme.sh +48 -0
- machineconfig/scripts/python/{helpers_devops → helpers/helpers_devops}/themes/choose_wezterm_theme.py +3 -3
- machineconfig/scripts/python/{helpers_fire_command → helpers/helpers_fire_command}/file_wrangler.py +1 -0
- machineconfig/scripts/python/{helpers_fire_command → helpers/helpers_fire_command}/fire_jobs_args_helper.py +1 -0
- machineconfig/scripts/python/helpers/helpers_fire_command/fire_jobs_impl.py +233 -0
- machineconfig/scripts/python/{helpers_fire_command → helpers/helpers_fire_command}/fire_jobs_route_helper.py +3 -3
- machineconfig/scripts/python/helpers/helpers_fire_command/fire_jobs_streamlit_helper.py +0 -0
- machineconfig/scripts/python/helpers/helpers_msearch/msearch_impl.py +248 -0
- machineconfig/scripts/python/{helpers_msearch → helpers/helpers_msearch}/scripts_linux/fzfg +4 -3
- machineconfig/scripts/python/helpers/helpers_msearch/scripts_linux/search_with_context.sh +48 -0
- machineconfig/scripts/python/{helpers_msearch → helpers/helpers_msearch}/scripts_windows/fzfg.ps1 +2 -7
- machineconfig/scripts/python/helpers/helpers_navigator/__init__.py +20 -0
- machineconfig/scripts/python/helpers/helpers_navigator/cli_graph_loader.py +234 -0
- machineconfig/scripts/python/{helpers_navigator → helpers/helpers_navigator}/command_builder.py +61 -13
- machineconfig/scripts/python/helpers/helpers_navigator/command_detail.py +153 -0
- machineconfig/scripts/python/helpers/helpers_navigator/command_tree.py +45 -0
- machineconfig/scripts/python/{helpers_navigator → helpers/helpers_navigator}/data_models.py +18 -11
- machineconfig/scripts/python/{helpers_navigator → helpers/helpers_navigator}/main_app.py +5 -5
- machineconfig/scripts/python/helpers/helpers_network/__init__.py +0 -0
- machineconfig/scripts/python/{helpers_network → helpers/helpers_network}/address.py +52 -10
- machineconfig/scripts/python/helpers/helpers_network/address_switch.py +78 -0
- machineconfig/scripts/python/helpers/helpers_network/ftpx_impl.py +276 -0
- machineconfig/scripts/python/helpers/helpers_network/ssh/__init__.py +0 -0
- machineconfig/scripts/python/helpers/helpers_network/ssh/ssh_add_identity.py +73 -0
- machineconfig/scripts/python/helpers/helpers_network/ssh/ssh_add_key_windows.py +23 -0
- machineconfig/scripts/python/helpers/helpers_network/ssh/ssh_add_ssh_key.py +169 -0
- machineconfig/scripts/python/helpers/helpers_network/ssh/ssh_cloud_init.py +33 -0
- machineconfig/scripts/python/helpers/helpers_network/ssh/ssh_debug_linux.py +338 -0
- machineconfig/scripts/python/helpers/helpers_network/ssh/ssh_debug_linux_utils.py +35 -0
- machineconfig/scripts/python/helpers/helpers_network/ssh/ssh_debug_windows.py +245 -0
- machineconfig/scripts/python/helpers/helpers_network/ssh/ssh_debug_windows_utils.py +34 -0
- machineconfig/scripts/python/{helpers_repos → helpers/helpers_repos}/action.py +3 -3
- machineconfig/scripts/python/{helpers_repos → helpers/helpers_repos}/action_helper.py +3 -3
- machineconfig/scripts/python/{helpers_repos → helpers/helpers_repos}/cloud_repo_sync.py +120 -37
- machineconfig/scripts/python/{helpers_repos → helpers/helpers_repos}/grource.py +3 -2
- machineconfig/scripts/python/{helpers_repos → helpers/helpers_repos}/record.py +33 -13
- machineconfig/scripts/python/{helpers_repos → helpers/helpers_repos}/repo_analyzer_2.py +63 -19
- machineconfig/scripts/python/{helpers_repos → helpers/helpers_repos}/update.py +0 -6
- machineconfig/scripts/python/helpers/helpers_search/script_help.py +81 -0
- machineconfig/scripts/python/helpers/helpers_sessions/__init__.py +0 -0
- machineconfig/scripts/python/helpers/helpers_sessions/attach_impl.py +87 -0
- machineconfig/scripts/python/helpers/helpers_sessions/sessions_impl.py +114 -0
- machineconfig/scripts/python/{helpers_sessions → helpers/helpers_sessions}/sessions_multiprocess.py +1 -2
- machineconfig/scripts/python/helpers/helpers_sessions/utils.py +69 -0
- machineconfig/scripts/python/{helpers_utils → helpers/helpers_utils}/download.py +1 -1
- machineconfig/scripts/python/{helpers_devops/cli_utils.py → helpers/helpers_utils/pdf.py} +2 -2
- machineconfig/scripts/python/{helpers_utils/path.py → helpers/helpers_utils/python.py} +65 -40
- machineconfig/scripts/python/helpers/helpers_utils/specs.py +246 -0
- machineconfig/scripts/python/mcfg_entry.py +126 -48
- machineconfig/scripts/python/msearch.py +16 -61
- machineconfig/scripts/python/sessions.py +137 -191
- machineconfig/scripts/python/utils.py +104 -24
- machineconfig/settings/atuin/config.toml +294 -0
- machineconfig/settings/atuin/themes/catppuccin-mocha-mauve.toml +12 -0
- machineconfig/settings/linters/.ruff.toml +2 -1
- machineconfig/settings/mprocs/windows/mprocs.yaml +2 -2
- machineconfig/settings/shells/bash/init.sh +6 -10
- machineconfig/settings/shells/nushell/config.nu +23 -1
- machineconfig/settings/shells/nushell/env.nu +22 -48
- machineconfig/settings/shells/nushell/init.nu +64 -240
- machineconfig/settings/shells/pwsh/init.ps1 +71 -5
- machineconfig/settings/shells/pwsh/search_pwsh_history.ps1 +99 -0
- machineconfig/settings/shells/wezterm/wezterm.lua +4 -0
- machineconfig/settings/shells/wt/settings.json +31 -37
- machineconfig/settings/shells/zsh/init.sh +25 -5
- machineconfig/settings/television/cable_unix/bash-history.toml +1 -1
- machineconfig/settings/television/cable_windows/pwsh-history.toml +1 -1
- machineconfig/settings/tv/config.toml +234 -0
- machineconfig/settings/tv/themes/catppuccin-mocha-sky.toml +22 -0
- machineconfig/settings/wsl/.wslconfig +5 -30
- machineconfig/settings/wt/__init__.py +0 -0
- machineconfig/settings/yazi/yazi_linux.toml +18 -8
- machineconfig/settings/zellij/__init__.py +0 -0
- machineconfig/settings/zellij/config.kdl +0 -295
- machineconfig/settings/zellij/layouts/__init__.py +0 -0
- machineconfig/settings/zellij/layouts/st.kdl +39 -9
- machineconfig/settings/zellij/layouts/st2.kdl +6 -2
- machineconfig/setup_linux/__init__.py +0 -1
- machineconfig/setup_linux/apps_desktop.sh +8 -27
- machineconfig/setup_linux/web_shortcuts/interactive.sh +10 -10
- machineconfig/setup_linux/web_shortcuts/live_from_github.sh +3 -0
- machineconfig/setup_mac/__init__.py +0 -2
- machineconfig/setup_windows/__init__.py +2 -5
- machineconfig/setup_windows/web_shortcuts/interactive.ps1 +14 -13
- machineconfig/setup_windows/web_shortcuts/live_from_github.ps1 +4 -3
- machineconfig/setup_windows/web_shortcuts/quick_init.ps1 +3 -3
- machineconfig/type_hinting/sql/__init__.py +1 -0
- machineconfig/type_hinting/sql/base.py +216 -0
- machineconfig/type_hinting/sql/core_schema.py +64 -0
- machineconfig/type_hinting/sql/core_schema_typeddict.py +41 -0
- machineconfig/type_hinting/sql/typeddict_codegen.py +222 -0
- machineconfig/type_hinting/typedict/__init__.py +1 -0
- machineconfig/type_hinting/typedict/ast_utils.py +130 -0
- machineconfig/type_hinting/typedict/generator_helpers.py +319 -0
- machineconfig/type_hinting/typedict/generators.py +231 -0
- machineconfig/type_hinting/typedict/polars_schema.py +24 -0
- machineconfig/type_hinting/typedict/polars_schema_typeddict.py +63 -0
- machineconfig/utils/accessories.py +24 -0
- machineconfig/utils/code.py +78 -33
- machineconfig/utils/files/ascii_art.py +10 -14
- machineconfig/utils/files/headers.py +3 -5
- machineconfig/utils/files/read.py +8 -1
- machineconfig/utils/installer_utils/github_release_bulk.py +11 -91
- machineconfig/utils/installer_utils/github_release_scraper.py +99 -0
- machineconfig/utils/installer_utils/install_from_url.py +1 -1
- machineconfig/utils/installer_utils/installer_class.py +12 -4
- machineconfig/utils/installer_utils/installer_cli.py +7 -17
- machineconfig/utils/installer_utils/installer_helper.py +52 -36
- machineconfig/utils/installer_utils/installer_locator_utils.py +15 -25
- machineconfig/utils/installer_utils/installer_runner.py +4 -4
- machineconfig/utils/io.py +25 -8
- machineconfig/utils/meta.py +6 -4
- machineconfig/utils/options.py +49 -19
- machineconfig/utils/options_utils/__init__.py +0 -0
- machineconfig/utils/options_utils/options_tv_linux.py +211 -0
- machineconfig/utils/options_utils/options_tv_windows.py +88 -0
- machineconfig/utils/options_utils/tv_options.py +37 -0
- machineconfig/utils/path_extended.py +8 -7
- machineconfig/utils/procs.py +35 -27
- machineconfig/utils/scheduler.py +8 -2
- machineconfig/utils/schemas/fire_agents/fire_agents_input.py +1 -1
- machineconfig/utils/schemas/layouts/layout_types.py +10 -0
- machineconfig/utils/source_of_truth.py +7 -1
- machineconfig/utils/ssh.py +73 -23
- machineconfig/utils/ssh_utils/abc.py +1 -1
- machineconfig/utils/ssh_utils/copy_from_here.py +19 -14
- machineconfig/utils/ssh_utils/copy_to_here.py +2 -1
- machineconfig/utils/ssh_utils/utils.py +23 -7
- machineconfig/utils/ssh_utils/wsl.py +107 -170
- machineconfig/utils/ssh_utils/wsl_helper.py +217 -0
- machineconfig/utils/upgrade_packages.py +4 -8
- {machineconfig-7.98.dist-info → machineconfig-8.61.dist-info}/METADATA +30 -23
- machineconfig-8.61.dist-info/RECORD +539 -0
- {machineconfig-7.98.dist-info → machineconfig-8.61.dist-info}/entry_points.txt +0 -1
- machineconfig/jobs/installer/check_installations.py +0 -248
- machineconfig/profile/backup.toml +0 -49
- machineconfig/profile/mapper.toml +0 -263
- machineconfig/scripts/linux/other/share_cloud.sh +0 -64
- machineconfig/scripts/linux/other/share_nfs +0 -49
- machineconfig/scripts/linux/other/start_docker +0 -23
- machineconfig/scripts/linux/other/switch_ip +0 -20
- machineconfig/scripts/python/helpers/run_py_script.py +0 -79
- machineconfig/scripts/python/helpers/tmp_py_scripts/a.py +0 -26
- machineconfig/scripts/python/helpers_devops/cli_config.py +0 -105
- machineconfig/scripts/python/helpers_devops/cli_config_dotfile.py +0 -89
- machineconfig/scripts/python/helpers_devops/cli_data.py +0 -25
- machineconfig/scripts/python/helpers_devops/cli_nw.py +0 -214
- machineconfig/scripts/python/helpers_devops/cli_repos.py +0 -215
- machineconfig/scripts/python/helpers_devops/devops_backup_retrieve.py +0 -80
- machineconfig/scripts/python/helpers_devops/themes/choose_starship_theme.bash +0 -3
- machineconfig/scripts/python/helpers_navigator/__init__.py +0 -20
- machineconfig/scripts/python/helpers_navigator/command_detail.py +0 -44
- machineconfig/scripts/python/helpers_navigator/command_tree.py +0 -620
- machineconfig/scripts/python/helpers_network/devops_add_identity.py +0 -82
- machineconfig/scripts/python/helpers_network/devops_add_ssh_key.py +0 -153
- machineconfig/scripts/python/helpers_network/mount_drive +0 -128
- machineconfig/scripts/python/helpers_network/mount_nfs +0 -49
- machineconfig/scripts/python/helpers_network/mount_nfs.py +0 -85
- machineconfig/scripts/python/helpers_network/mount_nw_drive +0 -61
- machineconfig/scripts/python/helpers_network/mount_nw_drive.py +0 -48
- machineconfig/scripts/python/helpers_network/mount_smb +0 -3
- machineconfig/scripts/python/helpers_network/mount_ssh.py +0 -64
- machineconfig/scripts/python/helpers_network/ssh_debug_linux.py +0 -391
- machineconfig/scripts/python/helpers_network/ssh_debug_windows.py +0 -338
- machineconfig/scripts/python/helpers_network/wsl_windows_transfer.py +0 -67
- machineconfig/scripts/python/helpers_repos/entrypoint.py +0 -77
- machineconfig/scripts/python/terminal.py +0 -133
- machineconfig/scripts/windows/mounts/Restore-ThunderbirdProfile.ps1 +0 -92
- machineconfig/scripts/windows/mounts/mount_nfs.ps1 +0 -42
- machineconfig/scripts/windows/mounts/mount_nw.ps1 +0 -9
- machineconfig/scripts/windows/mounts/mount_smb.ps1 +0 -2
- machineconfig/scripts/windows/mounts/mount_ssh.ps1 +0 -13
- machineconfig/scripts/windows/mounts/share_cloud.cmd +0 -34
- machineconfig/scripts/windows/mounts/share_smb.ps1 +0 -16
- machineconfig/settings/zellij/config.orig.kdl +0 -295
- machineconfig/setup_linux/others/android.sh +0 -2
- machineconfig/setup_linux/others/mint_keyboard_shortcuts.sh +0 -30
- machineconfig/setup_linux/ssh/openssh_all.sh +0 -25
- machineconfig/setup_linux/ssh/openssh_wsl.sh +0 -38
- machineconfig/setup_mac/ssh/openssh_setup.sh +0 -114
- machineconfig/setup_windows/others/docker.ps1 +0 -7
- machineconfig/setup_windows/others/obs.ps1 +0 -4
- machineconfig/setup_windows/others/power_options.ps1 +0 -7
- machineconfig/setup_windows/ssh/add-sshkey.ps1 +0 -29
- machineconfig/setup_windows/ssh/add_identity.ps1 +0 -11
- machineconfig/setup_windows/ssh/openssh-server.ps1 +0 -37
- machineconfig/setup_windows/ssh/openssh-server_add_key.ps1 +0 -7
- machineconfig/setup_windows/ssh/openssh-server_copy-ssh-id.ps1 +0 -14
- machineconfig/utils/options_tv.py +0 -119
- machineconfig/utils/tst.py +0 -20
- machineconfig-7.98.dist-info/RECORD +0 -504
- /machineconfig/{jobs/installer/custom_dev → cluster/sessions_managers/wt_utils/examples}/__init__.py +0 -0
- /machineconfig/{scripts/python/helpers_agents → jobs/installer/checks}/__init__.py +0 -0
- /machineconfig/{scripts/python/helpers_agents/agentic_frameworks → jobs/installer/python_scripts}/__init__.py +0 -0
- /machineconfig/jobs/installer/{custom_dev → python_scripts}/alacritty.py +0 -0
- /machineconfig/jobs/installer/{custom_dev → python_scripts}/bypass_paywall.py +0 -0
- /machineconfig/jobs/installer/{custom_dev → python_scripts}/cloudflare_warp_cli.py +0 -0
- /machineconfig/jobs/installer/{custom_dev → python_scripts}/cursor.py +0 -0
- /machineconfig/jobs/installer/{custom_dev → python_scripts}/dubdb_adbc.py +0 -0
- /machineconfig/jobs/installer/{custom_dev → python_scripts}/espanso.py +0 -0
- /machineconfig/jobs/installer/{custom → python_scripts}/gh.py +0 -0
- /machineconfig/jobs/installer/{custom_dev → python_scripts}/goes.py +0 -0
- /machineconfig/jobs/installer/{custom_dev → python_scripts}/lvim.py +0 -0
- /machineconfig/jobs/installer/{custom_dev → python_scripts}/redis.py +0 -0
- /machineconfig/jobs/installer/{custom_dev → python_scripts}/winget.py +0 -0
- /machineconfig/jobs/{installer/linux_scripts → scripts/bash_scripts}/lid.sh +0 -0
- /machineconfig/{scripts/windows/mounts → jobs/scripts/powershell_scripts}/unlock_bitlocker.ps1 +0 -0
- /machineconfig/scripts/python/ai/{solutions/_shared.py → utils/shared.py} +0 -0
- /machineconfig/scripts/python/{helpers_cloud → graph}/__init__.py +0 -0
- /machineconfig/scripts/python/{helpers_croshell → helpers}/__init__.py +0 -0
- /machineconfig/scripts/python/{env_manager → helpers/helper_env}/__init__.py +0 -0
- /machineconfig/scripts/python/{env_manager → helpers/helper_env}/path_manager_backend.py +0 -0
- /machineconfig/scripts/python/{helpers_devops → helpers/helpers_agents}/__init__.py +0 -0
- /machineconfig/scripts/python/{helpers_devops/themes → helpers/helpers_agents/agentic_frameworks}/__init__.py +0 -0
- /machineconfig/scripts/python/{helpers_agents → helpers/helpers_agents}/agentic_frameworks/fire_crush.json +0 -0
- /machineconfig/scripts/python/{helpers_agents → helpers/helpers_agents}/fire_agents_help_search.py +0 -0
- /machineconfig/scripts/python/{helpers_agents → helpers/helpers_agents}/fire_agents_helper_types.py +0 -0
- /machineconfig/scripts/python/{helpers_agents → helpers/helpers_agents}/fire_agents_load_balancer.py +0 -0
- /machineconfig/scripts/python/{helpers_agents → helpers/helpers_agents}/templates/prompt.txt +0 -0
- /machineconfig/scripts/python/{helpers_agents → helpers/helpers_agents}/templates/template.ps1 +0 -0
- /machineconfig/scripts/python/{helpers_fire_command → helpers/helpers_cloud}/__init__.py +0 -0
- /machineconfig/scripts/python/{helpers_cloud → helpers/helpers_cloud}/cloud_helpers.py +0 -0
- /machineconfig/scripts/python/{helpers_cloud → helpers/helpers_cloud}/helpers5.py +0 -0
- /machineconfig/scripts/python/{helpers_network → helpers/helpers_croshell}/__init__.py +0 -0
- /machineconfig/scripts/python/{helpers_croshell → helpers/helpers_croshell}/crosh.py +0 -0
- /machineconfig/scripts/python/{helpers_croshell → helpers/helpers_croshell}/pomodoro.py +0 -0
- /machineconfig/scripts/python/{helpers_croshell → helpers/helpers_croshell}/viewer.py +0 -0
- /machineconfig/scripts/python/{helpers_croshell → helpers/helpers_croshell}/viewer_template.py +0 -0
- /machineconfig/scripts/python/{helpers_sessions → helpers/helpers_devops}/__init__.py +0 -0
- /machineconfig/{setup_windows/wt_and_pwsh → scripts/python/helpers/helpers_devops/mount_helpers}/__init__.py +0 -0
- /machineconfig/scripts/python/{helpers_devops/themes/choose_starship_theme.ps1 → helpers/helpers_devops/themes/__init__.py} +0 -0
- /machineconfig/scripts/python/{helpers_devops → helpers/helpers_devops}/themes/choose_pwsh_theme.ps1 +0 -0
- /machineconfig/scripts/python/{helpers_fire_command/f.py → helpers/helpers_fire_command/__init__.py} +0 -0
- /machineconfig/scripts/python/{helpers_fire_command → helpers/helpers_fire_command}/cloud_manager.py +0 -0
- /machineconfig/scripts/python/{helpers_fire_command/fire_jobs_streamlit_helper.py → helpers/helpers_fire_command/f.py} +0 -0
- /machineconfig/scripts/python/{helpers_msearch → helpers/helpers_msearch}/__init__.py +0 -0
- /machineconfig/scripts/python/{helpers_navigator → helpers/helpers_navigator}/search_bar.py +0 -0
- /machineconfig/scripts/python/{helpers_network → helpers/helpers_network}/onetimeshare.py +0 -0
- /machineconfig/scripts/python/{helpers_network → helpers/helpers_network}/wifi_conn.py +0 -0
- /machineconfig/scripts/python/{helpers_repos → helpers/helpers_repos}/clone.py +0 -0
- /machineconfig/scripts/python/{helpers_repos → helpers/helpers_repos}/repo_analyzer_1.py +0 -0
- /machineconfig/scripts/python/{helpers_repos → helpers/helpers_repos}/sync.py +0 -0
- /machineconfig/scripts/python/helpers/{ast_search.py → helpers_search/ast_search.py} +0 -0
- /machineconfig/scripts/python/helpers/{qr_code.py → helpers_search/qr_code.py} +0 -0
- /machineconfig/scripts/python/helpers/{repo_rag.py → helpers_search/repo_rag.py} +0 -0
- /machineconfig/scripts/python/helpers/{symantic_search.py → helpers_search/symantic_search.py} +0 -0
- /machineconfig/{setup_windows/wt_and_pwsh → settings/wt}/set_wt_settings.py +0 -0
- {machineconfig-7.98.dist-info → machineconfig-8.61.dist-info}/WHEEL +0 -0
- {machineconfig-7.98.dist-info → machineconfig-8.61.dist-info}/top_level.txt +0 -0
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<#
|
|
3
|
-
.SYNOPSIS
|
|
4
|
-
Restores a Thunderbird profile from a backup.
|
|
5
|
-
|
|
6
|
-
.DESCRIPTION
|
|
7
|
-
This script automates the restoration of a Thunderbird profile. It finds the
|
|
8
|
-
default backup profile located in ~/.thunderbird and copies its contents to
|
|
9
|
-
the active Thunderbird profile folder in AppData/Roaming.
|
|
10
|
-
|
|
11
|
-
WARNING: This script will overwrite the current active Thunderbird profile.
|
|
12
|
-
Ensure Thunderbird is closed before running.
|
|
13
|
-
#>
|
|
14
|
-
|
|
15
|
-
# --- Configuration ---
|
|
16
|
-
$ErrorActionPreference = "Stop"
|
|
17
|
-
|
|
18
|
-
# --- Script ---
|
|
19
|
-
|
|
20
|
-
# 1. Define the root paths for backup and active profiles
|
|
21
|
-
$thunderbirdBackupRoot = "$env:USERPROFILE\.thunderbird"
|
|
22
|
-
$thunderbirdAppdataRoot = "$env:APPDATA\Thunderbird"
|
|
23
|
-
|
|
24
|
-
Write-Host "Thunderbird Profile Restore Script"
|
|
25
|
-
Write-Host "-----------------------------------"
|
|
26
|
-
|
|
27
|
-
# 2. Find the default profile path from the backup's profiles.ini
|
|
28
|
-
try {
|
|
29
|
-
$backupIniPath = Join-Path $thunderbirdBackupRoot "profiles.ini"
|
|
30
|
-
$backupProfileRelativePath = (Get-Content $backupIniPath | Select-String -Pattern '^Path=' | Select-Object -First 1) -replace '^Path=', ''
|
|
31
|
-
$backupProfileFullPath = Join-Path $thunderbirdBackupRoot $backupProfileRelativePath
|
|
32
|
-
Write-Host "Found backup profile: $backupProfileFullPath" -ForegroundColor Green
|
|
33
|
-
}
|
|
34
|
-
catch {
|
|
35
|
-
Write-Error "Could not find or read the backup profiles.ini at '$backupIniPath'."
|
|
36
|
-
exit 1
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
# 3. Find the default profile path from the active installation's profiles.ini
|
|
40
|
-
try {
|
|
41
|
-
$activeIniPath = Join-Path $thunderbirdAppdataRoot "profiles.ini"
|
|
42
|
-
$activeProfileRelativePath = (Get-Content $activeIniPath | Select-String -Pattern '^Path=' | Select-Object -First 1) -replace '^Path=', ''
|
|
43
|
-
$activeProfileFullPath = Join-Path $thunderbirdAppdataRoot $activeProfileRelativePath
|
|
44
|
-
Write-Host "Found active profile: $activeProfileFullPath" -ForegroundColor Green
|
|
45
|
-
}
|
|
46
|
-
catch {
|
|
47
|
-
Write-Error "Could not find or read the active profiles.ini at '$activeIniPath'."
|
|
48
|
-
exit 1
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
# 4. Safety Check: Confirm both profile paths exist
|
|
52
|
-
if (-not (Test-Path -Path $backupProfileFullPath -PathType Container)) {
|
|
53
|
-
Write-Error "Backup profile directory does not exist: $backupProfileFullPath"
|
|
54
|
-
exit 1
|
|
55
|
-
}
|
|
56
|
-
if (-not (Test-Path -Path $activeProfileFullPath -PathType Container)) {
|
|
57
|
-
Write-Error "Active profile directory does not exist: $activeProfileFullPath"
|
|
58
|
-
exit 1
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
# 5. CRITICAL: Get user confirmation before proceeding
|
|
62
|
-
Write-Warning "This will completely overwrite the profile at '$activeProfileFullPath' with the contents of the backup."
|
|
63
|
-
$confirmation = Read-Host "Are you absolutely sure you want to continue? (y/n)"
|
|
64
|
-
|
|
65
|
-
if ($confirmation -ne 'y') {
|
|
66
|
-
Write-Host "Operation cancelled by user." -ForegroundColor Yellow
|
|
67
|
-
exit 0
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
# 6. Ensure Thunderbird is not running
|
|
71
|
-
Write-Host "Checking for running Thunderbird process..."
|
|
72
|
-
$thunderbirdProcess = Get-Process thunderbird -ErrorAction SilentlyContinue
|
|
73
|
-
if ($thunderbirdProcess) {
|
|
74
|
-
Write-Host "Closing Thunderbird to prevent file conflicts..."
|
|
75
|
-
Stop-Process -InputObject $thunderbirdProcess -Force
|
|
76
|
-
Start-Sleep -Seconds 3 # Give it a moment to close gracefully
|
|
77
|
-
} else {
|
|
78
|
-
Write-Host "Thunderbird is not running. Good."
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
# 7. Copy the backup profile to the active profile directory using robocopy
|
|
82
|
-
Write-Host "Starting profile restoration... (This may take a while)"
|
|
83
|
-
try {
|
|
84
|
-
robocopy $backupProfileFullPath $activeProfileFullPath /MIR /E /IS /IT /NFL /NDL /NJH /NJS /nc /ns /np
|
|
85
|
-
Write-Host "Profile restoration complete!" -ForegroundColor Green
|
|
86
|
-
Write-Host "You can now start Thunderbird."
|
|
87
|
-
}
|
|
88
|
-
catch {
|
|
89
|
-
Write-Error "An error occurred during the file copy operation."
|
|
90
|
-
exit 1
|
|
91
|
-
}
|
|
92
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# mount nfs share on windows
|
|
3
|
-
# Enable-WindowsOptionalFeature -FeatureName ServicesForNFS-ClientOnly, ClientForNFS-Infrastructure -Online -NoRestart
|
|
4
|
-
# New-PSDrive -Name "z" -Root "\\alex-p51s-5/home/alex/dbhdd" -Persist -PSProvider "FileSystem"
|
|
5
|
-
# notice there is not : separation between host and path
|
|
6
|
-
# mount.exe -o anon,nolock,rw,hard,intr,noatime,proto=tcp,no_root_squash alex-p51s-5:/home/alex/dbhdd X:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
# Install NFS client
|
|
10
|
-
Write-Host "Installing NFS client..."
|
|
11
|
-
# this is for windows server: Install-WindowsFeature ClientForNFS-Infrastructure -IncludeManagementTools
|
|
12
|
-
Enable-WindowsOptionalFeature -FeatureName ServicesForNFS-ClientOnly, ClientForNFS-Infrastructure -Online -NoRestart
|
|
13
|
-
Write-Host "NFS client installed successfully."
|
|
14
|
-
|
|
15
|
-
$server=''
|
|
16
|
-
$sharePath=''
|
|
17
|
-
$driveLetter=''
|
|
18
|
-
$options = "rw,sec=sys,no_subtree_check"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
uv run python -m machineconfig.scripts.python.mount_nfs
|
|
22
|
-
. $HOME/tmp_results/shells/python_return_command.ps1
|
|
23
|
-
|
|
24
|
-
# Configure NFS server
|
|
25
|
-
#Write-Host "Configuring NFS server..."
|
|
26
|
-
#$nfsServerCommand = "exportfs -o $options $sharePath"
|
|
27
|
-
#Write-Host "Running command: $nfsServerCommand"
|
|
28
|
-
#Invoke-Expression $nfsServerCommand
|
|
29
|
-
#Write-Host "NFS server configured successfully."
|
|
30
|
-
|
|
31
|
-
$mountCommand = "mount.exe $server" + ":$sharePath $driveLetter" # + " -o rw,hard,intr,noatime,proto=tcp,no_root_squash"
|
|
32
|
-
#.exe is crucial, mount is nothing but alias for New-PSDrive
|
|
33
|
-
# New-PSDrive -Name "Y" -Root "\\host/path" -Persist -PSProvider "FileSystem" -Credential $cred
|
|
34
|
-
# see this: https://superuser.com/questions/1677820/powershell-mount-nfs-with-options
|
|
35
|
-
|
|
36
|
-
Write-Host "Mounting NFS share..."
|
|
37
|
-
Write-Host "Running command: $mountCommand"
|
|
38
|
-
Invoke-Expression $mountCommand
|
|
39
|
-
# create symlink to the mounted drive from ~/data/mount_nfs/{remote_server}
|
|
40
|
-
Write-Host "Executing this following command: New-Item -ItemType SymbolicLink -Path $HOME/data/mount_nfs/$server -Target $driveLetter -Force"
|
|
41
|
-
New-Item -ItemType SymbolicLink -Path "$HOME/data/mount_nfs/$server" -Target "$driveLetter" -Force
|
|
42
|
-
Write-Host "NFS share mounted successfully."
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# mapping a network drive
|
|
3
|
-
# read share name by asking for it
|
|
4
|
-
$share_info = Read-Host -Prompt "Enter share info (e.g. \\SAH0229234\t7share) "
|
|
5
|
-
$username = Read-Host -Prompt "Enter username (e.g. alex) "
|
|
6
|
-
$cred = Get-Credential -Credential "$username"
|
|
7
|
-
Write-Host "Executing: New-PSDrive -Name Z -PSProvider FileSystem -Root $share_info -Persist -Credential $cred"
|
|
8
|
-
New-PSDrive -Name "Z" -PSProvider "FileSystem" -Root $share_info -Persist -Credential $cred
|
|
9
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
winget install WinFsp.WinFsp; winget install SSHFS-Win.SSHFS-Win
|
|
4
|
-
|
|
5
|
-
$host = ''
|
|
6
|
-
$user = ''
|
|
7
|
-
$sharePath = ''
|
|
8
|
-
$driveLetter = ''
|
|
9
|
-
|
|
10
|
-
uv run --python 3.14 --with "machineconfig>=7.98" python -m machineconfig.scripts.python.mount_ssh
|
|
11
|
-
|
|
12
|
-
net use T: \\sshfs.kr\$user@$host.local
|
|
13
|
-
# this worked: net use T: \\sshfs\alex@alex-p51s-5.local
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
@echo off
|
|
3
|
-
setlocal EnableDelayedExpansion EnableExtensions
|
|
4
|
-
goto main
|
|
5
|
-
:usage
|
|
6
|
-
echo No arguments specified. >&2
|
|
7
|
-
echo Usage: >&2
|
|
8
|
-
echo transfer ^<file^|directory^> >&2
|
|
9
|
-
echo ... ^| transfer ^<file_name^> >&2
|
|
10
|
-
exit /b 1
|
|
11
|
-
:main
|
|
12
|
-
if "%~1" == "" goto usage
|
|
13
|
-
timeout.exe /t 0 >nul 2>nul || goto not_tty
|
|
14
|
-
set "file=%~1"
|
|
15
|
-
for %%A in ("%file%") do set "file_name=%%~nxA"
|
|
16
|
-
if exist "%file_name%" goto file_exists
|
|
17
|
-
echo %file%: No such file or directory >&2
|
|
18
|
-
exit /b 1
|
|
19
|
-
:file_exists
|
|
20
|
-
if not exist "%file%\" goto not_a_directory
|
|
21
|
-
set "file_name=%file_name%.zip"
|
|
22
|
-
pushd "%file%" || exit /b 1
|
|
23
|
-
set "full_name=%temp%\%file_name%"
|
|
24
|
-
powershell.exe -Command "Get-ChildItem -Path . -Recurse | Compress-Archive -DestinationPath ""%full_name%"""
|
|
25
|
-
curl.exe --progress-bar --upload-file "%full_name%" "https://transfer.sh/%file_name%"
|
|
26
|
-
popd
|
|
27
|
-
goto :eof
|
|
28
|
-
:not_a_directory
|
|
29
|
-
curl.exe --progress-bar --upload-file "%file%" "https://transfer.sh/%file_name%"
|
|
30
|
-
goto :eof
|
|
31
|
-
:not_tty
|
|
32
|
-
set "file_name=%~1"
|
|
33
|
-
curl.exe --progress-bar --upload-file - "https://transfer.sh/%file_name%"
|
|
34
|
-
goto :eof
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
$Path = $HOME + '\data\share_smb'
|
|
4
|
-
|
|
5
|
-
Get-SmbShare
|
|
6
|
-
|
|
7
|
-
if (!(Test-Path -Path $Path)) {
|
|
8
|
-
New-Item -ItemType Directory -Path $Path
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
# ICACLS $Path /grant $env:USERDOMAIN\$env:USERNAME:S
|
|
12
|
-
|
|
13
|
-
# provided access to all users irrespective of active directory
|
|
14
|
-
echo "Make sure you have elevated privledges to run this command"
|
|
15
|
-
New-SmbShare -Name "share_smb" -Path "$Path" FullAccess "Everyone"
|
|
16
|
-
|
|
@@ -1,295 +0,0 @@
|
|
|
1
|
-
// If you'd like to override the default keybindings completely, be sure to change "keybinds" to "keybinds clear-defaults=true"
|
|
2
|
-
keybinds {
|
|
3
|
-
normal {
|
|
4
|
-
// uncomment this and adjust key if using copy_on_select=false
|
|
5
|
-
// bind "Alt c" { Copy; }
|
|
6
|
-
}
|
|
7
|
-
locked {
|
|
8
|
-
bind "Ctrl g" { SwitchToMode "Normal"; }
|
|
9
|
-
}
|
|
10
|
-
resize {
|
|
11
|
-
bind "Ctrl n" { SwitchToMode "Normal"; }
|
|
12
|
-
bind "h" "Left" { Resize "Left"; }
|
|
13
|
-
bind "j" "Down" { Resize "Down"; }
|
|
14
|
-
bind "k" "Up" { Resize "Up"; }
|
|
15
|
-
bind "l" "Right" { Resize "Right"; }
|
|
16
|
-
bind "=" "+" { Resize "Increase"; }
|
|
17
|
-
bind "-" { Resize "Decrease"; }
|
|
18
|
-
}
|
|
19
|
-
pane {
|
|
20
|
-
bind "Ctrl p" { SwitchToMode "Normal"; }
|
|
21
|
-
bind "h" "Left" { MoveFocus "Left"; }
|
|
22
|
-
bind "l" "Right" { MoveFocus "Right"; }
|
|
23
|
-
bind "j" "Down" { MoveFocus "Down"; }
|
|
24
|
-
bind "k" "Up" { MoveFocus "Up"; }
|
|
25
|
-
bind "p" { SwitchFocus; }
|
|
26
|
-
bind "n" { NewPane; SwitchToMode "Normal"; }
|
|
27
|
-
bind "d" { NewPane "Down"; SwitchToMode "Normal"; }
|
|
28
|
-
bind "r" { NewPane "Right"; SwitchToMode "Normal"; }
|
|
29
|
-
bind "x" { CloseFocus; SwitchToMode "Normal"; }
|
|
30
|
-
bind "f" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
|
|
31
|
-
bind "z" { TogglePaneFrames; SwitchToMode "Normal"; }
|
|
32
|
-
bind "w" { ToggleFloatingPanes; SwitchToMode "Normal"; }
|
|
33
|
-
bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "Normal"; }
|
|
34
|
-
bind "c" { SwitchToMode "RenamePane"; PaneNameInput 0;}
|
|
35
|
-
}
|
|
36
|
-
move {
|
|
37
|
-
bind "Ctrl h" { SwitchToMode "Normal"; }
|
|
38
|
-
bind "n" "Tab" { MovePane; }
|
|
39
|
-
bind "h" "Left" { MovePane "Left"; }
|
|
40
|
-
bind "j" "Down" { MovePane "Down"; }
|
|
41
|
-
bind "k" "Up" { MovePane "Up"; }
|
|
42
|
-
bind "l" "Right" { MovePane "Right"; }
|
|
43
|
-
}
|
|
44
|
-
tab {
|
|
45
|
-
bind "Ctrl t" { SwitchToMode "Normal"; }
|
|
46
|
-
bind "r" { SwitchToMode "RenameTab"; TabNameInput 0; }
|
|
47
|
-
bind "h" "Left" "Up" "k" { GoToPreviousTab; }
|
|
48
|
-
bind "l" "Right" "Down" "j" { GoToNextTab; }
|
|
49
|
-
bind "n" { NewTab; SwitchToMode "Normal"; }
|
|
50
|
-
bind "x" { CloseTab; SwitchToMode "Normal"; }
|
|
51
|
-
bind "s" { ToggleActiveSyncTab; SwitchToMode "Normal"; }
|
|
52
|
-
bind "1" { GoToTab 1; SwitchToMode "Normal"; }
|
|
53
|
-
bind "2" { GoToTab 2; SwitchToMode "Normal"; }
|
|
54
|
-
bind "3" { GoToTab 3; SwitchToMode "Normal"; }
|
|
55
|
-
bind "4" { GoToTab 4; SwitchToMode "Normal"; }
|
|
56
|
-
bind "5" { GoToTab 5; SwitchToMode "Normal"; }
|
|
57
|
-
bind "6" { GoToTab 6; SwitchToMode "Normal"; }
|
|
58
|
-
bind "7" { GoToTab 7; SwitchToMode "Normal"; }
|
|
59
|
-
bind "8" { GoToTab 8; SwitchToMode "Normal"; }
|
|
60
|
-
bind "9" { GoToTab 9; SwitchToMode "Normal"; }
|
|
61
|
-
bind "Tab" { ToggleTab; }
|
|
62
|
-
}
|
|
63
|
-
scroll {
|
|
64
|
-
bind "Ctrl s" { SwitchToMode "Normal"; }
|
|
65
|
-
bind "e" { EditScrollback; SwitchToMode "Normal"; }
|
|
66
|
-
bind "s" { SwitchToMode "EnterSearch"; SearchInput 0; }
|
|
67
|
-
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
|
|
68
|
-
bind "j" "Down" { ScrollDown; }
|
|
69
|
-
bind "k" "Up" { ScrollUp; }
|
|
70
|
-
bind "Ctrl f" "PageDown" "Right" "l" { PageScrollDown; }
|
|
71
|
-
bind "Ctrl b" "PageUp" "Left" "h" { PageScrollUp; }
|
|
72
|
-
bind "d" { HalfPageScrollDown; }
|
|
73
|
-
bind "u" { HalfPageScrollUp; }
|
|
74
|
-
// uncomment this and adjust key if using copy_on_select=false
|
|
75
|
-
// bind "Alt c" { Copy; }
|
|
76
|
-
}
|
|
77
|
-
search {
|
|
78
|
-
bind "Ctrl s" { SwitchToMode "Normal"; }
|
|
79
|
-
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
|
|
80
|
-
bind "j" "Down" { ScrollDown; }
|
|
81
|
-
bind "k" "Up" { ScrollUp; }
|
|
82
|
-
bind "Ctrl f" "PageDown" "Right" "l" { PageScrollDown; }
|
|
83
|
-
bind "Ctrl b" "PageUp" "Left" "h" { PageScrollUp; }
|
|
84
|
-
bind "d" { HalfPageScrollDown; }
|
|
85
|
-
bind "u" { HalfPageScrollUp; }
|
|
86
|
-
bind "n" { Search "down"; }
|
|
87
|
-
bind "p" { Search "up"; }
|
|
88
|
-
bind "c" { SearchToggleOption "CaseSensitivity"; }
|
|
89
|
-
bind "w" { SearchToggleOption "Wrap"; }
|
|
90
|
-
bind "o" { SearchToggleOption "WholeWord"; }
|
|
91
|
-
}
|
|
92
|
-
entersearch {
|
|
93
|
-
bind "Ctrl c" "Esc" { SwitchToMode "Scroll"; }
|
|
94
|
-
bind "Enter" { SwitchToMode "Search"; }
|
|
95
|
-
}
|
|
96
|
-
renametab {
|
|
97
|
-
bind "Ctrl c" { SwitchToMode "Normal"; }
|
|
98
|
-
bind "Esc" { UndoRenameTab; SwitchToMode "Tab"; }
|
|
99
|
-
}
|
|
100
|
-
renamepane {
|
|
101
|
-
bind "Ctrl c" { SwitchToMode "Normal"; }
|
|
102
|
-
bind "Esc" { UndoRenamePane; SwitchToMode "Pane"; }
|
|
103
|
-
}
|
|
104
|
-
session {
|
|
105
|
-
bind "Ctrl o" { SwitchToMode "Normal"; }
|
|
106
|
-
bind "Ctrl s" { SwitchToMode "Scroll"; }
|
|
107
|
-
bind "d" { Detach; }
|
|
108
|
-
}
|
|
109
|
-
tmux {
|
|
110
|
-
bind "[" { SwitchToMode "Scroll"; }
|
|
111
|
-
bind "Ctrl b" { Write 2; SwitchToMode "Normal"; }
|
|
112
|
-
bind "\"" { NewPane "Down"; SwitchToMode "Normal"; }
|
|
113
|
-
bind "%" { NewPane "Right"; SwitchToMode "Normal"; }
|
|
114
|
-
bind "z" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
|
|
115
|
-
bind "c" { NewTab; SwitchToMode "Normal"; }
|
|
116
|
-
bind "," { SwitchToMode "RenameTab"; }
|
|
117
|
-
bind "p" { GoToPreviousTab; SwitchToMode "Normal"; }
|
|
118
|
-
bind "n" { GoToNextTab; SwitchToMode "Normal"; }
|
|
119
|
-
bind "Left" { MoveFocus "Left"; SwitchToMode "Normal"; }
|
|
120
|
-
bind "Right" { MoveFocus "Right"; SwitchToMode "Normal"; }
|
|
121
|
-
bind "Down" { MoveFocus "Down"; SwitchToMode "Normal"; }
|
|
122
|
-
bind "Up" { MoveFocus "Up"; SwitchToMode "Normal"; }
|
|
123
|
-
bind "h" { MoveFocus "Left"; SwitchToMode "Normal"; }
|
|
124
|
-
bind "l" { MoveFocus "Right"; SwitchToMode "Normal"; }
|
|
125
|
-
bind "j" { MoveFocus "Down"; SwitchToMode "Normal"; }
|
|
126
|
-
bind "k" { MoveFocus "Up"; SwitchToMode "Normal"; }
|
|
127
|
-
bind "o" { FocusNextPane; }
|
|
128
|
-
bind "d" { Detach; }
|
|
129
|
-
}
|
|
130
|
-
shared_except "locked" {
|
|
131
|
-
bind "Ctrl g" { SwitchToMode "Locked"; }
|
|
132
|
-
bind "Ctrl q" { Quit; }
|
|
133
|
-
bind "Alt n" { NewPane; }
|
|
134
|
-
bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; }
|
|
135
|
-
bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; }
|
|
136
|
-
bind "Alt j" "Alt Down" { MoveFocus "Down"; }
|
|
137
|
-
bind "Alt k" "Alt Up" { MoveFocus "Up"; }
|
|
138
|
-
bind "Alt =" "Alt +" { Resize "Increase"; }
|
|
139
|
-
bind "Alt -" { Resize "Decrease"; }
|
|
140
|
-
}
|
|
141
|
-
shared_except "normal" "locked" {
|
|
142
|
-
bind "Enter" "Esc" { SwitchToMode "Normal"; }
|
|
143
|
-
}
|
|
144
|
-
shared_except "pane" "locked" {
|
|
145
|
-
bind "Ctrl p" { SwitchToMode "Pane"; }
|
|
146
|
-
}
|
|
147
|
-
shared_except "resize" "locked" {
|
|
148
|
-
bind "Ctrl n" { SwitchToMode "Resize"; }
|
|
149
|
-
}
|
|
150
|
-
shared_except "scroll" "locked" {
|
|
151
|
-
bind "Ctrl s" { SwitchToMode "Scroll"; }
|
|
152
|
-
}
|
|
153
|
-
shared_except "session" "locked" {
|
|
154
|
-
bind "Ctrl o" { SwitchToMode "Session"; }
|
|
155
|
-
}
|
|
156
|
-
shared_except "tab" "locked" {
|
|
157
|
-
bind "Ctrl t" { SwitchToMode "Tab"; }
|
|
158
|
-
}
|
|
159
|
-
shared_except "move" "locked" {
|
|
160
|
-
bind "Ctrl h" { SwitchToMode "Move"; }
|
|
161
|
-
}
|
|
162
|
-
shared_except "tmux" "locked" {
|
|
163
|
-
bind "Ctrl b" { SwitchToMode "Tmux"; }
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
plugins {
|
|
168
|
-
tab-bar { path "tab-bar"; }
|
|
169
|
-
status-bar { path "status-bar"; }
|
|
170
|
-
strider { path "strider"; }
|
|
171
|
-
compact-bar { path "compact-bar"; }
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
// Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP
|
|
175
|
-
// eg. when terminal window with an active zellij session is closed
|
|
176
|
-
// Options:
|
|
177
|
-
// - detach (Default)
|
|
178
|
-
// - quit
|
|
179
|
-
//
|
|
180
|
-
// on_force_close "quit"
|
|
181
|
-
|
|
182
|
-
// Send a request for a simplified ui (without arrow fonts) to plugins
|
|
183
|
-
// Options:
|
|
184
|
-
// - true
|
|
185
|
-
// - false (Default)
|
|
186
|
-
//
|
|
187
|
-
// simplified_ui true
|
|
188
|
-
|
|
189
|
-
// Choose the path to the default shell that zellij will use for opening new panes
|
|
190
|
-
// Default: $SHELL
|
|
191
|
-
//
|
|
192
|
-
// default_shell "fish"
|
|
193
|
-
|
|
194
|
-
// Toggle between having pane frames around the panes
|
|
195
|
-
// Options:
|
|
196
|
-
// - true (default)
|
|
197
|
-
// - false
|
|
198
|
-
//
|
|
199
|
-
// pane_frames true
|
|
200
|
-
|
|
201
|
-
// Define color themes for Zellij
|
|
202
|
-
// For more examples, see: https://github.com/zellij-org/zellij/tree/main/example/themes
|
|
203
|
-
// Once these themes are defined, one of them should to be selected in the "theme" section of this file
|
|
204
|
-
//
|
|
205
|
-
// themes {
|
|
206
|
-
// dracula {
|
|
207
|
-
// fg 248 248 242
|
|
208
|
-
// bg 40 42 54
|
|
209
|
-
// red 255 85 85
|
|
210
|
-
// green 80 250 123
|
|
211
|
-
// yellow 241 250 140
|
|
212
|
-
// blue 98 114 164
|
|
213
|
-
// magenta 255 121 198
|
|
214
|
-
// orange 255 184 108
|
|
215
|
-
// cyan 139 233 253
|
|
216
|
-
// black 0 0 0
|
|
217
|
-
// white 255 255 255
|
|
218
|
-
// }
|
|
219
|
-
// }
|
|
220
|
-
|
|
221
|
-
// Choose the theme that is specified in the themes section.
|
|
222
|
-
// Default: default
|
|
223
|
-
//
|
|
224
|
-
// theme "default"
|
|
225
|
-
|
|
226
|
-
// The name of the default layout to load on startup
|
|
227
|
-
// Default: "default"
|
|
228
|
-
//
|
|
229
|
-
// default_layout "compact"
|
|
230
|
-
|
|
231
|
-
// Choose the mode that zellij uses when starting up.
|
|
232
|
-
// Default: normal
|
|
233
|
-
//
|
|
234
|
-
// default_mode "locked"
|
|
235
|
-
|
|
236
|
-
// Toggle enabling the mouse mode.
|
|
237
|
-
// On certain configurations, or terminals this could
|
|
238
|
-
// potentially interfere with copying text.
|
|
239
|
-
// Options:
|
|
240
|
-
// - true (default)
|
|
241
|
-
// - false
|
|
242
|
-
//
|
|
243
|
-
// mouse_mode false
|
|
244
|
-
|
|
245
|
-
// Configure the scroll back buffer size
|
|
246
|
-
// This is the number of lines zellij stores for each pane in the scroll back
|
|
247
|
-
// buffer. Excess number of lines are discarded in a FIFO fashion.
|
|
248
|
-
// Valid values: positive integers
|
|
249
|
-
// Default value: 10000
|
|
250
|
-
//
|
|
251
|
-
// scroll_buffer_size 10000
|
|
252
|
-
|
|
253
|
-
// Provide a command to execute when copying text. The text will be piped to
|
|
254
|
-
// the stdin of the program to perform the copy. This can be used with
|
|
255
|
-
// terminal emulators which do not support the OSC 52 ANSI control sequence
|
|
256
|
-
// that will be used by default if this option is not set.
|
|
257
|
-
// Examples:
|
|
258
|
-
//
|
|
259
|
-
// copy_command "xclip -selection clipboard" // x11
|
|
260
|
-
// copy_command "wl-copy" // wayland
|
|
261
|
-
// copy_command "pbcopy" // osx
|
|
262
|
-
|
|
263
|
-
// Choose the destination for copied text
|
|
264
|
-
// Allows using the primary selection buffer (on x11/wayland) instead of the system clipboard.
|
|
265
|
-
// Does not apply when using copy_command.
|
|
266
|
-
// Options:
|
|
267
|
-
// - system (default)
|
|
268
|
-
// - primary
|
|
269
|
-
//
|
|
270
|
-
// copy_clipboard "primary"
|
|
271
|
-
|
|
272
|
-
// Enable or disable automatic copy (and clear) of selection when releasing mouse
|
|
273
|
-
// Default: true
|
|
274
|
-
//
|
|
275
|
-
// copy_on_select false
|
|
276
|
-
|
|
277
|
-
// Path to the default editor to use to edit pane scrollbuffer
|
|
278
|
-
// Default: $EDITOR or $VISUAL
|
|
279
|
-
//
|
|
280
|
-
// scrollback_editor "/usr/bin/vim"
|
|
281
|
-
|
|
282
|
-
// When attaching to an existing session with other users,
|
|
283
|
-
// should the session be mirrored (true)
|
|
284
|
-
// or should each user have their own cursor (false)
|
|
285
|
-
// Default: false
|
|
286
|
-
//
|
|
287
|
-
// mirror_session true
|
|
288
|
-
|
|
289
|
-
// The folder in which Zellij will look for layouts
|
|
290
|
-
//
|
|
291
|
-
// layout_dir "/path/to/my/layout_dir"
|
|
292
|
-
|
|
293
|
-
// The folder in which Zellij will look for themes
|
|
294
|
-
//
|
|
295
|
-
// theme_dir "/path/to/my/theme_dir"
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
# ⌨️ Linux Mint Keyboard Shortcuts Configuration
|
|
3
|
-
|
|
4
|
-
# 🚀 Rofi Launcher Shortcut Settings
|
|
5
|
-
KEYBINDING_NAME='Launch Rofi'
|
|
6
|
-
KEYBINDING_COMMAND='rofi -show drun'
|
|
7
|
-
KEYBINDING_BINDING='<Control><Alt>p'
|
|
8
|
-
KEYBINDING_PATH='/org/cinnamon/desktop/keybindings/custom-keybindings/custom0/'
|
|
9
|
-
|
|
10
|
-
# 🔑 Configure Shortcut
|
|
11
|
-
# Set the name
|
|
12
|
-
gsettings set org.cinnamon.desktop.keybindings.custom-keybinding:$KEYBINDING_PATH name "$KEYBINDING_NAME"
|
|
13
|
-
# Set the command
|
|
14
|
-
gsettings set org.cinnamon.desktop.keybindings.custom-keybinding:$KEYBINDING_PATH command "$KEYBINDING_COMMAND"
|
|
15
|
-
# Set the binding
|
|
16
|
-
gsettings set org.cinnamon.desktop.keybindings.custom-keybinding:$KEYBINDING_PATH binding "['$KEYBINDING_BINDING']"
|
|
17
|
-
|
|
18
|
-
# 📋 Update Keybindings List
|
|
19
|
-
# Get the current list of custom keybindings
|
|
20
|
-
CURRENT_KEYBINDINGS=$(gsettings get org.cinnamon.desktop.keybindings custom-list)
|
|
21
|
-
|
|
22
|
-
# 🔄 Add new keybinding if not present
|
|
23
|
-
if [[ "$CURRENT_KEYBINDINGS" != *custom0* ]]; then
|
|
24
|
-
if [ "$CURRENT_KEYBINDINGS" = "@as []" ]; then
|
|
25
|
-
NEW_KEYBINDINGS="['custom0']"
|
|
26
|
-
else
|
|
27
|
-
NEW_KEYBINDINGS="${CURRENT_KEYBINDINGS%]*}, 'custom0']"
|
|
28
|
-
fi
|
|
29
|
-
gsettings set org.cinnamon.desktop.keybindings custom-list "$NEW_KEYBINDINGS"
|
|
30
|
-
fi
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/bash
|
|
2
|
-
# 🔐 OpenSSH Server Setup and Configuration
|
|
3
|
-
|
|
4
|
-
# Common pitfalls:
|
|
5
|
-
# 🚫 Wrong line endings (LF/CRLF) in config files
|
|
6
|
-
# 🌐 Network port conflicts (try 2222 -> 2223) between WSL and Windows
|
|
7
|
-
|
|
8
|
-
# 📁 Setup SSH directory and permissions
|
|
9
|
-
mkdir -p ~/.ssh
|
|
10
|
-
echo $pubkey_string >> ~/.ssh/authorized_keys
|
|
11
|
-
sudo chmod 600 ~/.ssh/*
|
|
12
|
-
sudo chmod 700 ~/.ssh
|
|
13
|
-
echo "✅ FINISHED modifying .ssh folder attributes."
|
|
14
|
-
|
|
15
|
-
# 🔄 Clean install OpenSSH server
|
|
16
|
-
sudo nala install openssh-server -y || true # try to install first
|
|
17
|
-
sudo nala purge openssh-server -y
|
|
18
|
-
sudo nala install openssh-server -y
|
|
19
|
-
echo "✅ FINISHED installing openssh-server."
|
|
20
|
-
|
|
21
|
-
# 📝 Additional commands if needed:
|
|
22
|
-
# sudo service ssh status
|
|
23
|
-
# sudo nano /etc/ssh/sshd_config
|
|
24
|
-
# sudo service ssh restart
|
|
25
|
-
# For tunnels see: https://www.youtube.com/watch?v=Wp7boqm3Xts
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/bash
|
|
2
|
-
# 🐧 WSL2 SSH Configuration for LAN Access 🌐
|
|
3
|
-
# Purpose: Enable SSH access to WSL2 from LAN (requires wsl_server.ps1 in Windows)
|
|
4
|
-
# Common pitfall: sshd fails after config changes due to wrong line endings/permissions
|
|
5
|
-
|
|
6
|
-
# 🔍 Check if running in WSL
|
|
7
|
-
if [[ $(uname -a) == *"icrosoft"* ]]; then
|
|
8
|
-
echo "✅ Running inside WSL"
|
|
9
|
-
else
|
|
10
|
-
echo "❌ Not running inside WSL, no need for this script"
|
|
11
|
-
exit 0
|
|
12
|
-
fi
|
|
13
|
-
|
|
14
|
-
# 🔢 Set SSH port
|
|
15
|
-
if [ -z "$port" ]; then
|
|
16
|
-
port=2222
|
|
17
|
-
echo "📝 Port variable not defined, setting it to $port"
|
|
18
|
-
fi
|
|
19
|
-
|
|
20
|
-
# 🛠️ Configure SSH
|
|
21
|
-
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak
|
|
22
|
-
sudo sed -i 's/#Port 22/Port '$port'/g' /etc/ssh/sshd_config
|
|
23
|
-
sudo sed -i 's/#ListenAddress 0.0.0.0/ListenAddress 0.0.0.0/g' /etc/ssh/sshd_config
|
|
24
|
-
sudo sed -i 's/#PubkeyAuthentication yes/PubkeyAuthentication yes/g' /etc/ssh/sshd_config
|
|
25
|
-
sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
|
|
26
|
-
|
|
27
|
-
# 🔑 Generate host keys and restart service
|
|
28
|
-
sudo service ssh start
|
|
29
|
-
sudo ssh-keygen -A
|
|
30
|
-
sudo service ssh --full-restart
|
|
31
|
-
sudo service ssh status
|
|
32
|
-
|
|
33
|
-
echo "✨ FINISHED configuring SSH in WSL2."
|
|
34
|
-
|
|
35
|
-
# 📚 References:
|
|
36
|
-
# Service startup: https://superuser.com/questions/1701853/how-to-enable-a-service-to-start-with-wsl2
|
|
37
|
-
# WSL config: https://learn.microsoft.com/en-us/windows/wsl/networking#accessing-a-wsl-2-distribution-from-your-local-area-network-lan
|
|
38
|
-
|