{"id":30763470,"url":"https://github.com/0lswitcher/bash-scripts","last_synced_at":"2026-05-15T22:37:56.290Z","repository":{"id":312981303,"uuid":"1049568241","full_name":"0lswitcher/bash-scripts","owner":"0lswitcher","description":"My personal collection of bash scripts I use on a regular basis.","archived":false,"fork":false,"pushed_at":"2025-09-13T19:52:25.000Z","size":1359,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-13T21:38:54.339Z","etag":null,"topics":["bash","bash-script","bash-scripting","bash-scripts","linux-shell","script","scripting","scripts","shell","shell-script","shell-scripting","shell-scripts","useful-bash-scripts"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0lswitcher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-03T07:07:49.000Z","updated_at":"2025-09-13T19:52:30.000Z","dependencies_parsed_at":"2025-09-03T08:15:22.947Z","dependency_job_id":"09d3dd78-8162-4dfc-8888-bbeb4c563c00","html_url":"https://github.com/0lswitcher/bash-scripts","commit_stats":null,"previous_names":["0lswitcher/bash-scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0lswitcher/bash-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0lswitcher%2Fbash-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0lswitcher%2Fbash-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0lswitcher%2Fbash-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0lswitcher%2Fbash-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0lswitcher","download_url":"https://codeload.github.com/0lswitcher/bash-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0lswitcher%2Fbash-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33082136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bash","bash-script","bash-scripting","bash-scripts","linux-shell","script","scripting","scripts","shell","shell-script","shell-scripting","shell-scripts","useful-bash-scripts"],"created_at":"2025-09-04T16:03:39.908Z","updated_at":"2026-05-15T22:37:56.278Z","avatar_url":"https://github.com/0lswitcher.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/0lswitcher/bash-scripts/blob/main/md-assets/bash.png\"\n   style=\"width: 25%; height: 25%\"\u003e\n\u003c/p\u003e\n\n[![Typing SVG](https://readme-typing-svg.demolab.com?font=Fira+Code\u0026size=100\u0026duration=2500\u0026pause=1000\u0026color=B277F7\u0026center=true\u0026vCenter=true\u0026width=1920\u0026height=100\u0026lines=0lswitcher's+Bash+Scripts)](https://git.io/typing-svg)\n\n\u003ch1\u003e\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  My personal collection of bash scripts I use on a regular basis.\u003cbr\u003e\n  \u003cbr\u003e\n  Kinda lazy sometimes so POSIX compliance is dependant on how much effort I felt like putting in that day.\u003cbr\u003e\n  \u003cbr\u003e\n  All code is licensed under the \u003ca href=\"LICENSE\"\u003eUnlicense License\u003c/a\u003e. (do whatever u want idc)\n\u003c/p\u003e\n\n---\n\n## Repository Structure\n```\nbash-scripts/\n├── md-assets/ \n├── scripts/\n|  ├── background-picker.sh \n|  ├── cya-downloads.sh\n|  ├── pywal-to-spicetify.sh \n|  ├── random-background.sh \n|  ├── swww-as-theme.sh \n|  ├── theme-picker.sh \n|  ├── workspace-previews-capture.sh \n|  └── workspace-previews-popup.sh\n├── themes/\n|  ├── base16-apathy.png \n|  ├── base16-apathy.sh\n|  ├── base16-ashes.png\n|  ├── base16-ashes.sh\n|  ├── base16-atalier-estuary.png\n|  ├── base16-atalier-estuary.sh\n|  ├── base16-codeschool.png\n|  ├── base16-codeschool.sh\n|  ├── base16-dracula.png\n|  ├── base16-dracula.sh\n|  ├── base16-greenscreen.png\n|  ├── base16-greenscreen.sh\n|  ├── base16-gruvbox-hard.png\n|  ├── base16-gruvbox-hard.sh\n|  ├── base16-gruvbox-medium.png\n|  ├── base16-gruvbox-medium.sh\n|  ├── base16-harmonic.png\n|  ├── base16-harmonic.sh\n|  ├── base16-icy.png\n|  ├── base16-icy.sh\n|  ├── base16-materia.png\n|  ├── base16-materia.sh\n|  ├── base16-material-palenight.png\n|  ├── base16-material-palenight.sh\n|  ├── base16-mellow-purple.png\n|  ├── base16-mellow-purple.sh\n|  ├── base16-mocha.png\n|  ├── base16-mocha.sh\n|  ├── base16-monokai.png\n|  ├── base16-monokai.sh\n|  ├── base16-nord.png\n|  ├── base16-nord.sh\n|  ├── base16-ocean.png\n|  ├── base16-ocean.sh\n|  ├── base16-rebecca.png\n|  ├── base16-rebecca.sh\n|  ├── dkeg-amiox.png\n|  └── dkeg-amiox.sh\n├── LICENSE \n└── README.md \n```\n\n---\n\n## Script's Overview\n\n| Script          | Description | Required Dependencies |\n|-----------------|-------------|------------|\n| [background-picker.sh](scripts/background-picker.sh) | Background / wallpaper picker | fzf, feh, swww |\n| [theme-picker.sh](scripts/theme-picker.sh) | Theme picker | fzf, feh, pywal, themes folder |\n| [cya-downloads.sh](scripts/cya-downloads.sh) | Say goodbye to dumb Downloads folders appearing in your $HOME dir | none |\n| [pywal-to-spicetify.sh](scripts/pywal-to-spicetify.sh) | Converts current Pywal theme to a Spicetify theme | pywal, spicetify, cat |\n| [random-background.sh](scripts/random-background.sh) | Random background / wallpaper picker | swww |\n| [swww-as-theme.sh](scripts/swww-as-theme.sh) | Converts current background / wallpaper into Pywal theme | current-swww-img (reference background-picker.sh, you can easily generate this yourself any way you desire) |\n| [workspace-previews-capture.sh](scripts/workspace-previews-capture.sh) | Mini workspace previews (capturer) | hyprland, hyprshot |\n| [workspace-previews-popup.sh](scripts/workspace-previews-popup.sh) | Mini workspace previews (display popups) | feh, cat, workspace-previews-capture.sh |\n\n---\n\n\u003e [!TIP]\n\u003e Read below for important information regarding each script.\n\n# Background Picker\nLine 80 appends a file with the current selected background. This can be used for a number of things, I personally used it in the swww-as-theme.sh script.\n\n# Theme Picker\n~~Similar to background-picker.sh, Line 66 appends a file with the current selected theme. This can be used for a number of things, feel free to experiment!.~~  \nRather than appending to a file with the selected theme, I updated it so that it runs pywal-to-spicetify.sh on line 65. \nFeel free to comment this line out and modify as you please.\n\n# Cya Downloads\nThis checks for both Capitalized (Downloads) and lowercase (downloads) folders hanging out in $HOME. Moves any files within to a desired location (with confirmation) before deleting the folders. Run manually, or schedule to run on a regular basis!\n\n# Pywal to Spicetify\nApplies changes and restarts Spicetify/Spotify by default on run. This script is the reason I still theme hop. It's just fun to watch everything change when used in tandem with my other theming scripts.\n\n# Random Background\nLast line of the script sends a notification relaying the selected wallpaper. If you don't have a notification daemon configured, feel free to comment this line out.\n\n# SWWW as theme\nThis script works great in tandem with pywal-to-spicetify.sh, simply run that script on line 7 and now you're killin two birds w one stone.\n\n# Workspace Previews (Capture \u0026 Popup)\nI missed the mini workspace preview feature of most XFCE based distros, so I made something that would work for Hyprland.  \nThese two scripts (workspace-previews-capture.sh \u0026 workspace-previews-popup.sh) depend on each other to work properly.\n\n\u003e [!WARNING]\n\u003e If you have multiple monitors, this script will likely fuck with your copy and paste abilities. Hyprshot simply needs some extra configuration to not copy the screenshot to the system clipboard. Hope this helps!\n\n---\n\n## License\nThis repository is licensed under the [Unlicense License](LICENSE). (do whatever u want idc)\n\n---\n\n## Contributing\n1. Fork the repo  \n2. Create a branch for your feature/fix  \n3. Submit a pull request  \n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003csub\u003eall built with ❤️  by 0lswitcher\u003c/sub\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0lswitcher%2Fbash-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0lswitcher%2Fbash-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0lswitcher%2Fbash-scripts/lists"}