diff options
author | zachir <zachir@librem.one> | 2022-08-19 18:40:48 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2022-08-19 18:40:48 -0500 |
commit | dda2169a287224783c0faf9c6bc8b8e4ee5b87eb (patch) | |
tree | 72eede6032a8dc68c32b39c60c35716ca469a9b8 /rc.lua | |
parent | e400a15ac01ce0f690164b2e71d8d3cf34316a02 (diff) |
parse net from crc
Diffstat (limited to 'rc.lua')
-rw-r--r-- | rc.lua | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -271,6 +271,8 @@ awful.screen.connect_for_each_screen(function(s) -- Create the wibox s.mywibox = awful.wibar({ position = "top", screen = s, height = 24}) + net = crcparse("net") + if is_linux() then -- Add widgets to the wibox s.mywibox:setup { @@ -286,7 +288,7 @@ awful.screen.connect_for_each_screen(function(s) layout = wibox.layout.fixed.horizontal, mpd_widget, net_speed { - interface = "wlan0" + interface = net }, ram_widget(), cpu_widget(), |