Commit ee4a4478 authored by derandere's avatar derandere 🤗
Browse files

recover the old tmuxp with pr0get systemd service

parent f6967d0d
......@@ -53,7 +53,7 @@
memoryPercent = 100;
};
environment.systemPackages = with pkgs; [ colmena ];
environment.systemPackages = with pkgs; [ colmena lm_sensors ];
programs.vim.defaultEditor = true;
environment.sessionVariables.PAN_MESA_DEBUG = "gl3";
......@@ -77,6 +77,15 @@
#programs.bash.enable = true;
programs.tmux.enable = true;
programs.ncmpcpp.enable = true;
programs.foot = {
enable = true;
settings = {
main = {
term = "xterm-256color";
font = "Fira Code:size=18";
};
};
};
services.mpd.enable = true;
wayland.windowManager.sway = {
enable = true;
......@@ -85,7 +94,7 @@
modifier = "Mod4";
bars = [];
startup = [
{ command = "${pkgs.foot}/bin/foot -F tmux new-session -s screen"; }
{ command = "${pkgs.foot}/bin/foot tmuxp load -y start"; }
];
};
};
......@@ -99,7 +108,7 @@
# }
#'';
};
home.packages = with pkgs; [ mpv youtubeDL pulsemixer ];
home.packages = with pkgs; [ mpv youtubeDL pulsemixer cmatrix tmuxp ];
};
# Enable GPU acceleration
......@@ -160,6 +169,7 @@
userServices = true;
};
};
systemd.user.services.librespot = {
wantedBy = [ "default.target" ];
serviceConfig = {
......@@ -179,4 +189,15 @@
Restart = "always";
};
};
systemd.services.pr0get = {
wantedBy = [ "multi-user.target" ];
path = with pkgs; [
bash curl jq
];
serviceConfig = {
User = "lounge";
ExecStart = ''/home/lounge/pr0get/pr0get.sh -d /home/lounge/pr0get/video -l 84 -c "pkill mpv" video'';
};
};
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment