gammastep distrobox -> nix

This commit is contained in:
John Mertz 2023-07-20 15:44:13 -04:00
parent 558b0e616d
commit aeffca21f0
1 changed files with 1 additions and 5 deletions

View File

@ -24,11 +24,7 @@ unless ($pid) {
open STDOUT, '>>/dev/null';
open STDERR, '>>/dev/null';
if (! -e "/run/.containerenv" && ! -e "/.dockerenv" ) {
exec "exec /bin/distrobox-enter -n debian12 -- gammastep -l $lat_lon -b 0.7:0.3";
} else {
exec "exec gammastep -l $lat_lon -b 0.7:0.3";
}
exec "exec $ENV{HOME}/.dotfiles/nix/bin/gammastep -l $lat_lon -b 0.7:0.3";
}
sub fetch_lat_lon