Giter Site home page Giter Site logo

abdulmoizhussain / bat Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 49 KB

Some Windows-batch-files and Linux-shell-files of regular use.

Batchfile 54.50% Shell 23.93% VBScript 21.57%
hotspot-wifi hotspot usb usb-event usb-arrival usb-removal create-apk assemble-release enable-wifi disable-wifi

bat's Introduction

.bat

Some Windows and Linux script files of regular use.

Will need to execute some files with Administrator.


  • LaptopBatteryNotifier.sh is for Linux OS.
  • LaptopBatteryNotifier.vbs is for Windows OS.

To run LaptopBatteryNotifier.sh at system-startup in background:

  • Search for Startup Applications Preferences
  • Click Add to create a new Additional startup program
  • Browse for the the Linux script file and select LaptopBatteryNotifier.sh
  • Now modify the command:
    • /home/username/LaptopBatteryNotifier.sh
    • to this:
    • bash /home/username/LaptopBatteryNotifier.sh
    • coz this script needs to be executed with bash.
  • Can name it like: Battery Notifier
  • Now the script will be automatically started in background upon next restart.
  • Optional:

  • If you want to modify reminding-interval, minimum-battery and maximum-battery, you can modify these variables sleep_time_in_seconds, low_battery__percent and full_battery_percent respectively.
  • You can also disable the notifications by commenting out the notify-send ... commands.

bat's People

Contributors

abdulmoizhussain 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.