resurrect #8

Merged
deepak merged 7 commits from resurrect into master 2025-09-16 17:23:52 +00:00
4 changed files with 30 additions and 6 deletions
Showing only changes of commit f5991b9df0 - Show all commits

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# Notify with tmux?
message="Break done"
echo "sth"
echo "$message"
tmux display-popup -T "uair" "echo -e \"$message\""

View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Notify with tmux?
message="
$1
exit with ctrl-C, resume next with uairctl
"
echo "sth"
echo "$message"
tmux display-popup -T "uair" "echo -e \"$message\""

View File

@@ -8,12 +8,12 @@ resumed_state_text = "playing"
[[sessions]]
id = "work"
name = "Work"
duration = "30m"
command = "notify-send 'Work Done!'"
duration = "10m"
command = '~/.config/uair/scripts/notify.sh "Work Done!"'
[[sessions]]
id = "rest"
name = "Rest"
duration = "5m"
command = "notify-send 'Rest Done!'"
duration = "2m"
command = "~/.config/uair/scripts/break.sh"

View File

@@ -101,7 +101,7 @@ in
programs.direnv.nix-direnv.enable = true;
xdg.enable = true;
xdg.configFile."uair/uair.toml".source = ./config/uair.toml;
xdg.configFile."uair".source = ./config/uair;
services.nextcloud-client = pkgs.lib.mkIf specialArgs.withGUI {
enable = true;
@@ -404,7 +404,7 @@ in
Restart = "always";
};
Install = {
WantedBy = ["default.target"];
WantedBy = [ "default.target" ];
};
};
};