{"id":22307242,"url":"https://github.com/h1dd3n3y3/dynamicvscodetheme","last_synced_at":"2025-03-26T01:21:13.134Z","repository":{"id":263275862,"uuid":"889870228","full_name":"h1dd3n3y3/DynamicVSCodeTheme","owner":"h1dd3n3y3","description":"A usefull PowerShell script to toggle between light and dark theme presets.","archived":false,"fork":false,"pushed_at":"2025-01-23T11:26:49.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T22:23:44.414Z","etag":null,"topics":["automation","dark-mode-toggle","powershell","vs-code"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/h1dd3n3y3.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}},"created_at":"2024-11-17T13:06:43.000Z","updated_at":"2025-01-23T11:26:52.000Z","dependencies_parsed_at":"2024-11-17T14:31:21.275Z","dependency_job_id":"059d2e66-fe27-4bdd-882f-2f33e583f5aa","html_url":"https://github.com/h1dd3n3y3/DynamicVSCodeTheme","commit_stats":null,"previous_names":["h1dd3n3y3/dynamicvscodetheme"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h1dd3n3y3%2FDynamicVSCodeTheme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h1dd3n3y3%2FDynamicVSCodeTheme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h1dd3n3y3%2FDynamicVSCodeTheme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h1dd3n3y3%2FDynamicVSCodeTheme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h1dd3n3y3","download_url":"https://codeload.github.com/h1dd3n3y3/DynamicVSCodeTheme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245568929,"owners_count":20636865,"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":["automation","dark-mode-toggle","powershell","vs-code"],"created_at":"2024-12-03T20:09:08.717Z","updated_at":"2025-03-26T01:21:13.087Z","avatar_url":"https://github.com/h1dd3n3y3.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dynamic VS Code Theme\n\nA PowerShell script to switch between preferred light and dark themes in Visual Studio Code based on the time of execution.  \nPair that with Windows Task Scheduler and let the automation begin! 💯💪✈️\n\n## Features\n\n- Detects and updates the current theme in your VS Code settings.  \n- Works seamlessly with your existing VS Code setup.  \n- Customizable time thresholds for light and dark themes.\n\n## Defaults\n\nBy default the script utilizes the below hour toggles:\n\n- **Light theme:** 07:00.\n- **Dark theme:** 17:00.\n\n## Requirements\n\nTo use this script, ensure you have the following:\n\n1. **Visual Studio Code**: Installed on your system.  \n2. **PowerShell Environment**: Either PowerShell 5.1 or 7.  \n3. **Access to VS Code's settings.json**: Located under `%APPDATA%\\Code\\User\\settings.json`.\n4. **Preferred light \u0026 dark theme properties in settings.json:**\n      - `\"workbench.preferredLightColorTheme\"`\n      - `\"workbench.preferredDarkColorTheme\"`\n5. **Check Settings JSON doesn't end with any commas.**  \n      - **It should \u003cins\u003eNOT\u003c/ins\u003e be like:**\n        ```\n            {\n               \"this\": \"that\",\n               \"some\": \"more\",\n            }\n      - **It \u003cins\u003eshould\u003c/ins\u003e be like:**\n        ```\n            {\n               \"this\": \"that\",\n               \"some\": \"more\"\n            }\n\n## Usage\n\n1. **Setup**: Save the script to a location on your system.\n2. **Run**: Execute the script in PowerShell:  \n   ```\n   powershell -Exec Bypass .\\set_vs_code_theme.ps1 \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh1dd3n3y3%2Fdynamicvscodetheme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh1dd3n3y3%2Fdynamicvscodetheme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh1dd3n3y3%2Fdynamicvscodetheme/lists"}