1. Sorry, I don't use this option, therefore I can't help.
   2. Logging out (meaning you quit Awesome) is provided by this standard
   shortcut: Mod4 + Shift + q.
   3. You can check my configs
here<https://github.com/copycat-killer/awesome-copycats> or
   you can copy-paste this:

-- Volume widget
> volumewidget = wibox.widget.textbox()
> vicious.register(volumewidget, vicious.widgets.volume,
> function (widget, args)
>   if (args[2] ~= "♩" ) then
>      return "Vol " .. args[1]
>   else
>      return "Vol mute "
>   end
> end, 1, "Master")


Then, add it to your wibox of choice, default is:

right_layout:add(volumewidget)


If you want shortcuts, you can also add this to your key bindings section:

    -- Volume control
>     awful.key({ altkey }, "Up", function ()
>                                        awful.util.spawn("amixer set Master
> playback 1%+", false )
>                                        vicious.force({ volumewidget })
>                                    end),
>     awful.key({ altkey }, "Down", function ()
>                                        awful.util.spawn("amixer set Master
> playback 1%-", false )
>                                        vicious.force({ volumewidget })
>                                      end),
>     awful.key({ altkey }, "m", function ()
>                                        awful.util.spawn("amixer set Master
> playback toggle", false )
>                                        vicious.force({ volumewidget })
>                                      end),
>     awful.key({ altkey, "Control" }, "m",
>                                   function ()
>                                       awful.util.spawn("amixer set Master
> playback 100%", false )
>                                       vicious.force({ volumewidget })
>                                   end),


Just change the shortcuts according to your preferences.

You have to install Vicious widget library for this codes to work. It's the
standard way we define widgets.

Look further in the official wiki, it's plenty of widgets example.

2013/6/7 Vikas Rawal <[email protected]>

>
> I have a debian machine on which I recently shifted to awesome from
> xfce. I have following problems that I am unable to fix, and find that
> documentation on the wiki is not clear.
>
> 1. What is the recommended way to hibernate/suspend the computer?
> Is http://awesome.naquadah.org/wiki/ShutdownDialog the best we can
> get? This solution requires root/sudo privileges. Also, in my case, I
> am unable to restore the session after hibernating.
>
> 2. How to logout from the session? The above solution does not give an
> option for logging out.
>
> 3. A pavucontrol kind of widget to get to adjusting sound settings.
>
> Can anyone point me to appropriate solution for these?
>
> Vikas
>
>
>
>
> --
> To unsubscribe, send mail to [email protected].
>

Reply via email to