Giter Site home page Giter Site logo

dominicegginton / rofi-wifi-menu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zbaylin/rofi-wifi-menu

1.0 2.0 0.0 185 KB

A fork of zbaylin/rofi-wifi-menu patched for better Manual Input

Shell 100.00%
rofi rofi-scripts network wifi networkmanager

rofi-wifi-menu's Introduction

rofi-wifi-menu

A wifi menu for i3/openbox/etc. written in bash. Uses rofi and nmcli.

Table of Contents

Screenshots

Desktop

Desktop

Default

Default

Manual Entry

Manual Entry

Toggle On

Toggle On

Requirements

  • nmcli
  • iw
  • rofi ( I may end up expanding compatibility to dmenu )
  • bash ( but you probably already knew that )

Optional

  • lemonbar (or some other bar, i.e. tint2)
  • openbox/i3/etc.

Installation

  • make sure you have all the dependencies installed

  • run the following commands in your terminal. Replace uppercase variables with personal choice

cd DESIRED_DIRECTORY
git clone https://github.com/zbaylin/rofi-wifi-menu.git
cd rofi-wifi-menu
bash "./rofi-wifi-menu.sh"

Configuration

rofi-wifi-menu has an example configuration file in the repository. It will run without it, but will warn you if it does not exist.

To configure rofi-wifi-menu, first cd into the directory it is installed into. Then edit the file config.example. It should contain the following variables:

  • position
  • y-offset
  • x-offset
  • fields

position

position can be configured where the number represents the position on this screen in this way

Screen Left Right Center
Top 1 2 3
Center 8 0 4
Bottom 7 6 5

y-offset

y-offset is measured in pixels. A positive value moves the window downward, while a negative value moves it upward.

x-offset

x-offset is measured in pixels. A positive value move the window rightward, while a negative value moves it leftward.

fields

fields choose what is displayed by the menu. The available fields are as follows:

NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH

ToDo

✔️ Add ability to manually specify SSID

✔️ Add ability to configure the script externally

✔️ Use rofi highlighting

❌ Add more forms of security (PEAP, etc.)

❌ Remove duplicate APs

rofi-wifi-menu's People

Contributors

bricewge avatar dominicegginton avatar kevinoliveira avatar mateossh avatar zbaylin avatar

Stargazers

 avatar

Watchers

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