forked from Shinonome/dots-hyprland
work safety: disabled by default, add toggle to settings app
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user