Qtile: Difference between revisions

imported>Wingej0
No edit summary
Jooooscha (talk | contribs)
m Change link of qtile.org from http to https. Also, remove the www
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[http://www.qtile.org/ Qtile]  is a full-featured, hackable tiling window manager written and configured in Python.
[https://qtile.org/ Qtile]  is a full-featured, hackable tiling window manager written and configured in Python.


== Enabling ==
== Enabling ==


To enable Qtile as your windowManager, set: <code>services.xserver.windowManager.qtile.enable</code> to <code>true</code>. For example:
To enable Qtile as your window manager, set <code>services.xserver.windowManager.qtile.enable = true</code>. For example:


{{file|/etc/nixos/configuration.nix|nix|
{{file|/etc/nixos/configuration.nix|nix|}}
<nowiki>
<syntaxhighlight lang="nix">
{ config, pkgs, ... }:
{
  ...
  imports =
    [ # Include the results of the hardware scan.
      ./hardware-configuration.nix
      # For wayland support see the following config
      ./qtile.nix
    ];
   services.xserver.windowManager.qtile.enable = true;
   services.xserver.windowManager.qtile.enable = true;
  ...
}
}
</nowiki>
</syntaxhighlight>To start Qtile on Wayland from your display manager (sddm, lightdm, etc) you have to add a Desktop Entry to your config like this.{{file|/etc/nixos/qtile.nix|nix|}}
}}
<syntaxHighlight lang=nix>
 
{{file|/etc/nixos/qtile.nix|nix|
<nowiki>
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, ... }:


Line 49: Line 38:
services.xserver.displayManager.sessionPackages = [ pkgs.qtile-unwrapped ];
services.xserver.displayManager.sessionPackages = [ pkgs.qtile-unwrapped ];
}
}
</nowiki>
</syntaxHighlight>
}}
 
Please note, the wiki renders the greater than sign in the code above with the HTML code & followed by gt;.  It needs to be the actual symbol ">" not the HTML code, ie. echo "${qtileSession}" > $out/share/wayland-sessions/qtile.desktop


== Warning ==
== Warning ==