diff --git a/dots/.config/quickshell/ii/modules/common/Config.qml b/dots/.config/quickshell/ii/modules/common/Config.qml index bece5f94e..ac8fa28fa 100644 --- a/dots/.config/quickshell/ii/modules/common/Config.qml +++ b/dots/.config/quickshell/ii/modules/common/Config.qml @@ -483,8 +483,8 @@ Singleton { property JsonObject workSafety: JsonObject { property JsonObject enable: JsonObject { - property bool wallpaper: true - property bool clipboard: true + property bool wallpaper: false + property bool clipboard: false } property JsonObject triggerCondition: JsonObject { property list networkNameKeywords: ["airport", "cafe", "college", "company", "eduroam", "free", "guest", "public", "school", "university"] diff --git a/dots/.config/quickshell/ii/modules/settings/GeneralConfig.qml b/dots/.config/quickshell/ii/modules/settings/GeneralConfig.qml index 0953b3d9e..c2ea1f930 100644 --- a/dots/.config/quickshell/ii/modules/settings/GeneralConfig.qml +++ b/dots/.config/quickshell/ii/modules/settings/GeneralConfig.qml @@ -328,4 +328,26 @@ ContentPage { } } } + + ContentSection { + icon: "work_alert" + title: Translation.tr("Work safety") + + ConfigSwitch { + buttonIcon: "assignment" + text: Translation.tr("Hide clipboard images copied from sussy sources") + checked: Config.options.workSafety.enable.clipboard + onCheckedChanged: { + Config.options.workSafety.enable.clipboard = checked; + } + } + ConfigSwitch { + buttonIcon: "wallpaper" + text: Translation.tr("Hide sussy/anime wallpapers") + checked: Config.options.workSafety.enable.wallpaper + onCheckedChanged: { + Config.options.workSafety.enable.wallpaper = checked; + } + } + } }