move more modules to home
This commit is contained in:
parent
9f0cee2627
commit
f893e3b8e2
18 changed files with 443 additions and 484 deletions
|
|
@ -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";}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue