Skip to content

Instantly share code, notes, and snippets.

@LnL7
Created November 3, 2017 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LnL7/b33296649c0a0a0c8d8d02474feee18f to your computer and use it in GitHub Desktop.
Save LnL7/b33296649c0a0a0c8d8d02474feee18f to your computer and use it in GitHub Desktop.
{ config, lib, pkgs, ... }:
{
services.xserver.windowManager.i3.enable = true;
services.xserver.windowManager.i3.configFile = "/etc/i3.conf";
environment.etc."i3.conf".text = pkgs.callPackage ./i3-config.nix {};
}
{ dmenu, i3status }:
''
...
# start dmenu (a program launcher)
bindsym $mod+d exec ${dmenu}/bin/dmenu_run
''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment