# Catin **Repository Path**: eglwang/catin ## Basic Information - **Project Name**: Catin - **Description**: Catin 是一个 Python 应用程序,它可以根据一天中的时间更改您的桌面壁纸,就像优雅的 MacOS 所做的那样。目前提供9种壁纸。 Catin is a Python application that changes your desktop wallpaper based on the time of day, just like what MacOS does. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-06-10 - **Last Updated**: 2024-09-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Catin Catin 是一个 Python 应用程序,它可以根据一天中的时间更改您的桌面壁纸,就像优雅的 MacOS 所做的那样。 ## 安装 要安装 Catin,请运行以下命令: ```sh ./install.sh ``` 安装后,Catin 将注册一个用户级别服务 服务位于/.config/system/user/catin.service和/.config/system/user/catin.timer,使用以下命令来启动/停止 Catin: ```sh # 启动Catin systemctl --user start catin.timer # 停止Catin systemctl --user stop catin.timer # 启用Catin,登陆启动 systemctl --user enable catin.timer # 禁用Catin systemctl --user disable catin.timer ``` ## 使用 要运行Catin,请使用以下命令: ```python python3 catin.py [theme] ``` 将\[theme\]替换为您想要使用的主题名称。可用的主题有: - big-sur-graphic - bigsur - catalina - monterey - the-beach - the-cliffs - the-desert - the-lake - ventura ## 卸载 要卸载Catin,请运行以下命令: ```sh ./install.sh -u ``` ## Configuration Catin使用配置文件(catin.config)来存储诸如主题、纬度、经度、时区和桌面环境等设置。您可以手动编辑此文件以更改这些设置。 ```ini longitude= # 数值,例如对于北京(39°54′24″N, 116°23′51″E)为39.9062,同理西经为负值 latitude= # 数值,例如对于北京(39°54′24″N,116°23′51″E)为116.3912,同理南半球为负值 utc_offset=8 # 您的时区,对于CST(中国标准时间)为8(东8区) desktop=gnome # 目前只支持'gnome'和'mate' theme=the-beach # 参考[使用]给出的列表 ```