Group desktop modules
Some checks are pending
/ check (push) Waiting to run

This commit is contained in:
Oliver Davies 2025-11-22 14:33:48 +00:00
parent 7aaf90bc75
commit 278904eec6
56 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,11 @@
{
flake.modules.homeManager.gui =
{ config, ... }:
{
home = {
file."${config.home.sessionVariables.XINITRC}".source = ./xinitrc;
sessionVariables.XINITRC = "${config.xdg.configHome}/X11/xinitrc";
};
};
}

View file

@ -0,0 +1,14 @@
diff --git a/dmenu.c b/dmenu.c
index fd49549..e9e2648 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -757,6 +757,8 @@ main(int argc, char *argv[])
colors[SchemeSel][ColFg] = argv[++i];
else if (!strcmp(argv[i], "-w")) /* embedding window id */
embed = argv[++i];
+ else if (!strcmp(argv[i], "-c"))
+ continue;
else
usage();

View file

@ -0,0 +1,20 @@
{
flake.modules.nixos.pc =
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
(dmenu.override {
patches = [
./dmenu-center-noop.patch
];
})
dmenu-bluetooth
dunst
networkmanager_dmenu
poweralertd
slock
xdotool
];
};
}

View file

@ -0,0 +1,12 @@
systemctl --user import-environment DISPLAY
poweralertd -s &
dwmblocks &
gammastep &
sxhkd &
export GPG_TTY=$(tty)
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpg-connect-agent updatestartuptty /bye
exec dwm