Giter VIP home page Giter VIP logo

dynamiclock's Introduction

模拟Windwos11的自动锁定脚本

当Linux连接的指定蓝牙设备断开时,自动锁定屏幕.本人用不惯其他桌面,所以只测试KDE. XFCE\GNOME\MATE\LXDE\CINNAMON\RICE等桌面,理论上可以支持.

  1. 确保系统已经开启了蓝牙功能
  2. 确保系统KDE登录之后能够自动连接设备
  3. 确保设备之前已经完成了配对,并加入了信任列表
  4. 使用bluetoothctl命令查看设备的NAME和MAC地址
  5. 修改dynamiclock.sh中的name和device,信息通过第4步获取

安装

make install

卸载

make uninstall

dynamiclock's People

Contributors

telbds avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.