drop.nvim icon indicating copy to clipboard operation
drop.nvim copied to clipboard

New themes and automatic holiday theme switcher!

Open chevcast opened this issue 2 years ago โ€ข 4 comments

New Default Themes!

  1. april_fools - ๐Ÿคก, ๐ŸŽญ, ๐Ÿƒ, ๐ŸŽ‰, ๐Ÿ˜‚, ๐Ÿ™ƒ, ๐ŸŽˆ, ๐ŸŽ, ๐Ÿคฃ, ๐Ÿ˜œ
  2. arcade - ๐ŸŽฎ ๐Ÿ•น๏ธ ๐Ÿ‘พ ๐Ÿ’พ โš”๏ธ ๐Ÿ›ก๏ธ ๐Ÿฐ
  3. art - ๐ŸŽจ ๐Ÿ–ผ๏ธ ๐Ÿ–Œ๏ธ ๐ŸŽญ ๐ŸŽถ ๐Ÿ“š ๐Ÿ–‹๏ธ
  4. bakery - ๐Ÿž ๐Ÿฅ– ๐Ÿฅ ๐Ÿฉ ๐Ÿฐ ๐Ÿง ๐Ÿช
  5. beach - ๐ŸŒด ๐Ÿ–๏ธ ๐Ÿน ๐ŸŒ… ๐Ÿ„ ๐Ÿš ๐ŸŒž
  6. binary - 0, 1
  7. bugs - ๐Ÿž, ๐Ÿœ, ๐Ÿชฒ, ๐Ÿฆ—, ๐Ÿ•ท๏ธ, ๐Ÿ•ธ๏ธ, ๐Ÿ›
  8. business - ๐Ÿ’ผ, ๐Ÿ–Š๏ธ, ๐Ÿ“ˆ, ๐Ÿ“‰, ๐Ÿ’น, ๐Ÿ’ฒ, ๐Ÿข
  9. candy - ๐Ÿฌ ๐Ÿญ ๐Ÿซ ๐Ÿฉ ๐Ÿฐ ๐Ÿง ๐Ÿช
  10. cards - โ™ ๏ธ, โ™ฅ๏ธ, โ™ฆ๏ธ, โ™ฃ๏ธ, ๐Ÿƒ
  11. carnival - ๐ŸŽช ๐ŸŽญ ๐Ÿฟ ๐ŸŽ  ๐ŸŽก ๐ŸŽˆ ๐Ÿคน
  12. casino - ๐ŸŽฐ โ™ ๏ธ โ™ฆ๏ธ โ™ฃ๏ธ โ™ฅ๏ธ ๐ŸŽฒ ๐Ÿƒ
  13. cats - ๐Ÿฑ, ๐Ÿฆ, ๐Ÿฏ, ๐Ÿˆ, ๐Ÿ…, ๐Ÿ†
  14. coffee - โ˜• ๐Ÿฅ ๐Ÿฐ ๐Ÿช ๐Ÿฉ ๐Ÿฅ› ๐Ÿซ
  15. cyberpunk - ๐ŸŒƒ ๐Ÿ’ฟ ๐Ÿ•ถ๏ธ โš™๏ธ ๐Ÿ–ฅ๏ธ ๐ŸŽฎ ๐Ÿ”Œ
  16. deepsea - ๐Ÿ  ๐Ÿ™ ๐Ÿฆˆ ๐ŸŒŠ ๐Ÿฆ‘ ๐Ÿก ๐ŸŸ
  17. desert - ๐ŸŒต ๐Ÿช ๐Ÿœ๏ธ ๐ŸŒž ๐Ÿฆ‚ ๐Ÿชจ ๐Ÿ’ง
  18. dice - โš€, โš, โš‚, โšƒ, โš„, โš…
  19. diner - ๐Ÿ” ๐ŸŸ ๐Ÿฅค ๐Ÿณ ๐Ÿฅž ๐Ÿฅ“ ๐Ÿฆ
  20. easter - ๐Ÿฃ ๐Ÿฅ ๐Ÿค ๐Ÿฅš ๐ŸŒธ ๐Ÿซ ๐Ÿ‡ ๐ŸŒท ๐ŸŒผ ๐Ÿƒ ๐Ÿฆ‹ ๐Ÿฌ ๐ŸŒˆ ๐ŸŽ€ ๐Ÿ’’
  21. emotional - ๐Ÿ˜€, ๐Ÿ˜ƒ, ๐Ÿ˜„, ๐Ÿ˜, ๐Ÿ˜†, ๐Ÿ˜…, ๐Ÿ˜‚, ๐Ÿคฃ, ๐Ÿ˜Š, ๐Ÿ˜‡, ๐Ÿ™‚, ๐Ÿ™ƒ, ๐Ÿ˜‰, ๐Ÿ˜Œ, ๐Ÿ˜, ๐Ÿ˜˜, ๐Ÿ˜—, ๐Ÿ˜™, ๐Ÿ˜š, ๐Ÿ˜‹, ๐Ÿ˜›, ๐Ÿ˜, ๐Ÿ˜œ, ๐Ÿคช, ๐Ÿคจ, ๐Ÿง, ๐Ÿค“, ๐Ÿ˜Ž, ๐Ÿคฉ, ๐Ÿ˜, ๐Ÿ˜’, ๐Ÿ˜ž, ๐Ÿ˜”, ๐Ÿ˜Ÿ, ๐Ÿ˜•, ๐Ÿ™, โ˜น๏ธ, ๐Ÿ˜ฃ, ๐Ÿ˜–, ๐Ÿ˜ซ, ๐Ÿ˜ฉ, ๐Ÿฅบ, ๐Ÿ˜ข, ๐Ÿ˜ญ, ๐Ÿ˜ค, ๐Ÿ˜ , ๐Ÿ˜ก, ๐Ÿคฌ, ๐Ÿคฏ, ๐Ÿ˜ณ, ๐Ÿฅต, ๐Ÿฅถ, ๐Ÿ˜ฑ, ๐Ÿ˜จ, ๐Ÿ˜ฐ, ๐Ÿ˜ฅ, ๐Ÿ˜“, ๐Ÿ˜ถ, ๐Ÿ˜, ๐Ÿ˜‘, ๐Ÿ˜ฌ, ๐Ÿ˜ฏ, ๐Ÿ˜ฆ, ๐Ÿ˜ง, ๐Ÿ˜ฎ, ๐Ÿ˜ฒ, ๐Ÿฅฑ, ๐Ÿ˜ด, ๐Ÿคค, ๐Ÿ˜ช, ๐Ÿ˜ต, ๐Ÿค, ๐Ÿฅด, ๐Ÿคข, ๐Ÿคฎ, ๐Ÿค•, ๐Ÿค’, ๐Ÿ˜ท, ๐Ÿฅฐ, ๐Ÿ˜ธ, ๐Ÿ˜บ, ๐Ÿ˜ป, ๐Ÿ˜ผ, ๐Ÿ˜ฝ, ๐Ÿ™€, ๐Ÿ˜ฟ, ๐Ÿ˜น
  22. explorer - ๐ŸŒ ๐ŸŒ ๐Ÿ—บ๏ธ ๐Ÿ” โ›บ ๐ŸŒ„ ๐Ÿงญ
  23. fantasy - ๐Ÿ‰ ๐Ÿฐ ๐Ÿช„ ๐Ÿง™ ๐Ÿ›ก๏ธ ๐Ÿ—ก๏ธ ๐ŸŒŒ ๐Ÿ‘‘
  24. farm - ๐Ÿ„ ๐Ÿ– ๐Ÿ“ ๐ŸŒพ ๐ŸŽ ๐Ÿ ๐Ÿšœ
  25. garden - ๐ŸŒฑ, ๐ŸŒธ, ๐ŸŒป, ๐ŸŒฟ, ๐Ÿ‚, ๐Ÿƒ, ๐ŸŒพ
  26. halloween - ๐ŸŽƒ, ๐Ÿ‘ป, ๐Ÿฆ‡, ๐Ÿ•ท๏ธ, ๐Ÿ•ธ๏ธ, ๐Ÿฆ‰, ๐Ÿ”ฎ, ๐Ÿ’€, ๐Ÿ‘ฝ, ๐ŸŒ™, ๐Ÿฌ, ๐Ÿญ, ๐Ÿ–ค, ๐Ÿ”ช, ๐Ÿง›, ๐Ÿชฆ, ๐Ÿ˜ฑ, ๐Ÿ™€, ๐ŸŒ•, โšฐ๏ธ
  27. jungle - ๐Ÿฆœ ๐Ÿฆ ๐ŸŒด ๐Ÿ… ๐Ÿ ๐ŸŒบ ๐ŸฆŽ
  28. leaves - ๐Ÿ‚ ๐Ÿ ๐Ÿ€ ๐ŸŒฟ ๏ฌ ๏ฌ ๏ฌ
  29. lunar - ๐ŸŒ‘, ๐ŸŒ’, ๐ŸŒ“, ๐ŸŒ”, ๐ŸŒ•, ๐ŸŒ–, ๐ŸŒ—, ๐ŸŒ˜
  30. magical - ๐Ÿ”ฎ ๐ŸŒŸ ๐Ÿงน ๐ŸŽฉ ๐Ÿ‡ ๐Ÿช„ ๐Ÿ’ซ
  31. mathematical - โž•, โž–, โœ–๏ธ, โž—, โ‰ , โ‰ˆ, โˆž
  32. matrix - 0 1 โŒ˜ โˆ‘ โˆ† ฮ› ฯˆ โŠ• โŠ– โˆด โ‰ก ฮฉ ยต โˆ‚ ฮฆ ฮฝ
  33. medieval - ๐Ÿฐ ๐Ÿ›ก๏ธ โš”๏ธ ๐ŸŽ  ๐Ÿ‘‘ ๐Ÿน ๐Ÿบ
  34. musical - ๐ŸŽต ๐ŸŽถ ๐ŸŽค ๐ŸŽท ๐ŸŽธ ๐ŸŽบ ๐ŸŽป
  35. mystery - ๐Ÿ•ต๏ธ, ๐Ÿ”Ž, ๐Ÿ”’, ๐Ÿ”‘, ๐Ÿ“œ, ๐Ÿ–‹๏ธ, ๐Ÿ—๏ธ
  36. mystical - ๐Ÿ”ฎ ๐ŸŒ• ๐ŸŒŸ ๐Ÿ“œ โœจ ๐Ÿ”ฅ ๐Ÿ’ซ
  37. new_year - ๐ŸŽ† ๐ŸŽ‰ ๐Ÿพ ๐Ÿฅ‚ โฐ ๐Ÿ•› ๐ŸŽˆ ๐ŸŒŸ โœจ ๐ŸŽŠ ๐Ÿฅณ ๐Ÿ’ซ ๐Ÿ“… 2๏ธโƒฃ 0๏ธโƒฃ 2๏ธโƒฃ 4๏ธโƒฃ
  38. nocturnal - ๐Ÿฆ‰ ๐ŸŒ™ ๐Ÿฆ‡ ๐ŸŒŒ ๐ŸŒ  ๐Ÿ”ญ ๐ŸŒš
  39. ocean - ๐ŸŒŠ ๐Ÿ  ๐ŸŸ ๐Ÿก ๐Ÿฌ ๐Ÿณ ๐Ÿฆˆ ๐Ÿš โ›ต
  40. pirate - โ˜ ๏ธ โš“ ๐Ÿดโ€โ˜ ๏ธ ๐Ÿ—บ๏ธ ๐Ÿฆœ โš”๏ธ ๐Ÿ’ฐ
  41. retro - ๐Ÿ“ป ๐Ÿ“บ ๐ŸŽž๏ธ ๐Ÿ“ผ ๐ŸŽ™๏ธ ๐Ÿ•ฐ๏ธ โ˜Ž๏ธ
  42. snow - โ„๏ธ ๏‹œ โ… โ‡ * .
  43. spa - ๐Ÿ•ฏ๏ธ ๐Ÿ› ๐ŸŒธ ๐Ÿ’† ๐Ÿต ๐Ÿง˜ ๐Ÿ’…
  44. space - ๐Ÿช ๐ŸŒŒ โญ ๐ŸŒ™ ๐Ÿš€ ๐Ÿ›ฐ๏ธ โ˜„๏ธ ๐ŸŒ  ๐Ÿ‘ฉโ€๐Ÿš€
  45. sports - โšฝ ๐Ÿ€ ๐Ÿˆ โšพ ๐ŸŽพ ๐Ÿ“ ๐Ÿ’
  46. spring - ๐Ÿ‘ ๐Ÿ‡ ๐Ÿฆ” ๐Ÿฃ ๐Ÿฆข ๐Ÿ ๐ŸŒป ๐ŸŒผ ๐ŸŒท ๐ŸŒฑ ๐ŸŒณ ๐ŸŒพ ๐Ÿ€ ๐Ÿƒ ๐ŸŒˆ
  47. stars - โ˜… โญ โœฎ โœฆ โœฌ โœฏ ๐ŸŒŸ
  48. steampunk - โš™๏ธ ๐Ÿ•ฐ๏ธ ๐ŸŽฉ ๐Ÿš‚ ๐Ÿงญ ๐Ÿ”ญ ๐Ÿ—๏ธ
  49. st_patricks_day - ๐Ÿ€ ๐ŸŒˆ ๐Ÿ’š ๐Ÿ‡ฎ๐Ÿ‡ช ๐ŸŽฉ ๐Ÿฅ” ๐Ÿบ ๐Ÿป ๐Ÿฅƒ ๐Ÿ– ๐Ÿ’ฐ ๐ŸŒŸ ๐Ÿต ๐Ÿ ๐Ÿช„
  50. summer - ๐Ÿ˜Ž ๐Ÿ„ ๐ŸŠ ๐ŸŒป ๐ŸŒด ๐Ÿน ๐Ÿ๏ธ โ˜€๏ธ ๐ŸŒž ๐Ÿ•ถ๏ธ ๐Ÿ‘• โ›ต ๐Ÿฅฅ ๐ŸŒŠ
  51. temporal - ๐Ÿ•, ๐Ÿ•‘, ๐Ÿ•’, ๐Ÿ•“, ๐Ÿ•”, ๐Ÿ••, ๐Ÿ•–, ๐Ÿ•—, ๐Ÿ•˜, ๐Ÿ•™, ๐Ÿ•š, ๐Ÿ•›
  52. thanksgiving - ๐Ÿฆƒ ๐Ÿ‚ ๐Ÿ ๐ŸŒฝ ๐Ÿฅง ๐Ÿ  ๐ŸŽ ๐Ÿ– ๐Ÿ— ๐Ÿฅ– ๐Ÿฅ” ๐Ÿ‡ ๐Ÿท ๐ŸŒฐ ๐Ÿฅ•
  53. travel - โœˆ๏ธ, ๐ŸŒ, ๐Ÿ—บ๏ธ, ๐Ÿจ, ๐Ÿงณ, ๐Ÿ—ฝ, ๐Ÿš‚
  54. tropical - ๐ŸŒด ๐Ÿ ๐Ÿ‰ ๐Ÿฅฅ ๐ŸŒบ ๐Ÿข ๐ŸŒŠ
  55. urban - ๐Ÿข ๐Ÿš• ๐Ÿš‡ ๐Ÿ• ๐Ÿšฆ ๐Ÿ›ด ๐ŸŽง
  56. us_independence_day - ๐Ÿ‡บ๐Ÿ‡ธ ๐ŸŽ† ๐Ÿ—ฝ ๐Ÿฆ… ๐ŸŒญ ๐Ÿ” โญ ๐ŸŽ‰ ๐Ÿฅณ ๐Ÿป ๐Ÿฅ ๐ŸŽต ๐ŸŽถ ๐Ÿš€ ๐Ÿ’ฅv
  57. valentines_day - โค๏ธ ๐Ÿ’– ๐Ÿ’˜ ๐Ÿ’ ๐Ÿ’• ๐Ÿ’“ ๐Ÿ’ž ๐Ÿ’Ÿ ๐Ÿ’Œ ๐ŸŒน ๐Ÿซ ๐Ÿ’ ๐Ÿ’ ๐Ÿท ๐Ÿ•ฏ๏ธ
  58. wilderness - ๐ŸŒฒ ๐Ÿบ ๐ŸฆŒ ๐Ÿž๏ธ ๐Ÿ”ฅ โ›บ ๐ŸŒŒ
  59. wildwest - ๐Ÿค  ๐ŸŽ ๐ŸŒต ๐Ÿ”ซ โ›๏ธ ๐ŸŒ„ ๐Ÿš‚
  60. winter_wonderland - โ„๏ธ โ›„ ๐ŸŒจ๏ธ ๐ŸŽฟ ๐Ÿ›ท ๐Ÿ”๏ธ ๐Ÿงฃ
  61. xmas - ๐ŸŽ„ ๐ŸŽ ๐Ÿคถ ๐ŸŽ… ๐Ÿ›ท โ„ โ›„ ๐ŸŒŸ ๐ŸฆŒ ๐ŸŽถ โ„๏ธ ๏‹œ โ… โ‡ *
  62. zodiac - โ™ˆ, โ™‰, โ™Š, โ™‹, โ™Œ, โ™, โ™Ž, โ™, โ™, โ™‘, โ™’, โ™“
  63. zoo - ๐Ÿฆ ๐Ÿ˜ ๐Ÿฆ“ ๐Ÿฆ’ ๐Ÿฆ… ๐Ÿฆ‰ ๐Ÿ†

