Added wifi menu for Rofi.

This commit is contained in:
James Patrick 2019-06-02 18:50:41 -04:00
parent d4db1095db
commit c39481cd70
2 changed files with 21 additions and 1 deletions

19
rofi/wifi Executable file
View File

@ -0,0 +1,19 @@
# Config for rofi-wifi-menu
# position values:
# 1 2 3
# 8 0 4
# 7 6 5
POSITION=3
#y-offset
YOFF=35
#x-offset
XOFF=-225
#fields to be displayed
FIELDS=SSID,SECURITY,BARS
#font
FONT="FiraCode 10"

View File

@ -76,7 +76,8 @@
// "interface": "wlp2s0", // (Optional) To force the use of this interface // "interface": "wlp2s0", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) ", "format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ", "format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-disconnected": "Disconnected ⚠" "format-disconnected": "Disconnected ⚠",
"on-click": "rofi-wifi-menu"
}, },
"pulseaudio": { "pulseaudio": {
//"scroll-step": 1, //"scroll-step": 1,