nixos icon indicating copy to clipboard operation
nixos copied to clipboard

Added oneko module

Open ALinkbetweenNets opened this issue 2 years ago • 3 comments

note: the module might not work properly under wayland

ALinkbetweenNets avatar Nov 05 '23 21:11 ALinkbetweenNets

Good news: starting

oneko

from the CLI works flawlessly. What does not work:

systemctl --user start oneko.service 
systemctl --user status oneko.service  
× oneko.service - oneko
     Loaded: loaded (/etc/systemd/user/oneko.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Mon 2023-12-25 10:01:20 CET; 3s ago
   Duration: 1ms
    Process: 85059 ExecStart=/nix/store/anzkyirswlx7q5zibhk45vah5y94ag3w-oneko-1.2.6/bin/oneko -sakura (code=exited, status=1/FAILURE)
   Main PID: 85059 (code=exited, status=1/FAILURE)
        CPU: 1ms

Dez 25 10:01:20 daisy systemd[2291]: Started oneko.
Dez 25 10:01:20 daisy systemd[2291]: oneko.service: Main process exited, code=exited, status=1/FAILURE
Dez 25 10:01:20 daisy systemd[2291]: oneko.service: Failed with result 'exit-code'.

I'm using Sway. Any ideas?

MayNiklas avatar Dec 25 '23 09:12 MayNiklas

A change to the systemd unit might help, though in all my tests oneko did not run under wayland. Ill update the module as soon as possible

It might have to do with the way Display variables work under Wayland. I will play around with it once I find time for it.

ALinkbetweenNets avatar Dec 25 '23 09:12 ALinkbetweenNets

This might make the service autostart correctly

ALinkbetweenNets avatar Dec 25 '23 13:12 ALinkbetweenNets