Automatic Holiday Themes!

  holidays = { -- can be nil or {} to disable automatic holidays.
    new_year = { month = 1, day = 1 },
    valentines_day = { month = 2, day = 14 },
    st_patricks_day = { month = 3, day = 17 },
    easter = M.calculate_easter(year), -- holiday date helper functions
    april_fools = { month = 4, day = 1 },
    us_independence_day = nil, -- can be nil to disable default holiday
    halloween = { month = 10, day = 31 },
    us_thanksgiving = M.calculate_us_thanksgiving(year),
    xmas = { start_date = { month = 12, day = 24 }, end_date = { month = 12, day = 25 } },
  }

chevcast avatar Nov 28 '23 19:11 chevcast

Argl! I am so stupid. I should have checked the PRs first. This is so much better than the PR, I submitted today!

Dronakurl avatar Dec 12 '23 19:12 Dronakurl

Argl! I am so stupid. I should have checked the PRs first. This is so much better than the PR, I submitted today!

Oh no! I'm sorry lol. You can use my version already by just changing "folke/drop.nvim" to "catdadcode/drop.nvim". Let me know if you encounter any issues. It's been stable for my needs for the last couple months or so, but it would be nice to have others try it out :)

Hopefully it gets merged but I imagine this plugin is not a high priority lol.

chevcast avatar Dec 12 '23 23:12 chevcast

Oh and also here's my personal config for it which expands the date ranges for Halloween, Thanksgiving, and Christmas since I like them active fore more of their respective months ๐Ÿ˜„

There's also some custom logic in there for swapping my theme based on my current project path. So when I'm in a work project it actually uses a custom solar power theme (I work for a solar power company) instead of my usual default theme. And the default themes get overridden by the holiday scheduler ๐Ÿ™‚

https://github.com/catdadcode/.dotfiles/blob/main/nvim/lua/plugins/drop.lua

chevcast avatar Dec 12 '23 23:12 chevcast

@folke Any chance this can be merged?

NeckBeardPrince avatar Jan 30 '24 19:01 NeckBeardPrince

This PR is stale because it has been open 60 days with no activity.

github-actions[bot] avatar Jul 06 '24 01:07 github-actions[bot]

๐Ÿ˜ข

chevcast avatar Jul 06 '24 01:07 chevcast

@folke can we merge this?

NeckBeardPrince avatar Jul 06 '24 02:07 NeckBeardPrince

I've refactored the code and also added default themes based on the seasons.

folke avatar Jul 06 '24 08:07 folke

ty!

folke avatar Jul 06 '24 08:07 folke

Yay! Thank you ๐Ÿ™. I know this plugin is probably like the lowest priority. Love your work!

chevcast avatar Jul 06 '24 20:07 chevcast