Add dwm window manager with some initial patches
- Set Mod4 as the mod key and Alacritty as the termcmd. - Add a patch from suckless.org to hide any vacant tags. - https://dwm.suckless.org/patches/hide_vacant_tags
This commit is contained in:
parent
e66af807b3
commit
4461ad3ca4
8 changed files with 172 additions and 6 deletions
|
@ -1,11 +1,10 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./dwm.nix
|
||||
./interception-tools.nix
|
||||
./sound.nix
|
||||
./xserver.nix
|
||||
./udev.nix
|
||||
./xserver.nix
|
||||
];
|
||||
|
||||
services = {
|
||||
|
|
27
nix/hosts/t490/services/dwm.nix
Normal file
27
nix/hosts/t490/services/dwm.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services = {
|
||||
dwm-status = {
|
||||
enable = true;
|
||||
|
||||
order = [
|
||||
"audio"
|
||||
"backlight"
|
||||
"battery"
|
||||
"cpu_load"
|
||||
"network"
|
||||
"time"
|
||||
];
|
||||
};
|
||||
|
||||
xserver.windowManager.dwm.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
dmenu
|
||||
dmenu-bluetooth
|
||||
networkmanager_dmenu
|
||||
st
|
||||
];
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, ... }:
|
||||
{ inputs, self, ... }:
|
||||
|
||||
{
|
||||
additions =
|
||||
|
@ -9,7 +9,15 @@
|
|||
pkgs = final;
|
||||
};
|
||||
|
||||
modifications = final: prev: { };
|
||||
modifications = final: prev: {
|
||||
dwm = prev.dwm.override {
|
||||
patches = [
|
||||
"${self}/patches/dwm/change-mod-key.patch"
|
||||
"${self}/patches/dwm/change-termcmd.patch"
|
||||
"${self}/patches/dwm/dwm-hide_vacant_tags-6.4.diff"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
stable-packages = final: _prev: {
|
||||
nixpkgs-2405 = import inputs.nixpkgs-2405 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue