rklyz / MyRice

:rice: Beras
GNU General Public License v3.0
276 stars 22 forks source link

How to get the wifi signals to work? #22

Open thepenguinthatwants opened 1 year ago

thepenguinthatwants commented 1 year ago

Hi, After googling around and finding https://www.reddit.com/r/unixporn/comments/uwn9mo/awesomewm_now_sleep_just_like_my_daughter/ this awesome post. I wanted to get wifi signal on my widget bar, but failed to achieve such.

I am trying to set wifi signal to my own widget bar. So the things I did was

https://github.com/rklyz/MyRice/blob/main/conf/awesome/signals/init.lua edited to only include wifi

and then copied https://github.com/rklyz/MyRice/blob/main/conf/awesome/signals/wifi.lua to signals folder

Added

require "signals" to my theme.lua like this

    s.mywibox:setup {
        layout = wibox.layout.align.horizontal,
        expand = "none",
        { -- Left widgets
            layout = wibox.layout.fixed.horizontal,
            s.mytaglist,
        },
        s.mytasklist, -- Middle widget
        { -- Right widgets
            layout = wibox.layout.fixed.horizontal,

            s.systray,
            volume_widget{ widget_type = 'icon' },
            mytextclock,

            wifi,

        },
    }

But I dont see anything related to my SSID on widger bar. Any clue what I might need to add or if I am approaching on wrong way

rklyz commented 1 year ago

well.. ig it would be better if you drop some of the code file. that would make me easier to notice any error than just blindly guess