{"id":21013898,"url":"https://github.com/kat0h/vim-auto-color-switcher","last_synced_at":"2025-05-15T04:34:40.857Z","repository":{"id":45468343,"uuid":"318709075","full_name":"kat0h/vim-auto-color-switcher","owner":"kat0h","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-14T12:36:24.000Z","size":47,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T04:04:35.169Z","etag":null,"topics":["mac","vim"],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kat0h.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}},"created_at":"2020-12-05T05:23:33.000Z","updated_at":"2022-08-27T10:14:55.000Z","dependencies_parsed_at":"2022-07-14T17:17:45.303Z","dependency_job_id":null,"html_url":"https://github.com/kat0h/vim-auto-color-switcher","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kat0h%2Fvim-auto-color-switcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kat0h%2Fvim-auto-color-switcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kat0h%2Fvim-auto-color-switcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kat0h%2Fvim-auto-color-switcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kat0h","download_url":"https://codeload.github.com/kat0h/vim-auto-color-switcher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254274696,"owners_count":22043568,"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":["mac","vim"],"created_at":"2024-11-19T09:44:28.736Z","updated_at":"2025-05-15T04:34:40.528Z","avatar_url":"https://github.com/kat0h.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auto Dark Mode Switcher\nChange the color scheme automatically according to the OS appearance mode\n\n![capture](https://github.com/kato-k/assets/blob/master/capture.gif?raw=true)\n\n# Installation\nInstall plugin with your favorite plugin manager.\n\nIf you are using dein.vim you can apply the following settings:\n```\n[[plugins]]\nrepo = 'kat0h/vim-auto-color-switcher'\nhook_post_update = '''\nlet g:dein#plugin.build = 'make'\n'''\n```\n\nYou can compile Swift file with `swiftc`  \n`$ swiftc auto_color_switcher.swift`\nAnd add your vimrc following setting.  \n`let g:auto_color_switcher#binary_path=expand('Binary file path')`  \n\nBy default, this plugin switch between `bg=light` and `bg=dark` \nif you want to overwrite this behavior, you can use this option. \n```\nlet g:auto_color_switcher#command={\n    \\ 'light': 'colorscheme xcodelight',\n    \\ 'dark' : 'colorscheme xcodedark'\n    \\}\n```\n\nApply the following settings to stop the operation\n```\nif !has('mac')\n    let g:auto_color_switcher#desable = v:true\nendif\n```\n\n# Information\nNot compatible with linux such as Ubuntu  \nUbuntu's Dark Mode is managed as one of GNOME's Themes and is difficult to handle.  \n\nAlso, the plugin contains C# file.  \nThe same operation as the Swift file is performed on Windows, but the operation has not been confirmed.  \n\nExplanation in Japanese [Zenn](https://zenn.dev/kato_k/articles/3f1abb1f83419e)\n\n# LICENSE\nMIT\n\n# Author\nKotaKato\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkat0h%2Fvim-auto-color-switcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkat0h%2Fvim-auto-color-switcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkat0h%2Fvim-auto-color-switcher/lists"}