move more modules to home

This commit is contained in:
Tristan 2024-01-05 20:59:06 +00:00
parent 9f0cee2627
commit f893e3b8e2
18 changed files with 443 additions and 484 deletions

View file

@ -4,7 +4,7 @@
lib,
...
}: let
terminal = config.programs.terminal.package;
terminal = config.programs.terminal;
termcmd = "${terminal}/bin/${terminal.pname}";
my-deps = {
notify-send = "${pkgs.libnotify}/bin/notify-send";
@ -13,7 +13,6 @@
slurp = "${pkgs.slurp}/bin/slurp";
amixer = "${pkgs.alsa-utils}/bin/amixer";
swaybg = "${pkgs.swaybg}/bin/swaybg";
terminal = "${pkgs.foot}/bin/foot";
chafa = "${pkgs.chafa}/bin/chafa";
exiftool = "${pkgs.exiftool}/bin/exiftool";
wc = "${pkgs.coreutils}/bin/wc";
@ -159,7 +158,7 @@ in {
(lib.mkIf config.roles.mpd.enable {
name = "ncmpcpp";
text = ''
${my-deps.terminal} -e ncmpcpp
${termcmd} -e ncmpcpp
'';
hotkeys = [
{
@ -270,7 +269,7 @@ in {
}
{
name = "terminal";
text = my-deps.terminal;
text = termcmd;
hotkeys = [
{key = "RETURN";}
];