忘记、过去
deepin
2020-08-07 21:27 本帖最后由 zty199 于 2020-8-7 13:41 编辑
只知道可以在 ~/.config/kwinrc 里看到当前窗口主题样式,可以尝试读取一下这行,但可能需要一个进程专门读取刷新信息?Copy the Code这样可以读出 light 或者 dark ,但是不晓得有没有用......


只知道可以在 ~/.config/kwinrc 里看到当前窗口主题样式,可以尝试读取一下这行,但可能需要一个进程专门读取刷新信息?
- cat ~/.config/kwinrc | grep theme | cut -d "=" -f 2 | cut -d "/" -f 1


Reply Like 0 View the author


中文 
