unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* awesome window manager configuration
@ 2019-01-04 12:22 Joshua Branson
  2019-01-04 22:44 ` Carlo Zancanaro
  0 siblings, 1 reply; 2+ messages in thread
From: Joshua Branson @ 2019-01-04 12:22 UTC (permalink / raw)
  To: guix-devel


Hello!

I recently started using the awesome window manager, and I'm curious if
I can help edit the manual a bit.  The current manual does not mention
that to configure the awesome window manager, one must copy the
configuration from
/gnu/store/xmmqxby6bm...-awesome-4.2/etc/xdg/awesome/rc.lua
to "~/.config/awesome/".

My question is for now, can I add that information to the manual?

My second question is what is the long term plan for integrating window
managers with guixSD?  Should be turn all window manager packages into
services?  ie:

#+BEGIN_SRC scheme
(service
  (cons
    (service awesome-service-type
      (awesome-config
        (config-file "/etc/rc.lua")))
    %base-services))
#+END_SRC

Or users could try to use a service to configure awesome...

#+BEGIN_SRC scheme
(service
  (cons
    (service awesome-service-type
      (awesome-config
        (bind-keys
           '(('eject . "eject")
             ('volume-raise . "command to raise volume")
             ('volume-lower . "command to lower volume")
             ))
         (default-layouts
            '("awful.layout.suit.max"
              "awful.layout.suit.tile.left"
              "awful.layout.suit.tile.top"))))
    %base-services))
#+END_SRC


What do you all think?

--
Joshua Branson
Sent from Emacs and Gnus

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: awesome window manager configuration
  2019-01-04 12:22 awesome window manager configuration Joshua Branson
@ 2019-01-04 22:44 ` Carlo Zancanaro
  0 siblings, 0 replies; 2+ messages in thread
From: Carlo Zancanaro @ 2019-01-04 22:44 UTC (permalink / raw)
  To: Joshua Branson; +Cc: guix-devel

Hi Joshua!

On Fri, Jan 04 2019, Joshua Branson wrote:
> I recently started using the awesome window manager, and I'm 
> curious if I can help edit the manual a bit.  The current manual 
> does not mention that to configure the awesome window manager, 
> one must copy the configuration from 
> /gnu/store/xmmqxby6bm...-awesome-4.2/etc/xdg/awesome/rc.lua to 
> "~/.config/awesome/".
>
> My question is for now, can I add that information to the 
> manual?

It would be great if you could add that to the manual! The usual 
advice for awesome is to copy it from /etc/xdg/awesome/rc.lua, so 
it's worth documenting that it's different on Guix. It might be 
worth saying to copy it from the relevant profile, rather than the 
specific store directory. The profile would usually be either 
~/.guix-profile/etc/xdg/awesome/rc.lua (if it's installed as a 
user package), or 
/run/current-system/profile/etc/xdg/awesome/rc.lua (if it's 
installed as a system package).

> My second question is what is the long term plan for integrating 
> window managers with guixSD?  Should be turn all window manager 
> packages into services? ...

I don't think we need to do this. As long as they work (and are 
picked up by DMs) when installed as a package, I think that's 
sufficient. I actually don't even have Awesome installed as a 
system package - I install it as a user package and configure my 
DE (xfce, which is installed as a system package) to start Awesome 
from my user profile.

Carlo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-04 22:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-04 12:22 awesome window manager configuration Joshua Branson
2019-01-04 22:44 ` Carlo Zancanaro

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).