Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Dynstatus tries to pinpoint your location based on your network configuration (WLAN, IP, ...) and enables you to run code to react to changes.

License

ekeih/dynstatus

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

dynstatus

Dynstatus tries to pinpoint your location based on your network configuration (WLAN, IP, ...) and enables you to run code to react to changes.

Setup

You have to copy example_config.py to $XDG_CONFIG_HOME/dynstatus/config.py. Usually this will mean ~/.config/dynstatus/config.py. Afterwards you should modify the configuration to your needs. Make sure that plugins_path is configured correctly. The configuration should be self-explaining.

Operation Modes

You can use dynstatus in three different ways

Just execute it

Dynstatus will detect your location and run your plugins once. You could use this mode in the hooks of your network management tool to react to changes in your network configuration.

user@linux$ dynstatus

Run it as a daemon

Dynstatus will fork to background and detect your location and run your plugins periodically. The interval is configured in the config.py of dynstatus.

user@linux$ dynstatus --daemon

Get current status information

Dynstatus can give you status information without running the plugins. You can ask for every location setting of your config.py.

user@linux$ dynstatus --get ssid

About

Dynstatus tries to pinpoint your location based on your network configuration (WLAN, IP, ...) and enables you to run code to react to changes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages