rm pointless comments

This commit is contained in:
cnst
2024-10-22 19:16:59 +02:00
parent 1afd9d85fa
commit 7a1b90bb91

View File

@@ -9,53 +9,50 @@
inherit (builtins) readFile; inherit (builtins) readFile;
in { in {
home = { home = {
# Ensure the scripts are linked in the session PATH
sessionPath = ["${config.home.homeDirectory}/.local/bin"]; sessionPath = ["${config.home.homeDirectory}/.local/bin"];
# Link the pavucontrol script to the local PATH
file = { file = {
".local/bin/pavucontrol-toggle.sh" = { ".local/bin/pavucontrol-toggle.sh" = {
source = getExe (pkgs.writeShellApplication { source = getExe (pkgs.writeShellApplication {
name = "pavucontrol-toggle"; name = "pavucontrol-toggle";
runtimeInputs = with pkgs; [hyprland]; # Add any required runtime dependencies here runtimeInputs = with pkgs; [hyprland];
text = readFile ./bin/pavucontrol-toggle.sh; # Path to your pavucontrol.sh script text = readFile ./bin/pavucontrol-toggle.sh;
}); });
}; };
".local/bin/tuirun-toggle.sh" = { ".local/bin/tuirun-toggle.sh" = {
source = getExe (pkgs.writeShellApplication { source = getExe (pkgs.writeShellApplication {
name = "tuirun-toggle"; name = "tuirun-toggle";
runtimeInputs = with pkgs; [hyprland]; # Add any required runtime dependencies here runtimeInputs = with pkgs; [hyprland];
text = readFile ./bin/tuirun-toggle.sh; # Path to your tuirun-toggle.sh script text = readFile ./bin/tuirun-toggle.sh;
}); });
}; };
".local/bin/tuirun-debug.sh" = { ".local/bin/tuirun-debug.sh" = {
source = getExe (pkgs.writeShellApplication { source = getExe (pkgs.writeShellApplication {
name = "tuirun-debug"; name = "tuirun-debug";
runtimeInputs = with pkgs; [hyprland]; # Add any required runtime dependencies here runtimeInputs = with pkgs; [hyprland];
text = readFile ./bin/tuirun-debug.sh; # Path to your tuirun-toggle.sh script text = readFile ./bin/tuirun-debug.sh;
}); });
}; };
".local/bin/calcurse-toggle.sh" = { ".local/bin/calcurse-toggle.sh" = {
source = getExe (pkgs.writeShellApplication { source = getExe (pkgs.writeShellApplication {
name = "calcurse-toggle"; name = "calcurse-toggle";
runtimeInputs = with pkgs; [hyprland]; # Add any required runtime dependencies here runtimeInputs = with pkgs; [hyprland];
text = readFile ./bin/calcurse-toggle.sh; # Path to your calcurse-toggle.sh script text = readFile ./bin/calcurse-toggle.sh;
}); });
}; };
".local/bin/volume-control.sh" = { ".local/bin/volume-control.sh" = {
source = getExe (pkgs.writeShellApplication { source = getExe (pkgs.writeShellApplication {
name = "volume-control"; name = "volume-control";
runtimeInputs = with pkgs; [pamixer libnotify]; # Add any required runtime dependencies here runtimeInputs = with pkgs; [pamixer libnotify];
text = readFile ./bin/volume-control.sh; # Path to your volume-control.sh script text = readFile ./bin/volume-control.sh;
}); });
}; };
".local/bin/extract.sh" = { ".local/bin/extract.sh" = {
# Stolen from NotAShelf
source = getExe (pkgs.writeShellApplication { source = getExe (pkgs.writeShellApplication {
name = "extract"; name = "extract";
runtimeInputs = with pkgs; [zip unzip gnutar p7zip]; runtimeInputs = with pkgs; [zip unzip gnutar p7zip];