Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argon theme refactor #409

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Argon theme refactor #409

wants to merge 5 commits into from

Conversation

MkQtS
Copy link
Contributor

@MkQtS MkQtS commented Mar 21, 2024

  • luci-theme-argon 添加 config,无需安装 luci-app-argon-config 即可配置
  • luci-theme-argon 添加支持 wallpaper URL,可设置为图片链接或某些重定向到图片的 API 链接,登录页加载更快
  • online_wallpaper 移入 luci-app-argon-config,theme 不再依赖 wget/curl,安装 luci-app-argon-config 后可使用 online_wallpaper,即 bing, konachan, wallhaven 壁纸
  • 修改 luci-theme-argon 登录页背景逻辑,config 添加 bg_mode,可选 'local_media', 'online_wallpaper', 'wallpaper_url',三种模式都 fallback 到代码仓库中的 bg1.jpg

@1715173329
Copy link
Member

wget(实为 uclient-fetch)和 jsonfilter 是 openwrt 系统内置基础命令,无论用或者不用都在那儿。

@MkQtS
Copy link
Contributor Author

MkQtS commented Mar 21, 2024

毕竟这只是个主题,有时候装这个主题只是想让界面更美观,不需要在线更新壁纸。要设置这个 online_wallpaper 本来就要装 app,移过去也没什么影响。

@1715173329
Copy link
Member

NAK for now.

So the theme will not depends on wget/curl.
support to set certain wallpaper URL;
Add bg_mode in config, available options:
'local_media', 'online_wallpaper', 'wallpaper_url'
update depends
set referrer policy
compress icon
clean up spaces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants