Skip to content

vsreddyh/warner-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

warner-bash

A bash script that monitors resources usage, temperature, battery and sends a system notification when specified thresholds are crossed.

Table of contents

Prerequisites

(Back to top)

  • Linux System
  • libnotify
  • libsensors

Installation

(Back to top)

  1. Clone the repository
    git clone https://github.com/vsreddyh/warner-bash
  2. Change Directory and run
    cd warner-bash
    chmod u+x warner.sh
    warner.sh
  3. To assign the keyword warner to warner.sh. Run this command
    sudo cp ./warner.sh /usr/local/bin/warner
  4. To add it to autostart on i3 paste this in .config/i3/config
    exec --no-startup-id warner start &

Usage

(Back to top)

Starting Up

image

image

Flags

  • -maxTemp : Changes maximum temperature threshold

  • -maxCpu : Changes maximum CPU usage threshold

  • -maxRam : Changes maximum RAM usage threshold

  • -maxBat : Changes maximum battery threshold

  • -miBat : Changes minimum battery threshold

  • -show : shows current config

    image

    image

Combination of flags

  • Multiple flags is also supported image

Contributing

(Back to top)

Your contributions are always welcome! Please have a look at the contribution guidelines first. 🎉

License

(Back to top)

The MIT License (MIT) 2025 - VsreddyH. Please have a look at the LICENSE.md for more details.

About

A bash script that monitors resources usage, temperature, battery and sends a system notification when specified thresholds are crossed.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages