simple privacy mode

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou committed 2022-01-15 16:57:07 +08:00
1 parent a1c4b08535
commit 25492c815c
8 files changed
+197 -90

No files matched your search

+3 -2
View File
@@ -600,12 +600,13 @@ pub fn lock_screen() {
});
}
pub fn toggle_privacy_mode(_v: bool) {
pub fn toggle_blank_screen(_v: bool) {
// https://unix.stackexchange.com/questions/17170/disable-keyboard-mouse-input-on-unix-under-x
}
pub fn block_input(_v: bool) {
pub fn block_input(_v: bool) -> bool {
//
true
}
pub fn is_installed() -> bool {