[remEYEnder] Add icon
This commit is contained in:
parent
dc8fa78220
commit
5fdf52e0dc
4 changed files with 9940 additions and 2 deletions
Binary file not shown.
|
@ -2,8 +2,10 @@
|
|||
|
||||
let
|
||||
cfg = config.sisyphus.services.remEYEnder;
|
||||
|
||||
icon = ./vecteezy_eyes-line-icon-vector-isolated_13932670.jpg;
|
||||
in {
|
||||
option.sisyphus.services.remEYEnder.enable = lib.mkEnableOption "Eye reminder";
|
||||
options.sisyphus.services.remEYEnder.enable = lib.mkEnableOption "Eye reminder";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
systemd.user = {
|
||||
|
@ -13,7 +15,7 @@ in {
|
|||
serviceConfig.Type = "oneshot";
|
||||
script = ''
|
||||
# Display reminder for 20 seconds.
|
||||
${pkgs.libnotify}/bin/notify-send -t 20000 "RemEYEnder" "Look away from your screen :)"
|
||||
${pkgs.libnotify}/bin/notify-send -t 20000 --icon=${icon} "RemEYEnder" "Look away from your screen :)"
|
||||
'';
|
||||
};
|
||||
timers.remEYEnder = {
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
After Width: | Height: | Size: 97 KiB |
Loading…
Reference in a new issue