{"id":22780013,"url":"https://github.com/babab/dotfiles","last_synced_at":"2025-07-25T17:33:46.574Z","repository":{"id":3105197,"uuid":"4131160","full_name":"babab/dotfiles","owner":"babab","description":"Dotfiles and scripts","archived":false,"fork":false,"pushed_at":"2023-06-27T18:28:15.000Z","size":384,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-05T15:52:39.983Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/babab.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-04-25T00:03:49.000Z","updated_at":"2023-02-20T10:39:08.000Z","dependencies_parsed_at":"2023-07-05T18:48:36.854Z","dependency_job_id":null,"html_url":"https://github.com/babab/dotfiles","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babab%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babab%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babab%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babab%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babab","download_url":"https://codeload.github.com/babab/dotfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246326783,"owners_count":20759439,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-11T20:12:03.217Z","updated_at":"2025-03-30T14:15:41.743Z","avatar_url":"https://github.com/babab.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My dotfiles and scripts\n\nThese configurations and scripts are ultimately optimized for Zsh on\nArchlinux and support combinations of Bash or Zsh with Archlinux and\nDebian (or its derivatives: Ubuntu, Linux Mint, etc.).\n\n\n## Index\n\u003c!-- auto generated with https://github.com/mzlogin/vim-markdown-toc --\u003e\n\u003c!-- vim-markdown-toc GFM --\u003e\n\n* [Code hosting / Links](#code-hosting--links)\n* [Small programs and utility scripts](#small-programs-and-utility-scripts)\n* [Cloning dotfiles repository](#cloning-dotfiles-repository)\n* [Linking dotfiles](#linking-dotfiles)\n    * [Default install - preserving existing configuration](#default-install---preserving-existing-configuration)\n    * [Complete install](#complete-install)\n\n\u003c!-- vim-markdown-toc --\u003e\n\n\n## Code hosting / Links\n\n- [babab/dotfiles](https://codeberg.org/babab/dotfiles) on Codeberg\n- [babab/dotfiles](https://github.com/babab/dotfiles) on Github\n\nDotfiles for Vim (*~/.vim*) are kept in a separate repository called\nvim-config.\n\n- [babab/vim-config](https://codeberg.org/babab/vim-config) on Codeberg\n- [babab/vim-config](https://github.com/babab/vim-config) on Github\n\n\n## Small programs and utility scripts\n\n[afkfish](bin/afkfish)\n\n- AFK fishing clicker script for Minecraft using xdotool.\n\n[afkmine](bin/afkmine)\n\n- AFK mining clicker script for Minecraft using xdotool.\n\n[baraction.sh](bin/baraction.sh)\n\n- Statusbar script for spectrwm (my favorite WM).\n\n[check-programs](bin/check-programs)\n\n- Check to see what programs are installed on the system\n\n[ctb](bin/ctb)\n\n- Create temporary backup (create timestamped tar/gz archives of\n    files/directories.\n\n[duh](bin/duh)\n\n- A fancy alias for `du -h | sort -h` that tees output before showing\n    a sorted version at the end, paged with less.\n\n[envtest](bin/envtest)\n\n- Check paths of python, pip and virtual environment\n\n[git-remote-gh](bin/git-remote-gh)\n\n- Clone or configure remotes (of) a Github repo with favourable urls\n    (using https for fetch / ssh for push by default).\n\n[htmlcount](bin/htmlcount)\n\n- Count html elements in a html files or stdin.\n\n[loadavg](bin/loadavg)\n\n- Show loadavg as a percentage of cores available.\n\n[loop](bin/loop)\n\n- Run a command every second.\n\n[make-php-ctags](bin/make-php-ctags)\n\n- Create ctags for a PHP project.\n\n[metainfo](bin/metainfo)\n\n- Show information like mimetype and SHA1/MD5 checksums of a file.\n\n[mkscript](bin/mkscript)\n\n- Quickly create an executable script in python, node or shell script\n    with some minimal boilerplate.\n\n[php-lintr](bin/php-lintr)\n\n- search recursively for scripts and only show output when there are\n    errors.\n\n[random-wallpaper](bin/random-wallpaper)\n\n- Select a random wallpaper from \\~/Pictures/wallpapers and set it\n    using feh.\n\n[runserver](bin/runserver)\n\n- Run a http.server, Django or Werkzeug development server depending\n    on project context.\n\n[screen-off](bin/screen-off)\n\n- Blank the screen using xset.\n\n[screenshot.sh](bin/screenshot.sh)\n\n- Save a screenshot of a window or full screen in a timestamped file\n    using scrot.\n\n[slowcate](bin/slowcate)\n\n- Wrapper for `sudo find / | grep \"searchtext\"`\n\n[sysupgrade](bin/sysupgrade)\n\n- Do a system upgrade, clean package cache and reboot/shutdown/return\n\n[termwidth](bin/termwidth)\n\n- Get terminal width and/or print rulers to help set window size.\n\n[tmux-swprefix](bin/tmux-swprefix)\n\n- Helper for using tmux over ssh in tmux (over ssh in tmux)\n\n[touchpad-toggle](bin/touchpad-toggle)\n\n- Toggle touchpad depending on current status using synclient.\n\n[urxvt-modeline](bin/urxvt-modeline)\n\n- Modeline script for rxvt-unicode terminal.\n\n[vbvmconn](bin/vbvmconn)\n\n- SSH connect with a Windows Hosted VirtualBox VM from within Cygwin,\n    starting the VM first if needed.\n\n[vii](bin/vii)\n\n- Edit files in emacs/vim using a tab/pane layout and sudo if needed.\n\n[wmtoggle](bin/wmtoggle)\n\n- Switch between using spectrwm or openbox when startx is executed.\n\n[wschemaspy](bin/wschemaspy)\n\n- Wrapper for wschemaspy MySQL db graphviz dumps\n\n[xs](bin/xs)\n\n- Alias for `$@ \u003e /dev/null 2\u003e\u00261 \u0026` to start programs in X from the\n    terminal.\n\n[youtube-dl-clipboard](bin/youtube-dl-clipboard)\n\n- Send URL in clipboard to youtube-dl (using xclip).\n\n\n## Cloning dotfiles repository\n\nThis repository should be cloned somewhere down the path in `HOME`.\nThe default location is *~/git/dotfiles*.\n\nSome config files will directly refer to files in this repository\nusing the env var `BABABDOT_ROOT`. If you use a location\nother the *~/git/dotfiles*, this var should be changed to\npoint to the right location. It is defined at the top of\n[dotfiles/.profile](dotfiles/.profile).\n\nThe install script is then used to create the correct\nsymlinks pointing to the dotfiles and shell scripts.\n\nClone the git repository somewhere in `HOME`:\n\n``` shell\nmkdir -p ~/git\ncd ~/git\n\n# Download / clone from either Github or Codeberg\ngit clone https://codeberg.org/babab/dotfiles.git\ngit clone https://github.com/babab/dotfiles.git\n```\n\n## Linking dotfiles\n\nBefore any linking is done, you can compare these dotfiles with the ones\nin your userdir. It will show if the files are symlinked and shows if\nthe files/symlinks exists but differ with these repo.\n\nTo check status, use:\n\n``` shell\n./install.sh --status\n```\n\n### Default install - preserving existing configuration\n\nChange to the created directory and run install.sh from that directory:\n\n``` shell\ncd ~/git/dotfiles\n./install.sh             # shows help information\n./install.sh --confirm   # install files\n```\n\nBy default, the install script will not create symlinks for any\nfiles/directories that already exist.\n\n### Complete install\n\nIf you don\\'t care about any existing dotfiles and scripts (e.g.:\n\\~/bin/, \\~/.profile and \\~/.bashrc) you can install everything. This\nmakes sure there are no clashes with existing configurations and is\nrecommended. Optionally create a (temporary) new user account to check\nit out and test it. The following command **will** remove existing\ndotfiles:\n\n``` shell\ncd ~/git/dotfiles\n./install.sh --force\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabab%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabab%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabab%2Fdotfiles/lists"}